diff --git a/wp-admin/site-editor.php b/wp-admin/site-editor.php index 508ecd3122..1e5ba4f87c 100644 --- a/wp-admin/site-editor.php +++ b/wp-admin/site-editor.php @@ -62,7 +62,7 @@ $preload_paths = array( '/wp/v2/block-navigation-areas?context=edit', ); -$areas = get_option( 'fse_navigation_areas', array() ); +$areas = get_option( 'wp_navigation_areas', array() ); $active_areas = array_intersect_key( $areas, get_navigation_areas() ); foreach ( $active_areas as $post_id ) { if ( $post_id ) { diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index e37090994e..10a67666f7 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' => '9c16bbcaf33be354f8441e70889ef026'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'be09e28fc555e4078ceb084abfe19a2a'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'f65b5121c560404ee27901f6778c0a7f'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9026a2ac95031fd794ea684e4c3d7c98'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4eca38a62df5f0145a5f1a78858581e7'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '9d9f0668a12d2e31b47b0d7614022bcc'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', '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-warning', 'wp-wordcount'), 'version' => '85e044d8399d0feb4dfe8ebef40cc835'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', '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-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'cc87da82ab01ceb4c513bfe6aef6953d'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2fc6dec19af6d4c5e5fec8f6fdc1a10b'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '1d4a5094380871c9d4f040cde2550b7b'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', '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' => 'd2a3ec343d9115dc64c51106d3febdff'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '897f03a74ce499d3aa58130be18a1850'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'afd7ce5d939f8577e517423fb182a9e3'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => '4b0be21d84184e97dbf52553f27489d8'), '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' => '77a74002a4c73ebb148c81338d26d31d'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '2172a4e883a68f61e2c16cd4c1ab8396'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '3875550ecc1e6622255f5a42e5a159ce'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '932d8bb37da8bbb396a7a3f754345e08'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '50dc1f3eb0cd526124881848f1e8c3ba'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '71883072590656bf22c74c7b887df3dd'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', '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' => 'e040d31db6a8a1d57e80f5bd6359ab0d'), 'edit-site.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'), 'version' => 'a3bccff561b85fa755ae0240c035b6dd'), 'edit-widgets.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-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'c268f397fd895f6ea901a72798215d68'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', '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-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '758f04204c28e8007ad70198d7ffe8f1'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '1c1c2ad240717ef0caa95859a0bfe4fd'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ce66e0f9acf6802317399656243ffbc4'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '6497f699850416cce8fa09d5d2fad978'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2437e192b4f399511760e7dbf29ff1ff'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '544a76db37139ce991197ce1c0e8a601'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'bae7db139caad41e39fb25e2e32ea5d8'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '77450ab7b4e5185ab453093061332216'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '6043822924925984ca7724746a3c5a90'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '072572e1d3daf95406e165e8aa6bae9a'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bac2db623e5344b1f1be759637fcb1c6'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'f73b0369f82936335b6f1603bffd44b6'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '8014226ac714bfd6036616e952668706'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'e506c576c92097e4e87675a53bfe41f3'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '1bd979add5fda70a5cadf743372802f1'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '64f524f98d57bd28a6521ab72f6a1a92'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8800e995455b762f0853c3b3abee6781'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '213d3396514330dffae91fd28113ceaa'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '9f476c43dc21e01a507ea29d71b8fc1a'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => 'a5b28047cf5c658c9007bb653b693c28'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '778cdbb5aca185a5de34d3105d55f957'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '2a9aed2fe14dbfef6bfe0e16d7e52877'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '8b469ac4dbdd98f2e20e65bce5b471db'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '2b32cf674084343be5f15426089cc939'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'dc5c8745e4f9e59d9468b7bddded981c'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1f17121f9d6d7d4961e1345d847b2122'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '732bd7fc531db1e8836411fb739f1578'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7ddc7bd4fd5ec46d67da6bce16f7f00d')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '68e470cf840f69530e9db3be229ad4b6'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '4577cbc5ad83a088a932c6e1e893ec91'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '10344e1c9c8c8e297682c94866012479'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e5e1c1378bcb34e073986566ac756500'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4eca38a62df5f0145a5f1a78858581e7'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '2137779e33537ab382ce88d4200b7971'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', '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-warning', 'wp-wordcount'), 'version' => '0dc5a1e4554207ac970438613fd9bb8a'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', '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-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'bf2617cc2d723efd408695749cbe6ef7'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2fc6dec19af6d4c5e5fec8f6fdc1a10b'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a271f004171b9e06245f8bb29351a6fa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', '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' => 'aa86ff7e39f5bf46b47b39803b56b820'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '9e508373c292ce14badd3c5ccb44c0b1'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '784d9065e70823ac54d066f84db0573c'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'fb6aebcbc55a77fa5e5e66d591bbd484'), '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' => '4fac6e418cd5338785ff0cb9226e9c8c'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '8f1ca4c9b8ce97569364f3595781e718'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'a9a5af167fc60fa1bfda62582a7beb3c'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '8778985ac0dfb16f24f8ef86d0718f43'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '12f14a10a9c120ca1edba84154dad4f3'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ecda74de0221e1c2ce5c57cbb5af09d5'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', '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' => '77c3da30f7b70fd14fdb5ea94a1c83dd'), 'edit-site.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'), 'version' => 'e3f76173211f8aed169ba4e7af9b1ff5'), 'edit-widgets.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-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '12a16762202fa6d4277f624759b99e64'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', '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-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => 'a24767accd1af44ce2c933493443af3c'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '4447e589471b28cf25ca898d6ae087c7'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ce66e0f9acf6802317399656243ffbc4'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '62b609ad8a27172c676195c9ffdbe1fb'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e58c8c5a32b2e97491080c5b10dc71c'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '544a76db37139ce991197ce1c0e8a601'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '30fcecb428a0e8383d3776bcdd3a7834'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '77450ab7b4e5185ab453093061332216'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '298d22d82b81d880e417b163103385b2'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'dd9e0226169437b486eb249c12bee685'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '8afce123c33028d35f4f3f6f5f362e64'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '372e88c6ca81d3924557b80fab015f4c'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'cf94c1f94d5faf9b06e85c5a28ab04f5'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '422c841be68706df22e50bb47fd4c985'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'f9fed5b822caa7f8992dac02ecc9e277'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '31ccba505ebf4a66b299970fad62423c'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8800e995455b762f0853c3b3abee6781'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f2016f404fbc2c831239953e37cc686c'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '99d31c8d7efe2794dc4d442151544f7d'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '1aa821d6c272441c6bb648f375476d34'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '779ffb87c3246c369bc04a2b7dd65260'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '4a4ce92be6f36552f40dd90daf6513ae'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'fc8e191d76fd4359f189fe3d80f0a073'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7e42f64f97406e512e72ce6385f5b549'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'cd5d3041931d25d5c665aaf0391b41cc'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1f17121f9d6d7d4961e1345d847b2122'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '43f19c12b63ecd4fdc9f9349fbece2f8'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7ddc7bd4fd5ec46d67da6bce16f7f00d')); \ No newline at end of file diff --git a/wp-includes/block-supports/layout.php b/wp-includes/block-supports/layout.php index 54492cbf26..5f1230f22e 100644 --- a/wp-includes/block-supports/layout.php +++ b/wp-includes/block-supports/layout.php @@ -222,7 +222,7 @@ add_filter( 'render_block', 'wp_render_layout_support_flag', 10, 2 ); function wp_restore_group_inner_container( $block_content, $block ) { $tag_name = isset( $block['attrs']['tagName'] ) ? $block['attrs']['tagName'] : 'div'; $group_with_inner_container_regex = sprintf( - '/(^\s*<%1$s\b[^>]*wp-block-group(\s|")[^>]*>)(\s*]*wp-block-group__inner-container(\s|")[^>]*>)((.|\S|\s)*)/', + '/(^\s*<%1$s\b[^>]*wp-block-group(\s|")[^>]*>)(\s*]*wp-block-group__inner-container(\s|")[^>]*>)((.|\S|\s)*)/U', preg_quote( $tag_name, '/' ) ); diff --git a/wp-includes/blocks/calendar.php b/wp-includes/blocks/calendar.php index 9f3f8c48d3..28eba2afcd 100644 --- a/wp-includes/blocks/calendar.php +++ b/wp-includes/blocks/calendar.php @@ -107,47 +107,51 @@ function block_core_calendar_update_has_published_posts() { return $has_published_posts; } -// We only want to register these functions and actions when -// we are on single sites. On multi sites we use `post_count` option. -if ( ! is_multisite() ) { - /** - * Handler for updating the has published posts flag when a post is deleted. - * - * @param int $post_id Deleted post ID. - */ - function block_core_calendar_update_has_published_post_on_delete( $post_id ) { - $post = get_post( $post_id ); - - if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) { - return; - } - - block_core_calendar_update_has_published_posts(); +/** + * Handler for updating the has published posts flag when a post is deleted. + * + * @param int $post_id Deleted post ID. + */ +function block_core_calendar_update_has_published_post_on_delete( $post_id ) { + if ( is_multisite() ) { + return; } - /** - * Handler for updating the has published posts flag when a post status changes. - * - * @param string $new_status The status the post is changing to. - * @param string $old_status The status the post is changing from. - * @param WP_Post $post Post object. - */ - function block_core_calendar_update_has_published_post_on_transition_post_status( $new_status, $old_status, $post ) { - if ( $new_status === $old_status ) { - return; - } + $post = get_post( $post_id ); - if ( 'post' !== get_post_type( $post ) ) { - return; - } - - if ( 'publish' !== $new_status && 'publish' !== $old_status ) { - return; - } - - block_core_calendar_update_has_published_posts(); + if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) { + return; } - add_action( 'delete_post', 'block_core_calendar_update_has_published_post_on_delete' ); - add_action( 'transition_post_status', 'block_core_calendar_update_has_published_post_on_transition_post_status', 10, 3 ); + block_core_calendar_update_has_published_posts(); } + +/** + * Handler for updating the has published posts flag when a post status changes. + * + * @param string $new_status The status the post is changing to. + * @param string $old_status The status the post is changing from. + * @param WP_Post $post Post object. + */ +function block_core_calendar_update_has_published_post_on_transition_post_status( $new_status, $old_status, $post ) { + if ( is_multisite() ) { + return; + } + + if ( $new_status === $old_status ) { + return; + } + + if ( 'post' !== get_post_type( $post ) ) { + return; + } + + if ( 'publish' !== $new_status && 'publish' !== $old_status ) { + return; + } + + block_core_calendar_update_has_published_posts(); +} + +add_action( 'delete_post', 'block_core_calendar_update_has_published_post_on_delete' ); +add_action( 'transition_post_status', 'block_core_calendar_update_has_published_post_on_transition_post_status', 10, 3 ); diff --git a/wp-includes/blocks/navigation.php b/wp-includes/blocks/navigation.php index bbaa8794be..6ef8759057 100644 --- a/wp-includes/blocks/navigation.php +++ b/wp-includes/blocks/navigation.php @@ -147,7 +147,7 @@ function render_block_core_navigation( $attributes, $content, $block ) { if ( ! empty( $block->context['navigationArea'] ) ) { $area = $block->context['navigationArea']; - $mapping = get_option( 'fse_navigation_areas', array() ); + $mapping = get_option( 'wp_navigation_areas', array() ); if ( ! empty( $mapping[ $area ] ) ) { $attributes['navigationMenuId'] = $mapping[ $area ]; } @@ -179,12 +179,24 @@ function render_block_core_navigation( $attributes, $content, $block ) { if ( empty( $inner_blocks ) ) { return ''; } + + // Restore legacy classnames for submenu positioning. + $layout_class = ''; + if ( isset( $attributes['layout']['justifyContent'] ) ) { + if ( 'right' === $attributes['layout']['justifyContent'] ) { + $layout_class .= 'items-justified-right'; + } elseif ( 'space-between' === $attributes['layout']['justifyContent'] ) { + $layout_class .= 'items-justified-space-between'; + } + } + $colors = block_core_navigation_build_css_colors( $attributes ); $font_sizes = block_core_navigation_build_css_font_sizes( $attributes ); $classes = array_merge( $colors['css_classes'], $font_sizes['css_classes'], - $is_responsive_menu ? array( 'is-responsive' ) : array() + $is_responsive_menu ? array( 'is-responsive' ) : array(), + $layout_class ? array( $layout_class ) : array() ); $inner_blocks_html = ''; diff --git a/wp-includes/blocks/navigation/editor-rtl.css b/wp-includes/blocks/navigation/editor-rtl.css index b12cbf7f5e..aa91292350 100644 --- a/wp-includes/blocks/navigation/editor-rtl.css +++ b/wp-includes/blocks/navigation/editor-rtl.css @@ -278,7 +278,7 @@ flex-wrap: nowrap; flex: 0; } -.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { +.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { display: none; } @@ -301,62 +301,48 @@ .wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls { display: flex; } -.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { flex-direction: column; } -.is-selected.is-vertical .wp-block-navigation-placeholder__controls { - display: inline-flex; - padding: 12px; +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr { + display: none; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon { margin-left: 12px; height: 36px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-left: 12px; - padding: 0; + display: flex; + padding: 0 0 0 6px; align-items: center; justify-content: flex-start; line-height: 0; - margin-right: 5px; - display: none; + min-height: 36px; + margin-right: 4px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg { margin-left: 4px; } -.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-bottom: 4px; - margin-right: 0; -} -.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - display: inline-flex; -} - -.is-vertical .wp-block-navigation-placeholder, -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - min-height: 156px; -} - -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - flex-direction: column; - align-items: flex-start; -} .wp-block-navigation-placeholder__actions { display: flex; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} -.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon { - padding: 6px 12px 6px 4px; - display: flex; - flex-direction: row-reverse; + gap: 6px; + height: 100%; } .wp-block-navigation-placeholder__actions .components-dropdown, .wp-block-navigation-placeholder__actions > .components-button { - margin-left: 12px; + margin-left: 0; +} +.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr { + border: 0; + min-height: 1px; + min-width: 1px; + background-color: #1e1e1e; + margin: auto 0; + height: 100%; + max-height: 16px; } /** diff --git a/wp-includes/blocks/navigation/editor-rtl.min.css b/wp-includes/blocks/navigation/editor-rtl.min.css index 2623260d8e..5216e45c47 100644 --- a/wp-includes/blocks/navigation/editor-rtl.min.css +++ b/wp-includes/blocks/navigation/editor-rtl.min.css @@ -1 +1 @@ -.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-right:revert;margin-left:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:right;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-left:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-right:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-left:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-right:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px 6px 4px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:12px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;right:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{right:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{left:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{right:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;left:0;bottom:0;right:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);right:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px} \ No newline at end of file +.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-right:revert;margin-left:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:right;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:flex;padding:0 0 0 6px;align-items:center;justify-content:flex-start;line-height:0;min-height:36px;margin-right:4px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-left:4px}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;gap:6px;height:100%}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:0}.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{border:0;min-height:1px;min-width:1px;background-color:#1e1e1e;margin:auto 0;height:100%;max-height:16px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;right:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{right:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{left:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{right:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;left:0;bottom:0;right:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);right:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/editor.css b/wp-includes/blocks/navigation/editor.css index cd28a3066b..e93fd8acad 100644 --- a/wp-includes/blocks/navigation/editor.css +++ b/wp-includes/blocks/navigation/editor.css @@ -278,7 +278,7 @@ flex-wrap: nowrap; flex: 0; } -.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { +.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { display: none; } @@ -301,62 +301,48 @@ .wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls { display: flex; } -.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { flex-direction: column; } -.is-selected.is-vertical .wp-block-navigation-placeholder__controls { - display: inline-flex; - padding: 12px; +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr { + display: none; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon { margin-right: 12px; height: 36px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-right: 12px; - padding: 0; + display: flex; + padding: 0 6px 0 0; align-items: center; justify-content: flex-start; line-height: 0; - margin-left: 5px; - display: none; + min-height: 36px; + margin-left: 4px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg { margin-right: 4px; } -.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-bottom: 4px; - margin-left: 0; -} -.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - display: inline-flex; -} - -.is-vertical .wp-block-navigation-placeholder, -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - min-height: 156px; -} - -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - flex-direction: column; - align-items: flex-start; -} .wp-block-navigation-placeholder__actions { display: flex; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} -.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon { - padding: 6px 4px 6px 12px; - display: flex; - flex-direction: row-reverse; + gap: 6px; + height: 100%; } .wp-block-navigation-placeholder__actions .components-dropdown, .wp-block-navigation-placeholder__actions > .components-button { - margin-right: 12px; + margin-right: 0; +} +.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr { + border: 0; + min-height: 1px; + min-width: 1px; + background-color: #1e1e1e; + margin: auto 0; + height: 100%; + max-height: 16px; } /** diff --git a/wp-includes/blocks/navigation/editor.min.css b/wp-includes/blocks/navigation/editor.min.css index 6f331b3305..ff1b276727 100644 --- a/wp-includes/blocks/navigation/editor.min.css +++ b/wp-includes/blocks/navigation/editor.min.css @@ -1 +1 @@ -.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-left:revert;margin-right:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:left;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-right:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-left:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-right:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-left:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 4px 6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:12px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;left:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{left:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{right:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{left:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;right:0;bottom:0;left:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);left:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px} \ No newline at end of file +.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-left:revert;margin-right:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:left;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:flex;padding:0 6px 0 0;align-items:center;justify-content:flex-start;line-height:0;min-height:36px;margin-left:4px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-right:4px}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;gap:6px;height:100%}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:0}.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{border:0;min-height:1px;min-width:1px;background-color:#1e1e1e;margin:auto 0;height:100%;max-height:16px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;left:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{left:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{right:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{left:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;right:0;bottom:0;left:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);left:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/style-rtl.css b/wp-includes/blocks/navigation/style-rtl.css index c33e97c79d..ded99d620a 100644 --- a/wp-includes/blocks/navigation/style-rtl.css +++ b/wp-includes/blocks/navigation/style-rtl.css @@ -244,14 +244,21 @@ /** * Justifications. */ -@media (min-width: 782px) { - .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container { - right: auto; - left: 0; - } + right: auto; + left: 0; +} +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { + right: -1px; + left: -1px; +} +@media (min-width: 782px) { .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, @@ -260,6 +267,7 @@ left: 100%; } } + .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container { background-color: #fff; color: #000; @@ -364,7 +372,7 @@ display: block; width: 100%; position: relative; - z-index: 2; + z-index: auto; background-color: inherit; } .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close { diff --git a/wp-includes/blocks/navigation/style-rtl.min.css b/wp-includes/blocks/navigation/style-rtl.min.css index f1c0a87574..26b54e463a 100644 --- a/wp-includes/blocks/navigation/style-rtl.min.css +++ b/wp-includes/blocks/navigation/style-rtl.min.css @@ -1 +1 @@ -.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-right:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;right:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{right:auto;left:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:auto;left:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;right:0;left:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-right:32px;padding-left:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:2;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;left:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden} \ No newline at end of file +.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-right:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;right:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{right:auto;left:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:-1px;left:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:auto;left:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;right:0;left:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-right:32px;padding-left:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:auto;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;left:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/style.css b/wp-includes/blocks/navigation/style.css index 8851572b1d..adea3683aa 100644 --- a/wp-includes/blocks/navigation/style.css +++ b/wp-includes/blocks/navigation/style.css @@ -244,14 +244,21 @@ /** * Justifications. */ -@media (min-width: 782px) { - .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container { - left: auto; - right: 0; - } + left: auto; + right: 0; +} +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { + left: -1px; + right: -1px; +} +@media (min-width: 782px) { .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, @@ -260,6 +267,7 @@ right: 100%; } } + .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container { background-color: #fff; color: #000; @@ -364,7 +372,7 @@ display: block; width: 100%; position: relative; - z-index: 2; + z-index: auto; background-color: inherit; } .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close { diff --git a/wp-includes/blocks/navigation/style.min.css b/wp-includes/blocks/navigation/style.min.css index 7714e123a2..ef831d2daa 100644 --- a/wp-includes/blocks/navigation/style.min.css +++ b/wp-includes/blocks/navigation/style.min.css @@ -1 +1 @@ -.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-left:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;left:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-right:0;margin-left:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;right:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;left:0;right:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-left:32px;padding-right:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:auto;left:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:2;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;right:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden} \ No newline at end of file +.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-left:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;left:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-right:0;margin-left:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;right:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:-1px;right:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;left:0;right:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-left:32px;padding-right:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:auto;left:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:auto;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;right:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index dcd5db5efc..8e0b0e1074 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -1359,7 +1359,7 @@ figure.wp-block-image:not(.wp-block) { flex-wrap: nowrap; flex: 0; } -.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { +.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { display: none; } @@ -1382,62 +1382,48 @@ figure.wp-block-image:not(.wp-block) { .wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls { display: flex; } -.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { flex-direction: column; } -.is-selected.is-vertical .wp-block-navigation-placeholder__controls { - display: inline-flex; - padding: 12px; +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr { + display: none; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon { margin-left: 12px; height: 36px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-left: 12px; - padding: 0; + display: flex; + padding: 0 0 0 6px; align-items: center; justify-content: flex-start; line-height: 0; - margin-right: 5px; - display: none; + min-height: 36px; + margin-right: 4px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg { margin-left: 4px; } -.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-bottom: 4px; - margin-right: 0; -} -.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - display: inline-flex; -} - -.is-vertical .wp-block-navigation-placeholder, -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - min-height: 156px; -} - -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - flex-direction: column; - align-items: flex-start; -} .wp-block-navigation-placeholder__actions { display: flex; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} -.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon { - padding: 6px 12px 6px 4px; - display: flex; - flex-direction: row-reverse; + gap: 6px; + height: 100%; } .wp-block-navigation-placeholder__actions .components-dropdown, .wp-block-navigation-placeholder__actions > .components-button { - margin-left: 12px; + margin-left: 0; +} +.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr { + border: 0; + min-height: 1px; + min-width: 1px; + background-color: #1e1e1e; + margin: auto 0; + height: 100%; + max-height: 16px; } /** diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css index 8825cabd1e..baeb456965 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.min.css +++ b/wp-includes/css/dist/block-library/editor-rtl.min.css @@ -1 +1 @@ -ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-right:auto;margin-left:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns :where(.wp-block){max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.editor-styles-wrapper .wp-block-cover{box-sizing:border-box}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.is-placeholder .block-library-cover__resize-container{display:none}.wp-block-cover.is-placeholder .components-placeholder.is-large{min-height:240px;justify-content:flex-start;z-index:1}.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{min-height:240px;display:block}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0;min-height:50px}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone .components-drop-zone__content{opacity:.8!important}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}figure.wp-block-gallery{display:block;margin:0}figure.wp-block-gallery.has-nested-images .components-drop-zone{display:none;pointer-events:none}figure.wp-block-gallery>.blocks-gallery-caption{flex:0 0 100%}figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{flex-basis:100%}figure.wp-block-gallery .wp-block-image .components-notice.is-error{display:block}figure.wp-block-gallery .wp-block-image .components-notice__content{margin:4px 0}figure.wp-block-gallery .wp-block-image .components-notice__dismiss{position:absolute;top:0;left:5px}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery .block-editor-media-placeholder{margin:0}figure.wp-block-gallery .block-editor-media-placeholder:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;pointer-events:none}figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:flex}figure.wp-block-gallery .block-editor-media-placeholder figcaption{z-index:2}figure.wp-block-gallery .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.gallery-settings-buttons .components-button:first-child{margin-left:8px}.gallery-image-sizes .components-base-control__label{display:block;margin-bottom:4px}.gallery-image-sizes .gallery-image-sizes__loading{display:flex;align-items:center;color:#757575;font-size:12px}.gallery-image-sizes .components-spinner{margin:0 4px 0 8px}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.wp-block-gallery ul.blocks-gallery-grid{padding:0;margin:0}.wp-block-update-gallery-modal{max-width:400px}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons{display:flex;justify-content:flex-end}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons .components-button{margin-right:12px}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace!important;color:#1e1e1e!important;background:#fff!important;padding:12px!important;border:1px solid #1e1e1e!important;box-shadow:none!important;border-radius:2px!important;max-height:250px;font-size:16px!important}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px!important}}.block-library-html__edit .block-editor-plain-text:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image:not(.is-style-rounded)>div:not(.components-placeholder){border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{height:auto;width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-right:0;padding-left:0}.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-media-text__media{position:relative}.wp-block-media-text__media.is-transient img{opacity:.3}.wp-block-media-text__media .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-right:revert;margin-left:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:right;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-left:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-right:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-left:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-right:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px 6px 4px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:12px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;right:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{right:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{left:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{right:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;left:0;bottom:0;right:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);right:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;overflow:visible!important}.wp-block-navigation-item .wp-block-navigation-item__content{cursor:text}.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{min-width:20px}.wp-block-navigation-item .block-list-appender{margin:16px 16px 16px auto}.wp-block-navigation-link__placeholder{position:relative;text-decoration:none!important;box-shadow:none!important;background-image:none!important}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:var(--wp-admin-theme-color);background-image:linear-gradient(-45deg,transparent 20%,var(--wp-underline-color) 30%,var(--wp-underline-color) 36%,transparent 46%),linear-gradient(-135deg,transparent 54%,var(--wp-underline-color) 64%,var(--wp-underline-color) 70%,transparent 80%);background-position:100% 100%;background-size:6px 3px;background-repeat:repeat-x;padding-bottom:.1em}.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:#fff}.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{cursor:pointer}.link-control-transform{border-top:1px solid #ccc;padding:0 16px 8px}.link-control-transform__subheading{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.link-control-transform__items{display:flex;justify-content:space-between}.link-control-transform__item{flex-basis:33%;flex-direction:column;gap:8px;height:auto}.wp-block-navigation-submenu{display:block}.wp-block-navigation-submenu .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;position:absolute;right:-1px;top:100%}@media (min-width:782px){.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-right:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p,.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial;display:flex;align-items:center}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{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){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.wp-block[data-align=center]>.wp-block-site-logo{margin-right:auto;margin-left:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{height:auto;width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;height:auto;max-width:100%}.wp-block-site-logo.wp-block-site-logo .components-placeholder,.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container{border-radius:inherit}.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{height:120px;width:120px}.wp-block-site-logo.wp-block-site-logo .components-placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;min-height:48px;min-width:48px;height:100%;width:100%;color:currentColor;background:transparent}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;left:4px;bottom:4px;right:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;border:1px dashed;opacity:.3;pointer-events:none;border-radius:inherit}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__fieldset{width:auto}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{color:#fff}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__illustration{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.3}.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}.wp-block-site-tagline__placeholder,.wp-block-site-title__placeholder{padding:1em 0;border:1px dashed}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-right:0!important;margin-right:0!important;padding-left:0!important;margin-left:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-right:.66667em;padding-left:.66667em}.is-style-logos-only .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{padding:0}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-left:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-left:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px 0 4px auto;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid #ddd;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item .block-editor-block-preview__container{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:right}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions{padding-top:12px;display:flex;justify-content:flex-end}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions .components-flex-item{margin-right:12px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-right:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-left:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-right:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.editor-styles-wrapper ul.wp-block-post-template{padding-right:0;margin-right:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 56px 16px 16px}.wp-block[data-align=center]>.wp-block-query-pagination{justify-content:center}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-top:.5em;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-left:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.block-library-post-featured-image-dimension-controls{margin-bottom:8px}.block-library-post-featured-image-dimension-controls.scale-control-is-visible{margin-bottom:16px}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-larger-font-size{font-size:42px} \ No newline at end of file +ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-right:auto;margin-left:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns :where(.wp-block){max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.editor-styles-wrapper .wp-block-cover{box-sizing:border-box}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.is-placeholder .block-library-cover__resize-container{display:none}.wp-block-cover.is-placeholder .components-placeholder.is-large{min-height:240px;justify-content:flex-start;z-index:1}.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{min-height:240px;display:block}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0;min-height:50px}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone .components-drop-zone__content{opacity:.8!important}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}figure.wp-block-gallery{display:block;margin:0}figure.wp-block-gallery.has-nested-images .components-drop-zone{display:none;pointer-events:none}figure.wp-block-gallery>.blocks-gallery-caption{flex:0 0 100%}figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{flex-basis:100%}figure.wp-block-gallery .wp-block-image .components-notice.is-error{display:block}figure.wp-block-gallery .wp-block-image .components-notice__content{margin:4px 0}figure.wp-block-gallery .wp-block-image .components-notice__dismiss{position:absolute;top:0;left:5px}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery .block-editor-media-placeholder{margin:0}figure.wp-block-gallery .block-editor-media-placeholder:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;pointer-events:none}figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:flex}figure.wp-block-gallery .block-editor-media-placeholder figcaption{z-index:2}figure.wp-block-gallery .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.gallery-settings-buttons .components-button:first-child{margin-left:8px}.gallery-image-sizes .components-base-control__label{display:block;margin-bottom:4px}.gallery-image-sizes .gallery-image-sizes__loading{display:flex;align-items:center;color:#757575;font-size:12px}.gallery-image-sizes .components-spinner{margin:0 4px 0 8px}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.wp-block-gallery ul.blocks-gallery-grid{padding:0;margin:0}.wp-block-update-gallery-modal{max-width:400px}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons{display:flex;justify-content:flex-end}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons .components-button{margin-right:12px}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace!important;color:#1e1e1e!important;background:#fff!important;padding:12px!important;border:1px solid #1e1e1e!important;box-shadow:none!important;border-radius:2px!important;max-height:250px;font-size:16px!important}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px!important}}.block-library-html__edit .block-editor-plain-text:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image:not(.is-style-rounded)>div:not(.components-placeholder){border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{height:auto;width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-right:0;padding-left:0}.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-media-text__media{position:relative}.wp-block-media-text__media.is-transient img{opacity:.3}.wp-block-media-text__media .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-right:revert;margin-left:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:right;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:flex;padding:0 0 0 6px;align-items:center;justify-content:flex-start;line-height:0;min-height:36px;margin-right:4px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-left:4px}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;gap:6px;height:100%}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:0}.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{border:0;min-height:1px;min-width:1px;background-color:#1e1e1e;margin:auto 0;height:100%;max-height:16px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;right:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{right:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{left:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{right:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;left:0;bottom:0;right:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);right:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;overflow:visible!important}.wp-block-navigation-item .wp-block-navigation-item__content{cursor:text}.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{min-width:20px}.wp-block-navigation-item .block-list-appender{margin:16px 16px 16px auto}.wp-block-navigation-link__placeholder{position:relative;text-decoration:none!important;box-shadow:none!important;background-image:none!important}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:var(--wp-admin-theme-color);background-image:linear-gradient(-45deg,transparent 20%,var(--wp-underline-color) 30%,var(--wp-underline-color) 36%,transparent 46%),linear-gradient(-135deg,transparent 54%,var(--wp-underline-color) 64%,var(--wp-underline-color) 70%,transparent 80%);background-position:100% 100%;background-size:6px 3px;background-repeat:repeat-x;padding-bottom:.1em}.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:#fff}.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{cursor:pointer}.link-control-transform{border-top:1px solid #ccc;padding:0 16px 8px}.link-control-transform__subheading{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.link-control-transform__items{display:flex;justify-content:space-between}.link-control-transform__item{flex-basis:33%;flex-direction:column;gap:8px;height:auto}.wp-block-navigation-submenu{display:block}.wp-block-navigation-submenu .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;position:absolute;right:-1px;top:100%}@media (min-width:782px){.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-right:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p,.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial;display:flex;align-items:center}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{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){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.wp-block[data-align=center]>.wp-block-site-logo{margin-right:auto;margin-left:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{height:auto;width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;height:auto;max-width:100%}.wp-block-site-logo.wp-block-site-logo .components-placeholder,.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container{border-radius:inherit}.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{height:120px;width:120px}.wp-block-site-logo.wp-block-site-logo .components-placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;min-height:48px;min-width:48px;height:100%;width:100%;color:currentColor;background:transparent}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;left:4px;bottom:4px;right:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;border:1px dashed;opacity:.3;pointer-events:none;border-radius:inherit}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__fieldset{width:auto}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{color:#fff}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__illustration{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.3}.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}.wp-block-site-tagline__placeholder,.wp-block-site-title__placeholder{padding:1em 0;border:1px dashed}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-right:0!important;margin-right:0!important;padding-left:0!important;margin-left:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-right:.66667em;padding-left:.66667em}.is-style-logos-only .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{padding:0}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-left:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-left:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px 0 4px auto;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid #ddd;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item .block-editor-block-preview__container{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:right}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions{padding-top:12px;display:flex;justify-content:flex-end}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions .components-flex-item{margin-right:12px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-right:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-left:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-right:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.editor-styles-wrapper ul.wp-block-post-template{padding-right:0;margin-right:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 56px 16px 16px}.wp-block[data-align=center]>.wp-block-query-pagination{justify-content:center}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-top:.5em;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-left:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.block-library-post-featured-image-dimension-controls{margin-bottom:8px}.block-library-post-featured-image-dimension-controls.scale-control-is-visible{margin-bottom:16px}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-larger-font-size{font-size:42px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index 616cd46b9a..6904ee6489 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -1364,7 +1364,7 @@ figure.wp-block-image:not(.wp-block) { flex-wrap: nowrap; flex: 0; } -.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { +.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading), .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading) { display: none; } @@ -1387,62 +1387,48 @@ figure.wp-block-image:not(.wp-block) { .wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls { display: flex; } -.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { flex-direction: column; } -.is-selected.is-vertical .wp-block-navigation-placeholder__controls { - display: inline-flex; - padding: 12px; +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr { + display: none; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon { margin-right: 12px; height: 36px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-right: 12px; - padding: 0; + display: flex; + padding: 0 6px 0 0; align-items: center; justify-content: flex-start; line-height: 0; - margin-left: 5px; - display: none; + min-height: 36px; + margin-left: 4px; } .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg { margin-right: 4px; } -.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - margin-bottom: 4px; - margin-left: 0; -} -.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator { - display: inline-flex; -} - -.is-vertical .wp-block-navigation-placeholder, -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - min-height: 156px; -} - -.is-vertical .wp-block-navigation-placeholder__preview, -.is-vertical .wp-block-navigation-placeholder__controls { - flex-direction: column; - align-items: flex-start; -} .wp-block-navigation-placeholder__actions { display: flex; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} -.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon { - padding: 6px 4px 6px 12px; - display: flex; - flex-direction: row-reverse; + gap: 6px; + height: 100%; } .wp-block-navigation-placeholder__actions .components-dropdown, .wp-block-navigation-placeholder__actions > .components-button { - margin-right: 12px; + margin-right: 0; +} +.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr { + border: 0; + min-height: 1px; + min-width: 1px; + background-color: #1e1e1e; + margin: auto 0; + height: 100%; + max-height: 16px; } /** diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index ec3a1ed979..9ab0dd9666 100644 --- a/wp-includes/css/dist/block-library/editor.min.css +++ b/wp-includes/css/dist/block-library/editor.min.css @@ -1,2 +1,2 @@ ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-left:auto;margin-right:auto}.wp-block[data-align=right]>.wp-block-button{ - /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns :where(.wp-block){max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:var(--wp--style--block-gap,2em)}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.editor-styles-wrapper .wp-block-cover{box-sizing:border-box}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.is-placeholder .block-library-cover__resize-container{display:none}.wp-block-cover.is-placeholder .components-placeholder.is-large{min-height:240px;justify-content:flex-start;z-index:1}.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{min-height:240px;display:block}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0;min-height:50px}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone .components-drop-zone__content{opacity:.8!important}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}figure.wp-block-gallery{display:block;margin:0}figure.wp-block-gallery.has-nested-images .components-drop-zone{display:none;pointer-events:none}figure.wp-block-gallery>.blocks-gallery-caption{flex:0 0 100%}figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{flex-basis:100%}figure.wp-block-gallery .wp-block-image .components-notice.is-error{display:block}figure.wp-block-gallery .wp-block-image .components-notice__content{margin:4px 0}figure.wp-block-gallery .wp-block-image .components-notice__dismiss{position:absolute;top:0;right:5px}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery .block-editor-media-placeholder{margin:0}figure.wp-block-gallery .block-editor-media-placeholder:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:flex}figure.wp-block-gallery .block-editor-media-placeholder figcaption{z-index:2}figure.wp-block-gallery .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.gallery-settings-buttons .components-button:first-child{margin-right:8px}.gallery-image-sizes .components-base-control__label{display:block;margin-bottom:4px}.gallery-image-sizes .gallery-image-sizes__loading{display:flex;align-items:center;color:#757575;font-size:12px}.gallery-image-sizes .components-spinner{margin:0 8px 0 4px}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.wp-block-gallery ul.blocks-gallery-grid{padding:0;margin:0}.wp-block-update-gallery-modal{max-width:400px}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons{display:flex;justify-content:flex-end}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons .components-button{margin-left:12px}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace!important;color:#1e1e1e!important;background:#fff!important;padding:12px!important;border:1px solid #1e1e1e!important;box-shadow:none!important;border-radius:2px!important;max-height:250px;font-size:16px!important}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px!important}}.block-library-html__edit .block-editor-plain-text:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image:not(.is-style-rounded)>div:not(.components-placeholder){border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{height:auto;width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-left:0;padding-right:0}.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-media-text__media{position:relative}.wp-block-media-text__media.is-transient img{opacity:.3}.wp-block-media-text__media .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-left:revert;margin-right:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.is-vertical.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:left;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-right:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-left:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-right:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-left:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 4px 6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:12px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;left:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{left:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{right:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{left:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;right:0;bottom:0;left:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);left:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;overflow:visible!important}.wp-block-navigation-item .wp-block-navigation-item__content{cursor:text}.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{min-width:20px}.wp-block-navigation-item .block-list-appender{margin:16px auto 16px 16px}.wp-block-navigation-link__placeholder{position:relative;text-decoration:none!important;box-shadow:none!important;background-image:none!important}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:var(--wp-admin-theme-color);background-image:linear-gradient(45deg,transparent 20%,var(--wp-underline-color) 30%,var(--wp-underline-color) 36%,transparent 46%),linear-gradient(135deg,transparent 54%,var(--wp-underline-color) 64%,var(--wp-underline-color) 70%,transparent 80%);background-position:0 100%;background-size:6px 3px;background-repeat:repeat-x;padding-bottom:.1em}.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:#fff}.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{cursor:pointer}.link-control-transform{border-top:1px solid #ccc;padding:0 16px 8px}.link-control-transform__subheading{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.link-control-transform__items{display:flex;justify-content:space-between}.link-control-transform__item{flex-basis:33%;flex-direction:column;gap:8px;height:auto}.wp-block-navigation-submenu{display:block}.wp-block-navigation-submenu .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;position:absolute;left:-1px;top:100%}@media (min-width:782px){.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{content:"";position:absolute;right:100%;height:100%;display:block;width:.5em;background:transparent}}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-left:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p,.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial;display:flex;align-items:center}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{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){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.wp-block[data-align=center]>.wp-block-site-logo{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{height:auto;width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;height:auto;max-width:100%}.wp-block-site-logo.wp-block-site-logo .components-placeholder,.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container{border-radius:inherit}.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{height:120px;width:120px}.wp-block-site-logo.wp-block-site-logo .components-placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;min-height:48px;min-width:48px;height:100%;width:100%;color:currentColor;background:transparent}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;right:4px;bottom:4px;left:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border:1px dashed;opacity:.3;pointer-events:none;border-radius:inherit}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__fieldset{width:auto}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{color:#fff}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__illustration{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.3}.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}.wp-block-site-tagline__placeholder,.wp-block-site-title__placeholder{padding:1em 0;border:1px dashed}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-left:0!important;margin-left:0!important;padding-right:0!important;margin-right:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.is-style-logos-only .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{padding:0}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-right:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-right:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px auto 4px 0;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid #ddd;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item .block-editor-block-preview__container{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:left}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions{padding-top:12px;display:flex;justify-content:flex-end}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions .components-flex-item{margin-left:12px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-left:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.editor-styles-wrapper ul.wp-block-post-template{padding-left:0;margin-left:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 56px}.wp-block[data-align=center]>.wp-block-query-pagination{justify-content:center}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-right:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.block-library-post-featured-image-dimension-controls{margin-bottom:8px}.block-library-post-featured-image-dimension-controls.scale-control-is-visible{margin-bottom:16px}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-larger-font-size{font-size:42px} \ No newline at end of file + /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns :where(.wp-block){max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:var(--wp--style--block-gap,2em)}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.editor-styles-wrapper .wp-block-cover{box-sizing:border-box}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.is-placeholder .block-library-cover__resize-container{display:none}.wp-block-cover.is-placeholder .components-placeholder.is-large{min-height:240px;justify-content:flex-start;z-index:1}.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{min-height:240px;display:block}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0;min-height:50px}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone .components-drop-zone__content{opacity:.8!important}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}figure.wp-block-gallery{display:block;margin:0}figure.wp-block-gallery.has-nested-images .components-drop-zone{display:none;pointer-events:none}figure.wp-block-gallery>.blocks-gallery-caption{flex:0 0 100%}figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{flex-basis:100%}figure.wp-block-gallery .wp-block-image .components-notice.is-error{display:block}figure.wp-block-gallery .wp-block-image .components-notice__content{margin:4px 0}figure.wp-block-gallery .wp-block-image .components-notice__dismiss{position:absolute;top:0;right:5px}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery .block-editor-media-placeholder{margin:0}figure.wp-block-gallery .block-editor-media-placeholder:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:flex}figure.wp-block-gallery .block-editor-media-placeholder figcaption{z-index:2}figure.wp-block-gallery .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.gallery-settings-buttons .components-button:first-child{margin-right:8px}.gallery-image-sizes .components-base-control__label{display:block;margin-bottom:4px}.gallery-image-sizes .gallery-image-sizes__loading{display:flex;align-items:center;color:#757575;font-size:12px}.gallery-image-sizes .components-spinner{margin:0 8px 0 4px}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.wp-block-gallery ul.blocks-gallery-grid{padding:0;margin:0}.wp-block-update-gallery-modal{max-width:400px}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons{display:flex;justify-content:flex-end}.wp-block-update-gallery-modal .wp-block-update-gallery-modal-buttons .components-button{margin-left:12px}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace!important;color:#1e1e1e!important;background:#fff!important;padding:12px!important;border:1px solid #1e1e1e!important;box-shadow:none!important;border-radius:2px!important;max-height:250px;font-size:16px!important}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px!important}}.block-library-html__edit .block-editor-plain-text:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image:not(.is-style-rounded)>div:not(.components-placeholder){border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{height:auto;width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-left:0;padding-right:0}.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-media-text__media{position:relative}.wp-block-media-text__media.is-transient img{opacity:.3}.wp-block-media-text__media .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin-left:revert;margin-right:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1;overflow:visible}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview.is-loading{animation:loadingpulse 1s linear infinite;animation-delay:.5s}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{height:24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-item.wp-block-navigation-item,.wp-block-navigation-placeholder__preview .wp-block-navigation-placeholder__preview-search-icon{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview:not(.is-loading){display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap;flex:0}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview:not(.is-loading),.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview:not(.is-loading){display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:left;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:flex;padding:0 6px 0 0;align-items:center;justify-content:flex-start;line-height:0;min-height:36px;margin-left:4px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-right:4px}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;gap:6px;height:100%}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:0}.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{border:0;min-height:1px;min-width:1px;background-color:#1e1e1e;margin:auto 0;height:100%;max-height:16px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{top:93px;left:36px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{left:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{right:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{left:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:782px){.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{top:0;right:0;bottom:0;left:0}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__unsaved-changes{position:relative}.wp-block-navigation__unsaved-changes .components-spinner{position:absolute;top:calc(50% - 9px);left:calc(50% - 9px);opacity:0;animation:fadein .5s linear 2s normal forwards}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation__unsaved-changes-overlay.is-saving{opacity:1;animation:fadeouthalf .5s linear 2s normal forwards}.wp-block-navigation-delete-menu-button{width:100%;justify-content:center;margin-bottom:16px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;overflow:visible!important}.wp-block-navigation-item .wp-block-navigation-item__content{cursor:text}.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{min-width:20px}.wp-block-navigation-item .block-list-appender{margin:16px auto 16px 16px}.wp-block-navigation-link__placeholder{position:relative;text-decoration:none!important;box-shadow:none!important;background-image:none!important}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:var(--wp-admin-theme-color);background-image:linear-gradient(45deg,transparent 20%,var(--wp-underline-color) 30%,var(--wp-underline-color) 36%,transparent 46%),linear-gradient(135deg,transparent 54%,var(--wp-underline-color) 64%,var(--wp-underline-color) 70%,transparent 80%);background-position:0 100%;background-size:6px 3px;background-repeat:repeat-x;padding-bottom:.1em}.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:#fff}.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{cursor:pointer}.link-control-transform{border-top:1px solid #ccc;padding:0 16px 8px}.link-control-transform__subheading{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.link-control-transform__items{display:flex;justify-content:space-between}.link-control-transform__item{flex-basis:33%;flex-direction:column;gap:8px;height:auto}.wp-block-navigation-submenu{display:block}.wp-block-navigation-submenu .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{visibility:visible!important;opacity:1!important;min-width:200px!important;height:auto!important;width:auto!important;position:absolute;left:-1px;top:100%}@media (min-width:782px){.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{content:"";position:absolute;right:100%;height:100%;display:block;width:.5em;background:transparent}}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-left:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p,.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial;display:flex;align-items:center}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{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){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.wp-block[data-align=center]>.wp-block-site-logo{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{height:auto;width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;height:auto;max-width:100%}.wp-block-site-logo.wp-block-site-logo .components-placeholder,.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container{border-radius:inherit}.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{height:120px;width:120px}.wp-block-site-logo.wp-block-site-logo .components-placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;min-height:48px;min-width:48px;height:100%;width:100%;color:currentColor;background:transparent}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;right:4px;bottom:4px;left:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border:1px dashed;opacity:.3;pointer-events:none;border-radius:inherit}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__fieldset{width:auto}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{color:#fff}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__illustration{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.3}.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}.wp-block-site-tagline__placeholder,.wp-block-site-title__placeholder{padding:1em 0;border:1px dashed}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-left:0!important;margin-left:0!important;padding-right:0!important;margin-right:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.is-style-logos-only .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{padding:0}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-right:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-right:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px auto 4px 0;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid #ddd;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item .block-editor-block-preview__container{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:left}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions{padding-top:12px;display:flex;justify-content:flex-end}.wp-block-template-part__placeholder-create-new__title-form .wp-block-template-part__placeholder-create-new__title-form-actions .components-flex-item{margin-left:12px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-left:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.editor-styles-wrapper ul.wp-block-post-template{padding-left:0;margin-left:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 56px}.wp-block[data-align=center]>.wp-block-query-pagination{justify-content:center}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-right:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.block-library-post-featured-image-dimension-controls{margin-bottom:8px}.block-library-post-featured-image-dimension-controls.scale-control-is-visible{margin-bottom:16px}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-larger-font-size{font-size:42px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index a8d044d1f9..5ad77c358b 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -1650,14 +1650,21 @@ ul.has-background { /** * Justifications. */ -@media (min-width: 782px) { - .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container { - right: auto; - left: 0; - } + right: auto; + left: 0; +} +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { + right: -1px; + left: -1px; +} +@media (min-width: 782px) { .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, @@ -1666,6 +1673,7 @@ ul.has-background { left: 100%; } } + .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container { background-color: #fff; color: #000; @@ -1770,7 +1778,7 @@ ul.has-background { display: block; width: 100%; position: relative; - z-index: 2; + z-index: auto; background-color: inherit; } .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close { diff --git a/wp-includes/css/dist/block-library/style-rtl.min.css b/wp-includes/css/dist/block-library/style-rtl.min.css index 47dee117bb..92e157e302 100644 --- a/wp-includes/css/dist/block-library/style-rtl.min.css +++ b/wp-includes/css/dist/block-library/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.wp-block-archives-dropdown label{display:block}.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;word-break:break-word;box-sizing:border-box}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*0.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*0.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*0.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:100%;flex-basis:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>:where(.wp-block-button__link),:where(.wp-block-button__link).is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:initial}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-right:auto;margin-left:auto;width:100%}.wp-block-button.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}.wp-block-columns{display:flex;margin-bottom:1.75em;box-sizing:border-box;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns:where(.has-background){padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:599px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){flex-basis:calc(50% - var(--wp--style--block-gap, 2em)/2)!important;flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n){margin-right:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;display:flex;justify-content:center;align-items:center;padding:1em;box-sizing:border-box}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:100%;z-index:1;color:#fff}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover;outline:none;border:none;box-shadow:none}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:840px;padding:.44em;text-align:center}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-width:320px;min-height:240px}.wp-block-embed{margin:0 0 1em;overflow-wrap:break-word}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;left:0;bottom:0;right:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 1em 1em;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%;display:flex;align-items:flex-end;justify-content:flex-start}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:auto}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:3em .77em .7em;color:#fff;text-align:center;font-size:.8em;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);box-sizing:border-box;margin:0;z-index:2}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%;height:100%;flex:1;-o-object-fit:cover;object-fit:cover}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-left:1em}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-left:1em}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-left:1em}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-left:1em}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-left:1em}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-left:1em}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}.wp-block-gallery.has-nested-images{display:flex;flex-wrap:wrap}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0 0 var(--gallery-block--gutter-size,16px) var(--gallery-block--gutter-size,16px);width:calc(50% - var(--gallery-block--gutter-size, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-of-type:not(#individual-image),.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-of-type(2n){margin-left:0}.wp-block-gallery.has-nested-images figure.wp-block-image{display:flex;flex-grow:1;justify-content:center;position:relative;margin-top:auto;margin-bottom:auto;flex-direction:column}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{margin:0;flex-direction:column;flex-grow:1}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;color:#fff;font-size:13px;right:0;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;text-align:center;width:100%;box-sizing:border-box}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{flex:initial;background:none;color:inherit;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-grow:1;flex-basis:100%;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-top:0;margin-bottom:auto}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{margin-bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) figcaption{bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{width:100%;flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){margin-left:0;width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33333% - var(--gallery-block--gutter-size, 16px)*0.66667)}.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(25% - var(--gallery-block--gutter-size, 16px)*0.75)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(20% - var(--gallery-block--gutter-size, 16px)*0.8)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(16.66667% - var(--gallery-block--gutter-size, 16px)*0.83333)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(14.28571% - var(--gallery-block--gutter-size, 16px)*0.85714)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(12.5% - var(--gallery-block--gutter-size, 16px)*0.875)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image):nth-of-type(1n),.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image):nth-of-type(2n),.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image):nth-of-type(3n),.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image):nth-of-type(4n),.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image):nth-of-type(5n),.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image):nth-of-type(6n),.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image):nth-of-type(7n),.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image):nth-of-type(8n){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33% - var(--gallery-block--gutter-size, 16px)*0.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):nth-of-type(3n+3){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--gallery-block--gutter-size, 16px)*0.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}.wp-block-group{box-sizing:border-box}h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-left:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .alignright{float:right;margin-right:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image figure{margin:0}ol.wp-block-latest-comments{margin-right:0}.wp-block-latest-comments .wp-block-latest-comments{padding-right:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:2.25em;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-right:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-top:.5em;margin-bottom:1em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;width:auto;max-width:100%}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol,ul{overflow-wrap:break-word}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill .wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-right:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;right:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{right:auto;left:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:auto;left:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;right:0;left:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-right:32px;padding-left:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:2;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;left:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{word-break:normal;overflow-wrap:break-word}.wp-block-navigation-submenu{position:relative;display:flex}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:initial;border:none;color:currentColor;font-size:inherit;font-family:inherit;line-height:inherit;text-align:right}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{display:flex;flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);flex-wrap:var(--layout-wrap,wrap);background-color:inherit}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{width:100%;margin-top:0;margin-bottom:0;font-size:.5em}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{margin-bottom:.7em;font-size:.7em}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-right:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;text-align:center;overflow-wrap:break-word}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{display:block;box-sizing:border-box;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;padding:3em 0;text-align:center;overflow-wrap:break-word}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:right}.wp-block-pullquote.has-text-align-right blockquote{text-align:left}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:2em}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-left:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-left:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{margin-left:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{margin-right:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:left}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}ul.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;padding:.375em .625em;color:#32373c;margin-right:.625em;word-break:normal;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{min-width:1.5em;min-height:1.5em;fill:currentColor}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{padding:8px;flex-grow:1;min-width:3em;border:1px solid #949494;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px;border:1px solid #949494}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:0;border:none;padding:0 .25em 0 0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-top:1px solid;border-bottom:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{width:120px;height:auto}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{padding-right:0;padding-left:0;text-indent:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{width:1em;height:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{display:block;border-radius:9999px;transition:transform .1s ease;height:auto}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-duration:0s;transition-delay:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{color:currentColor;fill:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:1.25em;height:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:.66667em;padding-left:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-right:1em;padding-left:1em}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:initial;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-post-featured-image{margin-right:0;margin-left:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{max-width:100%;width:100%;height:auto;vertical-align:bottom}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{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}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file +@charset "UTF-8";.wp-block-archives-dropdown label{display:block}.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;word-break:break-word;box-sizing:border-box}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*0.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*0.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*0.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:100%;flex-basis:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>:where(.wp-block-button__link),:where(.wp-block-button__link).is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:initial}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-right:auto;margin-left:auto;width:100%}.wp-block-button.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}.wp-block-columns{display:flex;margin-bottom:1.75em;box-sizing:border-box;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns:where(.has-background){padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:599px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){flex-basis:calc(50% - var(--wp--style--block-gap, 2em)/2)!important;flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n){margin-right:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;display:flex;justify-content:center;align-items:center;padding:1em;box-sizing:border-box}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:100%;z-index:1;color:#fff}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover;outline:none;border:none;box-shadow:none}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:840px;padding:.44em;text-align:center}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-width:320px;min-height:240px}.wp-block-embed{margin:0 0 1em;overflow-wrap:break-word}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;left:0;bottom:0;right:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 1em 1em;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%;display:flex;align-items:flex-end;justify-content:flex-start}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:auto}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:3em .77em .7em;color:#fff;text-align:center;font-size:.8em;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);box-sizing:border-box;margin:0;z-index:2}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%;height:100%;flex:1;-o-object-fit:cover;object-fit:cover}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-left:1em}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-left:1em}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-left:1em}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-left:1em}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-left:1em}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-left:1em}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}.wp-block-gallery.has-nested-images{display:flex;flex-wrap:wrap}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0 0 var(--gallery-block--gutter-size,16px) var(--gallery-block--gutter-size,16px);width:calc(50% - var(--gallery-block--gutter-size, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-of-type:not(#individual-image),.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-of-type(2n){margin-left:0}.wp-block-gallery.has-nested-images figure.wp-block-image{display:flex;flex-grow:1;justify-content:center;position:relative;margin-top:auto;margin-bottom:auto;flex-direction:column}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{margin:0;flex-direction:column;flex-grow:1}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;color:#fff;font-size:13px;right:0;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;text-align:center;width:100%;box-sizing:border-box}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{flex:initial;background:none;color:inherit;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-grow:1;flex-basis:100%;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-top:0;margin-bottom:auto}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{margin-bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) figcaption{bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{width:100%;flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){margin-left:0;width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33333% - var(--gallery-block--gutter-size, 16px)*0.66667)}.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(25% - var(--gallery-block--gutter-size, 16px)*0.75)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(20% - var(--gallery-block--gutter-size, 16px)*0.8)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(16.66667% - var(--gallery-block--gutter-size, 16px)*0.83333)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(14.28571% - var(--gallery-block--gutter-size, 16px)*0.85714)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(12.5% - var(--gallery-block--gutter-size, 16px)*0.875)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image):nth-of-type(1n),.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image):nth-of-type(2n),.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image):nth-of-type(3n),.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image):nth-of-type(4n),.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image):nth-of-type(5n),.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image):nth-of-type(6n),.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image):nth-of-type(7n),.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image):nth-of-type(8n){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33% - var(--gallery-block--gutter-size, 16px)*0.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):nth-of-type(3n+3){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--gallery-block--gutter-size, 16px)*0.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}.wp-block-group{box-sizing:border-box}h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-left:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .alignright{float:right;margin-right:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image figure{margin:0}ol.wp-block-latest-comments{margin-right:0}.wp-block-latest-comments .wp-block-latest-comments{padding-right:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:2.25em;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-right:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-top:.5em;margin-bottom:1em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;width:auto;max-width:100%}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol,ul{overflow-wrap:break-word}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill .wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-right:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;right:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{right:auto;left:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:-1px;left:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:auto;left:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;right:0;left:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-right:32px;padding-left:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:auto;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;left:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{word-break:normal;overflow-wrap:break-word}.wp-block-navigation-submenu{position:relative;display:flex}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:initial;border:none;color:currentColor;font-size:inherit;font-family:inherit;line-height:inherit;text-align:right}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{display:flex;flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);flex-wrap:var(--layout-wrap,wrap);background-color:inherit}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{width:100%;margin-top:0;margin-bottom:0;font-size:.5em}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{margin-bottom:.7em;font-size:.7em}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-right:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;text-align:center;overflow-wrap:break-word}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{display:block;box-sizing:border-box;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;padding:3em 0;text-align:center;overflow-wrap:break-word}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:right}.wp-block-pullquote.has-text-align-right blockquote{text-align:left}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:2em}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-left:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-left:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{margin-left:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{margin-right:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:left}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}ul.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;padding:.375em .625em;color:#32373c;margin-right:.625em;word-break:normal;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{min-width:1.5em;min-height:1.5em;fill:currentColor}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{padding:8px;flex-grow:1;min-width:3em;border:1px solid #949494;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px;border:1px solid #949494}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:0;border:none;padding:0 .25em 0 0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-top:1px solid;border-bottom:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{width:120px;height:auto}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{padding-right:0;padding-left:0;text-indent:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{width:1em;height:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{display:block;border-radius:9999px;transition:transform .1s ease;height:auto}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-duration:0s;transition-delay:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{color:currentColor;fill:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:1.25em;height:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:.66667em;padding-left:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-right:1em;padding-left:1em}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:initial;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-post-featured-image{margin-right:0;margin-left:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{max-width:100%;width:100%;height:auto;vertical-align:bottom}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{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}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css index 177fe0efbc..27f61ab9da 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -1672,14 +1672,21 @@ ul.has-background { /** * Justifications. */ -@media (min-width: 782px) { - .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container { - left: auto; - right: 0; - } + left: auto; + right: 0; +} +.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { + left: -1px; + right: -1px; +} +@media (min-width: 782px) { .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, @@ -1688,6 +1695,7 @@ ul.has-background { right: 100%; } } + .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container { background-color: #fff; color: #000; @@ -1792,7 +1800,7 @@ ul.has-background { display: block; width: 100%; position: relative; - z-index: 2; + z-index: auto; background-color: inherit; } .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close { diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index c677d057f6..a64923270f 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -8,4 +8,4 @@ /*!rtl:begin:ignore*/grid-column:2;grid-row:1 /*!rtl:end:ignore*/}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{ /*!rtl:begin:ignore*/grid-column:1;grid-row:1 - /*!rtl:end:ignore*/}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill .wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-left:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;left:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-right:0;margin-left:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;right:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;left:0;right:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-left:32px;padding-right:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:auto;left:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:2;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;right:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{word-break:normal;overflow-wrap:break-word}.wp-block-navigation-submenu{position:relative;display:flex}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:initial;border:none;color:currentColor;font-size:inherit;font-family:inherit;line-height:inherit;text-align:left}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{display:flex;flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);flex-wrap:var(--layout-wrap,wrap);background-color:inherit}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{width:100%;margin-top:0;margin-bottom:0;font-size:.5em}.wp-block-post-author__avatar{margin-right:1em}.wp-block-post-author__bio{margin-bottom:.7em;font-size:.7em}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-left:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;text-align:center;overflow-wrap:break-word}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{display:block;box-sizing:border-box;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;padding:3em 0;text-align:center;overflow-wrap:break-word}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:left}.wp-block-pullquote.has-text-align-right blockquote{text-align:right}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:2em}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-right:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-right:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{margin-right:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{margin-left:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:right}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}ul.wp-block-rss.is-grid li{margin:0 1em 1em 0;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;padding:.375em .625em;color:#32373c;margin-left:.625em;word-break:normal;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{min-width:1.5em;min-height:1.5em;fill:currentColor}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{padding:8px;flex-grow:1;min-width:3em;border:1px solid #949494;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-left:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px;border:1px solid #949494}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:0;border:none;padding:0 0 0 .25em}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-top:1px solid;border-bottom:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{width:120px;height:auto}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{padding-left:0;padding-right:0;text-indent:0;margin-left:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{width:1em;height:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{display:block;border-radius:9999px;transition:transform .1s ease;height:auto}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-duration:0s;transition-delay:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{color:currentColor;fill:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:1.25em;height:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:initial;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{max-width:100%;width:100%;height:auto;vertical-align:bottom}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{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}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file + /*!rtl:end:ignore*/}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill .wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{display:flex;align-items:center;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;height:inherit;line-height:0;margin-left:6px;padding:0;background-color:inherit;color:currentColor;border:none}.wp-block-navigation .wp-block-navigation__submenu-icon svg{display:inline-block;stroke:currentColor}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){background-color:inherit;color:inherit;position:absolute;z-index:2;display:flex;flex-direction:column;align-items:normal;opacity:0;transition:opacity .1s linear;visibility:hidden;width:0;height:0;overflow:hidden;left:-1px;top:100%}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-right:0;margin-left:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{content:"";position:absolute;right:100%;height:100%;display:block;width:.5em;background:transparent}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{visibility:visible;overflow:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content,.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:-1px;right:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation__container{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{display:none;position:fixed;top:0;left:0;right:0;bottom:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{display:flex;flex-wrap:var(--layout-wrap,wrap);flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial)}.wp-block-navigation__responsive-container.is-menu-open{display:flex;flex-direction:column;overflow:auto;z-index:100000;padding:72px 24px 24px;background-color:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,inherit);justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{opacity:1;visibility:visible;height:auto;width:auto;overflow:initial;min-width:200px;position:static;border:none;padding-left:32px;padding-right:32px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{display:flex;flex-direction:column;align-items:var(--layout-justification-setting,initial)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{color:inherit!important;background:transparent!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:auto;left:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block;width:100%;position:relative;z-index:auto;background-color:inherit}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{vertical-align:middle;cursor:pointer;color:currentColor;background:transparent;border:none;margin:0;padding:0}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;pointer-events:none;display:block;width:24px;height:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;top:24px;right:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{width:100%;height:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{word-break:normal;overflow-wrap:break-word}.wp-block-navigation-submenu{position:relative;display:flex}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:initial;border:none;color:currentColor;font-size:inherit;font-family:inherit;line-height:inherit;text-align:left}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;color:#000;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{display:flex;flex-direction:var(--layout-direction,initial);justify-content:var(--layout-justify,initial);align-items:var(--layout-align,initial);flex-wrap:var(--layout-wrap,wrap);background-color:inherit}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{width:100%;margin-top:0;margin-bottom:0;font-size:.5em}.wp-block-post-author__avatar{margin-right:1em}.wp-block-post-author__bio{margin-bottom:.7em;font-size:.7em}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-left:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;text-align:center;overflow-wrap:break-word}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-size:1em;font-family:inherit}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{display:block;box-sizing:border-box;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;padding:3em 0;text-align:center;overflow-wrap:break-word}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:left}.wp-block-pullquote.has-text-align-right blockquote{text-align:right}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:2em}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-right:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-right:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{margin-right:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{margin-left:1ch;display:inline-block}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:right}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}ul.wp-block-rss.is-grid li{margin:0 1em 1em 0;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;padding:.375em .625em;color:#32373c;margin-left:.625em;word-break:normal;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{min-width:1.5em;min-height:1.5em;fill:currentColor}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{padding:8px;flex-grow:1;min-width:3em;border:1px solid #949494;font-size:inherit;font-family:inherit;line-height:inherit}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-left:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px;border:1px solid #949494}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:0;border:none;padding:0 0 0 .25em}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-top:1px solid;border-bottom:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{width:120px;height:auto}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{padding-left:0;padding-right:0;text-indent:0;margin-left:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{width:1em;height:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{display:block;border-radius:9999px;transition:transform .1s ease;height:auto}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-duration:0s;transition-delay:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{color:currentColor;fill:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:1.25em;height:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:initial;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{max-width:100%;width:100%;height:auto;vertical-align:bottom}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{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}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index c23f7c2a8a..2d1fa48f8f 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -998,16 +998,8 @@ body.is-fullscreen-mode .interface-interface-skeleton { .edit-post-layout__metaboxes { flex-shrink: 0; -} - -.edit-post-layout__metaboxes:not(:empty) { - border-top: 1px solid #ddd; - padding: 10px 0 10px; clear: both; } -.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area { - margin: auto 20px; -} .edit-post-layout .components-editor-notices__snackbar { position: fixed; @@ -1234,6 +1226,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .edit-post-meta-boxes-area input { box-sizing: border-box; } +.edit-post-meta-boxes-area .postbox-header { + border-top: 1px solid #ddd; + border-bottom: 0; +} .edit-post-meta-boxes-area #poststuff { margin: 0 auto; padding-top: 0; @@ -1247,7 +1243,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { color: inherit; font-weight: 600; outline: none; - padding: 15px; + padding: 0 24px; position: relative; width: 100%; } @@ -1257,9 +1253,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { margin-bottom: 0; } .edit-post-meta-boxes-area .postbox > .inside { - border-bottom: 1px solid #ddd; color: inherit; - padding: 0 14px 14px; + padding: 0 24px 24px; margin: 0; } .edit-post-meta-boxes-area .postbox .handlediv { diff --git a/wp-includes/css/dist/edit-post/style-rtl.min.css b/wp-includes/css/dist/edit-post/style-rtl.min.css index 3a49592147..027328af5c 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.min.css +++ b/wp-includes/css/dist/edit-post/style-rtl.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}@media (min-width:600px){.edit-post-header__settings{padding-left:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-left:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-right:8px;margin-left:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-right:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:8px;padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:12px;padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-list-view,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 40px 6px 6px;width:14.625rem;text-align:right;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 8px 6px 6px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-right:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-left:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#1e1e1e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-post-header-toolbar .block-editor-list-view{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-list-view{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-right:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-left:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-right:8px}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-left:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{right:0;left:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-right:-12px;margin-left:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-left:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 1rem 0 0;text-align:left}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:281px;border-right:1px solid #ddd;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-block-manager__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-block-manager__search{margin:16px 0}.edit-post-block-manager__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;box-shadow:32px 0 0 0 #fff,-32px 0 0 0 #fff;padding:8px;background-color:#fff;text-align:center;font-style:italic;position:sticky;top:-1px;z-index:2}.edit-post-block-manager__disabled-blocks-count~.edit-post-block-manager__results .edit-post-block-manager__category-title{top:35px}.edit-post-block-manager__category{margin:0 0 24px}.edit-post-block-manager__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-block-manager__category-title .components-checkbox-control__label{font-weight:600}.edit-post-block-manager__show-all{margin-left:8px}.edit-post-block-manager__checklist{margin-top:0}.edit-post-block-manager__category-title,.edit-post-block-manager__checklist-item{border-bottom:1px solid #ddd}.edit-post-block-manager__category-title .components-base-control__field,.edit-post-block-manager__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-block-manager__checklist-item{margin-bottom:0;padding-right:16px}.components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-block-manager__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:8px 0}.edit-post-block-manager__checklist-item .block-editor-block-icon{margin-left:10px;fill:#1e1e1e}.edit-post-block-manager__results{border-top:1px solid #ddd}.edit-post-block-manager__disabled-blocks-count+.edit-post-block-manager__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (max-width:781px){.edit-post-preferences-modal .components-modal__content{padding:0}.edit-post-preferences-modal .components-modal__content:before{content:none}.edit-post-preferences-modal .components-navigator-provider{height:100%}}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{position:absolute;top:84px;right:16px;width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{padding-right:24px;margin-right:160px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600;margin-top:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 58px 8px 0;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px 6px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}@media (min-width:782px){.edit-post-template__modal .components-base-control{width:320px}}.edit-post-template__modal .components-modal__header{border-bottom:none}.edit-post-template__modal .components-modal__content:before{margin-bottom:4px}.edit-post-template__modal-actions{margin-top:12px}.edit-post-template-modal__tip{padding:16px 24px;background:#f0f0f0;border-radius:2px}@media (min-width:782px){.edit-post-template-modal__tip{width:240px}}.edit-post-template__actions button:not(:last-child){margin-left:8px}h2.edit-post-template-summary__title{line-height:24px;margin:0 0 4px;font-weight:500}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title{max-width:none;line-height:1.4;font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400;border:1px solid #949494;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title{padding:24px}}.edit-post-text-editor .editor-post-title:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-right:auto;margin-left:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;right:0;left:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 0 0 auto;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;background-color:#2f2f2f;flex:1 0 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}.edit-post-visual-editor__post-title-wrapper{margin-top:4rem;margin-bottom:var(--wp--style--block-gap)}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin-right:auto;margin-left:auto}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;right:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative;display:flex;flex-grow:1}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}@media (min-width:600px){.edit-post-header__settings{padding-left:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-left:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-right:8px;margin-left:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-right:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:8px;padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:12px;padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-list-view,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 40px 6px 6px;width:14.625rem;text-align:right;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 8px 6px 6px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-right:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-left:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#1e1e1e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-post-header-toolbar .block-editor-list-view{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-list-view{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-right:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-left:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-right:8px}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-left:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{right:0;left:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-right:-12px;margin-left:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-left:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 1rem 0 0;text-align:left}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0;clear:both}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:281px;border-right:1px solid #ddd;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-block-manager__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-block-manager__search{margin:16px 0}.edit-post-block-manager__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;box-shadow:32px 0 0 0 #fff,-32px 0 0 0 #fff;padding:8px;background-color:#fff;text-align:center;font-style:italic;position:sticky;top:-1px;z-index:2}.edit-post-block-manager__disabled-blocks-count~.edit-post-block-manager__results .edit-post-block-manager__category-title{top:35px}.edit-post-block-manager__category{margin:0 0 24px}.edit-post-block-manager__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-block-manager__category-title .components-checkbox-control__label{font-weight:600}.edit-post-block-manager__show-all{margin-left:8px}.edit-post-block-manager__checklist{margin-top:0}.edit-post-block-manager__category-title,.edit-post-block-manager__checklist-item{border-bottom:1px solid #ddd}.edit-post-block-manager__category-title .components-base-control__field,.edit-post-block-manager__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-block-manager__checklist-item{margin-bottom:0;padding-right:16px}.components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-block-manager__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:8px 0}.edit-post-block-manager__checklist-item .block-editor-block-icon{margin-left:10px;fill:#1e1e1e}.edit-post-block-manager__results{border-top:1px solid #ddd}.edit-post-block-manager__disabled-blocks-count+.edit-post-block-manager__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area .postbox-header{border-top:1px solid #ddd;border-bottom:0}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:0 24px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{color:inherit;padding:0 24px 24px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (max-width:781px){.edit-post-preferences-modal .components-modal__content{padding:0}.edit-post-preferences-modal .components-modal__content:before{content:none}.edit-post-preferences-modal .components-navigator-provider{height:100%}}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{position:absolute;top:84px;right:16px;width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{padding-right:24px;margin-right:160px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600;margin-top:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 58px 8px 0;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px 6px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}@media (min-width:782px){.edit-post-template__modal .components-base-control{width:320px}}.edit-post-template__modal .components-modal__header{border-bottom:none}.edit-post-template__modal .components-modal__content:before{margin-bottom:4px}.edit-post-template__modal-actions{margin-top:12px}.edit-post-template-modal__tip{padding:16px 24px;background:#f0f0f0;border-radius:2px}@media (min-width:782px){.edit-post-template-modal__tip{width:240px}}.edit-post-template__actions button:not(:last-child){margin-left:8px}h2.edit-post-template-summary__title{line-height:24px;margin:0 0 4px;font-weight:500}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title{max-width:none;line-height:1.4;font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400;border:1px solid #949494;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title{padding:24px}}.edit-post-text-editor .editor-post-title:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-right:auto;margin-left:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;right:0;left:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 0 0 auto;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;background-color:#2f2f2f;flex:1 0 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}.edit-post-visual-editor__post-title-wrapper{margin-top:4rem;margin-bottom:var(--wp--style--block-gap)}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin-right:auto;margin-left:auto}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;right:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative;display:flex;flex-grow:1}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index fdb79e5be6..886bf7b3ea 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -998,16 +998,8 @@ body.is-fullscreen-mode .interface-interface-skeleton { .edit-post-layout__metaboxes { flex-shrink: 0; -} - -.edit-post-layout__metaboxes:not(:empty) { - border-top: 1px solid #ddd; - padding: 10px 0 10px; clear: both; } -.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area { - margin: auto 20px; -} .edit-post-layout .components-editor-notices__snackbar { position: fixed; @@ -1234,6 +1226,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .edit-post-meta-boxes-area input { box-sizing: border-box; } +.edit-post-meta-boxes-area .postbox-header { + border-top: 1px solid #ddd; + border-bottom: 0; +} .edit-post-meta-boxes-area #poststuff { margin: 0 auto; padding-top: 0; @@ -1247,7 +1243,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { color: inherit; font-weight: 600; outline: none; - padding: 15px; + padding: 0 24px; position: relative; width: 100%; } @@ -1257,9 +1253,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { margin-bottom: 0; } .edit-post-meta-boxes-area .postbox > .inside { - border-bottom: 1px solid #ddd; color: inherit; - padding: 0 14px 14px; + padding: 0 24px 24px; margin: 0; } .edit-post-meta-boxes-area .postbox .handlediv { diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index 1e7248d491..86609351a1 100644 --- a/wp-includes/css/dist/edit-post/style.min.css +++ b/wp-includes/css/dist/edit-post/style.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}@media (min-width:600px){.edit-post-header__settings{padding-right:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-right:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-left:8px;margin-right:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-left:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:8px;padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:12px;padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-list-view,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 6px 6px 40px;width:14.625rem;text-align:left;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 6px 6px 8px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-left:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-right:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#1e1e1e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-post-header-toolbar .block-editor-list-view{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-list-view{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-left:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-right:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-left:8px}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-right:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{left:0;right:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-left:-12px;margin-right:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-right:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 0 0 1rem;text-align:right}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:281px;border-left:1px solid #ddd;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-block-manager__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-block-manager__search{margin:16px 0}.edit-post-block-manager__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;box-shadow:-32px 0 0 0 #fff,32px 0 0 0 #fff;padding:8px;background-color:#fff;text-align:center;font-style:italic;position:sticky;top:-1px;z-index:2}.edit-post-block-manager__disabled-blocks-count~.edit-post-block-manager__results .edit-post-block-manager__category-title{top:35px}.edit-post-block-manager__category{margin:0 0 24px}.edit-post-block-manager__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-block-manager__category-title .components-checkbox-control__label{font-weight:600}.edit-post-block-manager__show-all{margin-right:8px}.edit-post-block-manager__checklist{margin-top:0}.edit-post-block-manager__category-title,.edit-post-block-manager__checklist-item{border-bottom:1px solid #ddd}.edit-post-block-manager__category-title .components-base-control__field,.edit-post-block-manager__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-block-manager__checklist-item{margin-bottom:0;padding-left:16px}.components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-block-manager__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:8px 0}.edit-post-block-manager__checklist-item .block-editor-block-icon{margin-right:10px;fill:#1e1e1e}.edit-post-block-manager__results{border-top:1px solid #ddd}.edit-post-block-manager__disabled-blocks-count+.edit-post-block-manager__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (max-width:781px){.edit-post-preferences-modal .components-modal__content{padding:0}.edit-post-preferences-modal .components-modal__content:before{content:none}.edit-post-preferences-modal .components-navigator-provider{height:100%}}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{position:absolute;top:84px;left:16px;width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{padding-left:24px;margin-left:160px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600;margin-top:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 0 8px 58px;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px 6px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}@media (min-width:782px){.edit-post-template__modal .components-base-control{width:320px}}.edit-post-template__modal .components-modal__header{border-bottom:none}.edit-post-template__modal .components-modal__content:before{margin-bottom:4px}.edit-post-template__modal-actions{margin-top:12px}.edit-post-template-modal__tip{padding:16px 24px;background:#f0f0f0;border-radius:2px}@media (min-width:782px){.edit-post-template-modal__tip{width:240px}}.edit-post-template__actions button:not(:last-child){margin-right:8px}h2.edit-post-template-summary__title{line-height:24px;margin:0 0 4px;font-weight:500}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title{max-width:none;line-height:1.4;font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400;border:1px solid #949494;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title{padding:24px}}.edit-post-text-editor .editor-post-title:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-left:auto;margin-right:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;left:0;right:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 auto 0 0;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;background-color:#2f2f2f;flex:1 0 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}.edit-post-visual-editor__post-title-wrapper{margin-top:4rem;margin-bottom:var(--wp--style--block-gap)}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin-left:auto;margin-right:auto}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;left:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative;display:flex;flex-grow:1}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}@media (min-width:600px){.edit-post-header__settings{padding-right:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-right:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-left:8px;margin-right:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-left:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:8px;padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:12px;padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-list-view,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 6px 6px 40px;width:14.625rem;text-align:left;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 6px 6px 8px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-left:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-right:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#1e1e1e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-post-header-toolbar .block-editor-list-view{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-list-view{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-left:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-right:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-left:8px}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-right:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{left:0;right:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-left:-12px;margin-right:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-right:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 0 0 1rem;text-align:right}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0;clear:both}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:281px;border-left:1px solid #ddd;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-block-manager__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-block-manager__search{margin:16px 0}.edit-post-block-manager__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;box-shadow:-32px 0 0 0 #fff,32px 0 0 0 #fff;padding:8px;background-color:#fff;text-align:center;font-style:italic;position:sticky;top:-1px;z-index:2}.edit-post-block-manager__disabled-blocks-count~.edit-post-block-manager__results .edit-post-block-manager__category-title{top:35px}.edit-post-block-manager__category{margin:0 0 24px}.edit-post-block-manager__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-block-manager__category-title .components-checkbox-control__label{font-weight:600}.edit-post-block-manager__show-all{margin-right:8px}.edit-post-block-manager__checklist{margin-top:0}.edit-post-block-manager__category-title,.edit-post-block-manager__checklist-item{border-bottom:1px solid #ddd}.edit-post-block-manager__category-title .components-base-control__field,.edit-post-block-manager__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-block-manager__checklist-item{margin-bottom:0;padding-left:16px}.components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-block-manager__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:8px 0}.edit-post-block-manager__checklist-item .block-editor-block-icon{margin-right:10px;fill:#1e1e1e}.edit-post-block-manager__results{border-top:1px solid #ddd}.edit-post-block-manager__disabled-blocks-count+.edit-post-block-manager__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area .postbox-header{border-top:1px solid #ddd;border-bottom:0}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:0 24px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{color:inherit;padding:0 24px 24px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (max-width:781px){.edit-post-preferences-modal .components-modal__content{padding:0}.edit-post-preferences-modal .components-modal__content:before{content:none}.edit-post-preferences-modal .components-navigator-provider{height:100%}}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{position:absolute;top:84px;left:16px;width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{padding-left:24px;margin-left:160px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600;margin-top:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 0 8px 58px;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px 6px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}@media (min-width:782px){.edit-post-template__modal .components-base-control{width:320px}}.edit-post-template__modal .components-modal__header{border-bottom:none}.edit-post-template__modal .components-modal__content:before{margin-bottom:4px}.edit-post-template__modal-actions{margin-top:12px}.edit-post-template-modal__tip{padding:16px 24px;background:#f0f0f0;border-radius:2px}@media (min-width:782px){.edit-post-template-modal__tip{width:240px}}.edit-post-template__actions button:not(:last-child){margin-right:8px}h2.edit-post-template-summary__title{line-height:24px;margin:0 0 4px;font-weight:500}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title{max-width:none;line-height:1.4;font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400;border:1px solid #949494;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title{padding:24px}}.edit-post-text-editor .editor-post-title:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-left:auto;margin-right:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;left:0;right:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 auto 0 0;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;background-color:#2f2f2f;flex:1 0 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}.edit-post-visual-editor__post-title-wrapper{margin-top:4rem;margin-bottom:var(--wp--style--block-gap)}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin-left:auto;margin-right:auto}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;left:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative;display:flex;flex-grow:1}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/js/dist/a11y.js b/wp-includes/js/dist/a11y.js index ba77e43f85..be0dbee1e8 100644 --- a/wp-includes/js/dist/a11y.js +++ b/wp-includes/js/dist/a11y.js @@ -152,7 +152,8 @@ function addIntroText() { * * @return {HTMLDivElement} The ARIA live region HTML element. */ -function addContainer(ariaLive = 'polite') { +function addContainer() { + let ariaLive = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'polite'; const container = document.createElement('div'); container.id = `a11y-speak-${ariaLive}`; container.className = 'a11y-speak-region'; diff --git a/wp-includes/js/dist/a11y.min.js b/wp-includes/js/dist/a11y.min.js index b0e5bb5e2f..0fb49858b8 100644 --- a/wp-includes/js/dist/a11y.min.js +++ b/wp-includes/js/dist/a11y.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="jncB")}({Y8OO:function(t,e){t.exports=window.wp.domReady},jncB:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var i=n("Y8OO"),o=n.n(i),r=n("l3Sj");function a(t="polite"){const e=document.createElement("div");e.id="a11y-speak-"+t,e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");const{body:n}=document;return n&&n.appendChild(e),e}let p="";function u(){const t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){const t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(r.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");const{body:e}=document;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){const t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text");for(let e=0;e]+>/g," "),p===t&&(t+=" "),p=t,t}(t);const n=document.getElementById("a11y-speak-intro-text"),i=document.getElementById("a11y-speak-assertive"),o=document.getElementById("a11y-speak-polite");i&&"assertive"===e?i.textContent=t:o&&(o.textContent=t),n&&n.removeAttribute("hidden")}o()(u)},l3Sj:function(t,e){t.exports=window.wp.i18n}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="jncB")}({Y8OO:function(t,e){t.exports=window.wp.domReady},jncB:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var i=n("Y8OO"),o=n.n(i),r=n("l3Sj");function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite";const e=document.createElement("div");e.id="a11y-speak-"+t,e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");const{body:n}=document;return n&&n.appendChild(e),e}let p="";function u(){const t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){const t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(r.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");const{body:e}=document;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){const t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text");for(let e=0;e]+>/g," "),p===t&&(t+=" "),p=t,t}(t);const n=document.getElementById("a11y-speak-intro-text"),i=document.getElementById("a11y-speak-assertive"),o=document.getElementById("a11y-speak-polite");i&&"assertive"===e?i.textContent=t:o&&(o.textContent=t),n&&n.removeAttribute("hidden")}o()(u)},l3Sj:function(t,e){t.exports=window.wp.i18n}}); \ No newline at end of file diff --git a/wp-includes/js/dist/annotations.js b/wp-includes/js/dist/annotations.js index c9ea499d55..803010cdfb 100644 --- a/wp-includes/js/dist/annotations.js +++ b/wp-includes/js/dist/annotations.js @@ -155,7 +155,8 @@ const ANNOTATION_ATTRIBUTE_PREFIX = 'annotation-text-'; * @return {Object} A record with the annotations applied. */ -function applyAnnotations(record, annotations = []) { +function applyAnnotations(record) { + let annotations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; annotations.forEach(annotation => { let { start, @@ -235,10 +236,11 @@ function retrieveAnnotationPositions(formats) { */ -function updateAnnotationsWithPositions(annotations, positions, { - removeAnnotation, - updateAnnotationRange -}) { +function updateAnnotationsWithPositions(annotations, positions, _ref) { + let { + removeAnnotation, + updateAnnotationRange + } = _ref; annotations.forEach(currentAnnotation => { const position = positions[currentAnnotation.id]; // If we cannot find an annotation, delete it. @@ -274,18 +276,20 @@ const annotation_annotation = { return null; }, - __experimentalGetPropsForEditableTreePreparation(select, { - richTextIdentifier, - blockClientId - }) { + __experimentalGetPropsForEditableTreePreparation(select, _ref2) { + let { + richTextIdentifier, + blockClientId + } = _ref2; return { annotations: select(STORE_NAME).__experimentalGetAnnotationsForRichText(blockClientId, richTextIdentifier) }; }, - __experimentalCreatePrepareEditableTree({ - annotations - }) { + __experimentalCreatePrepareEditableTree(_ref3) { + let { + annotations + } = _ref3; return (formats, text) => { if (annotations.length === 0) { return formats; @@ -365,10 +369,12 @@ var external_wp_data_ = __webpack_require__("1ZqX"); */ const addAnnotationClassName = OriginalComponent => { - return Object(external_wp_data_["withSelect"])((select, { - clientId, - className - }) => { + return Object(external_wp_data_["withSelect"])((select, _ref) => { + let { + clientId, + className + } = _ref; + const annotations = select(STORE_NAME).__experimentalGetAnnotationsForBlock(clientId); return { @@ -424,9 +430,12 @@ function isValidAnnotationRange(annotation) { */ -function reducer_annotations(state = {}, action) { +function reducer_annotations() { var _state$blockClientId; + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'ANNOTATION_ADD': const blockClientId = action.blockClientId; @@ -612,14 +621,15 @@ var v4 = __webpack_require__("7Cbv"); * @return {Object} Action object. */ -function __experimentalAddAnnotation({ - blockClientId, - richTextIdentifier = null, - range = null, - selector = 'range', - source = 'default', - id = Object(v4["a" /* default */])() -}) { +function __experimentalAddAnnotation(_ref) { + let { + blockClientId, + richTextIdentifier = null, + range = null, + selector = 'range', + source = 'default', + id = Object(v4["a" /* default */])() + } = _ref; const action = { type: 'ANNOTATION_ADD', id, diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js index 8f11433e20..4b3bf5034b 100644 --- a/wp-includes/js/dist/annotations.min.js +++ b/wp-includes/js/dist/annotations.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.annotations=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="23Y4")}({"1ZqX":function(t,e){t.exports=window.wp.data},"23Y4":function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return j}));var r={};n.r(r),n.d(r,"__experimentalGetAnnotationsForBlock",(function(){return h})),n.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return x})),n.d(r,"__experimentalGetAnnotationsForRichText",(function(){return _})),n.d(r,"__experimentalGetAnnotations",(function(){return A}));var o={};n.r(o),n.d(o,"__experimentalAddAnnotation",(function(){return y})),n.d(o,"__experimentalRemoveAnnotation",(function(){return N})),n.d(o,"__experimentalUpdateAnnotationRange",(function(){return T})),n.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return w}));var a=n("qRz9"),i=n("l3Sj");const u="core/annotations";const l={name:"core/annotation",title:Object(i.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:()=>null,__experimentalGetPropsForEditableTreePreparation:(t,{richTextIdentifier:e,blockClientId:n})=>({annotations:t(u).__experimentalGetAnnotationsForRichText(n,e)}),__experimentalCreatePrepareEditableTree:({annotations:t})=>(e,n)=>{if(0===t.length)return e;let r={formats:e,text:n};return r=function(t,e=[]){return e.forEach(e=>{let{start:n,end:r}=e;n>t.text.length&&(n=t.text.length),r>t.text.length&&(r=t.text.length);const o="annotation-text-"+e.source,i="annotation-text-"+e.id;t=Object(a.applyFormat)(t,{type:"core/annotation",attributes:{className:o,id:i}},n,r)}),t}(r,t),r.formats},__experimentalGetPropsForEditableTreeChangeHandler:t=>({removeAnnotation:t(u).__experimentalRemoveAnnotation,updateAnnotationRange:t(u).__experimentalUpdateAnnotationRange}),__experimentalCreateOnChangeEditableValue:t=>e=>{const n=function(t){const e={};return t.forEach((t,n)=>{(t=(t=t||[]).filter(t=>"core/annotation"===t.type)).forEach(t=>{let{id:r}=t.attributes;r=r.replace("annotation-text-",""),e.hasOwnProperty(r)||(e[r]={start:n}),e[r].end=n+1})}),e}(e),{removeAnnotation:r,updateAnnotationRange:o,annotations:a}=t;!function(t,e,{removeAnnotation:n,updateAnnotationRange:r}){t.forEach(t=>{const o=e[t.id];if(!o)return void n(t.id);const{start:a,end:i}=t;a===o.start&&i===o.end||r(t.id,o.start,o.end)})}(a,n,{removeAnnotation:r,updateAnnotationRange:o})}},{name:c,...s}=l;Object(a.registerFormatType)(c,s);var d=n("g56x"),f=n("1ZqX");Object(d.addFilter)("editor.BlockListBlock","core/annotations",t=>Object(f.withSelect)((t,{clientId:e,className:n})=>({className:t(u).__experimentalGetAnnotationsForBlock(e).map(t=>"is-annotated-by-"+t.source).concat(n).filter(Boolean).join(" ")}))(t));var p=n("YLtl");function v(t,e){const n=t.filter(e);return t.length===n.length?t:n}var m=function(t={},e){var n,r;switch(e.type){case"ANNOTATION_ADD":const o=e.blockClientId,a={id:e.id,blockClientId:o,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===a.selector&&(r=a.range,!(Object(p.isNumber)(r.start)&&Object(p.isNumber)(r.end)&&r.start<=r.end)))return t;const i=null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[];return{...t,[o]:[...i,a]};case"ANNOTATION_REMOVE":return Object(p.mapValues)(t,t=>v(t,t=>t.id!==e.annotationId));case"ANNOTATION_UPDATE_RANGE":return Object(p.mapValues)(t,t=>{let n=!1;const r=t.map(t=>t.id===e.annotationId?(n=!0,{...t,range:{start:e.start,end:e.end}}):t);return n?r:t});case"ANNOTATION_REMOVE_SOURCE":return Object(p.mapValues)(t,t=>v(t,t=>t.source!==e.source))}return t},g=n("pPDe");const b=[],h=Object(g.a)((t,e)=>{var n;return(null!==(n=null==t?void 0:t[e])&&void 0!==n?n:[]).filter(t=>"block"===t.selector)},(t,e)=>{var n;return[null!==(n=null==t?void 0:t[e])&&void 0!==n?n:b]});function x(t,e){var n;return null!==(n=null==t?void 0:t[e])&&void 0!==n?n:b}const _=Object(g.a)((t,e,n)=>{var r;return(null!==(r=null==t?void 0:t[e])&&void 0!==r?r:[]).filter(t=>"range"===t.selector&&n===t.richTextIdentifier).map(t=>{const{range:e,...n}=t;return{...e,...n}})},(t,e)=>{var n;return[null!==(n=null==t?void 0:t[e])&&void 0!==n?n:b]});function A(t){return Object(p.flatMap)(t,t=>t)}var O=n("7Cbv");function y({blockClientId:t,richTextIdentifier:e=null,range:n=null,selector:r="range",source:o="default",id:a=Object(O.a)()}){const i={type:"ANNOTATION_ADD",id:a,blockClientId:t,richTextIdentifier:e,source:o,selector:r};return"range"===r&&(i.range=n),i}function N(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function T(t,e,n){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:e,end:n}}function w(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}const j=Object(f.createReduxStore)(u,{reducer:m,selectors:r,actions:o});Object(f.register)(j)},"7Cbv":function(t,e,n){"use strict";var r,o=new Uint8Array(16);function a(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var u=function(t){return"string"==typeof t&&i.test(t)},l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));var s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();if(!u(n))throw TypeError("Stringified UUID is invalid");return n};e.a=function(t,e,n){var r=(t=t||{}).random||(t.rng||a)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var o=0;o<16;++o)e[n+o]=r[o];return e}return s(r)}},YLtl:function(t,e){t.exports=window.lodash},g56x:function(t,e){t.exports=window.wp.hooks},l3Sj:function(t,e){t.exports=window.wp.i18n},pPDe:function(t,e,n){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;rnull,__experimentalGetPropsForEditableTreePreparation(t,e){let{richTextIdentifier:n,blockClientId:r}=e;return{annotations:t(u).__experimentalGetAnnotationsForRichText(r,n)}},__experimentalCreatePrepareEditableTree(t){let{annotations:e}=t;return(t,n)=>{if(0===e.length)return t;let r={formats:t,text:n};return r=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(e=>{let{start:n,end:r}=e;n>t.text.length&&(n=t.text.length),r>t.text.length&&(r=t.text.length);const o="annotation-text-"+e.source,i="annotation-text-"+e.id;t=Object(a.applyFormat)(t,{type:"core/annotation",attributes:{className:o,id:i}},n,r)}),t}(r,e),r.formats}},__experimentalGetPropsForEditableTreeChangeHandler:t=>({removeAnnotation:t(u).__experimentalRemoveAnnotation,updateAnnotationRange:t(u).__experimentalUpdateAnnotationRange}),__experimentalCreateOnChangeEditableValue:t=>e=>{const n=function(t){const e={};return t.forEach((t,n)=>{(t=(t=t||[]).filter(t=>"core/annotation"===t.type)).forEach(t=>{let{id:r}=t.attributes;r=r.replace("annotation-text-",""),e.hasOwnProperty(r)||(e[r]={start:n}),e[r].end=n+1})}),e}(e),{removeAnnotation:r,updateAnnotationRange:o,annotations:a}=t;!function(t,e,n){let{removeAnnotation:r,updateAnnotationRange:o}=n;t.forEach(t=>{const n=e[t.id];if(!n)return void r(t.id);const{start:a,end:i}=t;a===n.start&&i===n.end||o(t.id,n.start,n.end)})}(a,n,{removeAnnotation:r,updateAnnotationRange:o})}},{name:c,...s}=l;Object(a.registerFormatType)(c,s);var d=n("g56x"),f=n("1ZqX");Object(d.addFilter)("editor.BlockListBlock","core/annotations",t=>Object(f.withSelect)((t,e)=>{let{clientId:n,className:r}=e;return{className:t(u).__experimentalGetAnnotationsForBlock(n).map(t=>"is-annotated-by-"+t.source).concat(r).filter(Boolean).join(" ")}})(t));var p=n("YLtl");function v(t,e){const n=t.filter(e);return t.length===n.length?t:n}function g(t){return Object(p.isNumber)(t.start)&&Object(p.isNumber)(t.end)&&t.start<=t.end}var m=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"ANNOTATION_ADD":const r=n.blockClientId,o={id:n.id,blockClientId:r,richTextIdentifier:n.richTextIdentifier,source:n.source,selector:n.selector,range:n.range};if("range"===o.selector&&!g(o.range))return e;const a=null!==(t=null==e?void 0:e[r])&&void 0!==t?t:[];return{...e,[r]:[...a,o]};case"ANNOTATION_REMOVE":return Object(p.mapValues)(e,t=>v(t,t=>t.id!==n.annotationId));case"ANNOTATION_UPDATE_RANGE":return Object(p.mapValues)(e,t=>{let e=!1;const r=t.map(t=>t.id===n.annotationId?(e=!0,{...t,range:{start:n.start,end:n.end}}):t);return e?r:t});case"ANNOTATION_REMOVE_SOURCE":return Object(p.mapValues)(e,t=>v(t,t=>t.source!==n.source))}return e},h=n("pPDe");const b=[],x=Object(h.a)((t,e)=>{var n;return(null!==(n=null==t?void 0:t[e])&&void 0!==n?n:[]).filter(t=>"block"===t.selector)},(t,e)=>{var n;return[null!==(n=null==t?void 0:t[e])&&void 0!==n?n:b]});function _(t,e){var n;return null!==(n=null==t?void 0:t[e])&&void 0!==n?n:b}const A=Object(h.a)((t,e,n)=>{var r;return(null!==(r=null==t?void 0:t[e])&&void 0!==r?r:[]).filter(t=>"range"===t.selector&&n===t.richTextIdentifier).map(t=>{const{range:e,...n}=t;return{...e,...n}})},(t,e)=>{var n;return[null!==(n=null==t?void 0:t[e])&&void 0!==n?n:b]});function O(t){return Object(p.flatMap)(t,t=>t)}var y=n("7Cbv");function N(t){let{blockClientId:e,richTextIdentifier:n=null,range:r=null,selector:o="range",source:a="default",id:i=Object(y.a)()}=t;const u={type:"ANNOTATION_ADD",id:i,blockClientId:e,richTextIdentifier:n,source:a,selector:o};return"range"===o&&(u.range=r),u}function T(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function w(t,e,n){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:e,end:n}}function j(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}const R=Object(f.createReduxStore)(u,{reducer:m,selectors:r,actions:o});Object(f.register)(R)},"7Cbv":function(t,e,n){"use strict";var r,o=new Uint8Array(16);function a(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var u=function(t){return"string"==typeof t&&i.test(t)},l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));var s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();if(!u(n))throw TypeError("Stringified UUID is invalid");return n};e.a=function(t,e,n){var r=(t=t||{}).random||(t.rng||a)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var o=0;o<16;++o)e[n+o]=r[o];return e}return s(r)}},YLtl:function(t,e){t.exports=window.lodash},g56x:function(t,e){t.exports=window.wp.hooks},l3Sj:function(t,e){t.exports=window.wp.i18n},pPDe:function(t,e,n){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;r ({ ...options, - url: url && Object(external_wp_url_["addQueryArgs"])(url, queryArgs), - path: path && Object(external_wp_url_["addQueryArgs"])(path, queryArgs) -}); +const modifyQuery = (_ref, queryArgs) => { + let { + path, + url, + ...options + } = _ref; + return { ...options, + url: url && Object(external_wp_url_["addQueryArgs"])(url, queryArgs), + path: path && Object(external_wp_url_["addQueryArgs"])(path, queryArgs) + }; +}; /** * Duplicates parsing functionality from apiFetch. * @@ -495,7 +498,9 @@ const userLocaleMiddleware = (options, next) => { * @return {Promise | null | Response} Parsed response. */ -const response_parseResponse = (response, shouldParseResponse = true) => { +const response_parseResponse = function (response) { + let shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + if (shouldParseResponse) { if (response.status === 204) { return null; @@ -539,7 +544,8 @@ const parseJsonAndNormalizeError = response => { */ -const parseResponseAndNormalizeError = (response, shouldParseResponse = true) => { +const parseResponseAndNormalizeError = function (response) { + let shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; return Promise.resolve(response_parseResponse(response, shouldParseResponse)).catch(res => parseAndThrowError(res, shouldParseResponse)); }; /** @@ -550,7 +556,9 @@ const parseResponseAndNormalizeError = (response, shouldParseResponse = true) => * @return {Promise} Parsed response. */ -function parseAndThrowError(response, shouldParseResponse = true) { +function parseAndThrowError(response) { + let shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + if (!shouldParseResponse) { throw response; } diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js index 02597748b9..58eb28e50f 100644 --- a/wp-includes/js/dist/api-fetch.min.js +++ b/wp-includes/js/dist/api-fetch.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.apiFetch=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="jqrR")}({Mmq9:function(e,t){e.exports=window.wp.url},jqrR:function(e,t,r){"use strict";r.r(t);var n=r("l3Sj");var o=function(e){const t=(e,r)=>{const{headers:n={}}=e;for(const o in n)if("x-wp-nonce"===o.toLowerCase()&&n[o]===t.nonce)return r(e);return r({...e,headers:{...n,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t};var a=(e,t)=>{let r,n,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),n=e.endpoint.replace(/^\//,""),o=n?r+"/"+n:r),delete e.namespace,delete e.endpoint,t({...e,path:o})};var s=e=>(t,r)=>a(t,t=>{let n,o=t.url,a=t.path;return"string"==typeof a&&(n=e,-1!==e.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(a=a.replace("?","&")),o=n+a),r({...t,url:o})}),c=r("Mmq9");var i=function(e){const t=Object.keys(e).reduce((t,r)=>(t[Object(c.normalizePath)(r)]=e[r],t),{});return(e,r)=>{const{parse:n=!0}=e;let o=e.path;if(!o&&e.url){const t=Object(c.getQueryArg)(e.url,"rest_route");"string"==typeof t&&(o=t)}if("string"==typeof o){const r=e.method||"GET",a=Object(c.normalizePath)(o);if("GET"===r&&t[a]){const e=t[a];return delete t[a],Promise.resolve(n?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}if("OPTIONS"===r&&t[r]&&t[r][a]){const e=t[r][a];return delete t[r][a],Promise.resolve(n?e.body:e)}}return r(e)}};const u=({path:e,url:t,...r},n)=>({...r,url:t&&Object(c.addQueryArgs)(t,n),path:e&&Object(c.addQueryArgs)(e,n)}),d=e=>e.json?e.json():Promise.reject(e),l=e=>{const{next:t}=(e=>{if(!e)return{};const t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}})(e.headers.get("link"));return t};var p=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),r=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||r})(e))return t(e);const r=await P({...u(e,{per_page:100}),parse:!1}),n=await d(r);if(!Array.isArray(n))return n;let o=l(r);if(!o)return n;let a=[].concat(n);for(;o;){const t=await P({...e,path:void 0,url:o,parse:!1}),r=await d(t);a=a.concat(r),o=l(t)}return a};const f=new Set(["PATCH","PUT","DELETE"]),h="GET";const w=(e,t=!0)=>Promise.resolve(((e,t=!0)=>t?204===e.status?null:e.json?e.json():Promise.reject(e):e)(e,t)).catch(e=>m(e,t));function m(e,t=!0){if(!t)throw e;return(e=>{const t={code:"invalid_json",message:Object(n.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch(()=>{throw t})})(e).then(e=>{const t={code:"unknown_error",message:Object(n.__)("An unknown error occurred.")};throw e||t})}var y=(e,t)=>{if(!function(e){const t=!!e.method&&"POST"===e.method;return(!!e.path&&-1!==e.path.indexOf("/wp/v2/media")||!!e.url&&-1!==e.url.indexOf("/wp/v2/media"))&&t}(e))return t(e);let r=0;const o=e=>(r++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>r<5?o(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject())));return t({...e,parse:!1}).catch(t=>{const r=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&r?o(r).catch(()=>!1!==e.parse?Promise.reject({code:"post_process",message:Object(n.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t)):m(t,e.parse)}).then(t=>w(t,e.parse))};const j={Accept:"application/json, */*;q=0.1"},g={credentials:"include"},O=[(e,t)=>("string"!=typeof e.url||Object(c.hasQueryArg)(e.url,"_locale")||(e.url=Object(c.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(c.hasQueryArg)(e.path,"_locale")||(e.path=Object(c.addQueryArgs)(e.path,{_locale:"user"})),t(e)),a,(e,t)=>{const{method:r=h}=e;return f.has(r.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":r,"Content-Type":"application/json"},method:"POST"}),t(e)},p];const b=e=>{if(e.status>=200&&e.status<300)return e;throw e};let v=e=>{const{url:t,path:r,data:o,parse:a=!0,...s}=e;let{body:c,headers:i}=e;i={...j,...i},o&&(c=JSON.stringify(o),i["Content-Type"]="application/json");return window.fetch(t||r||window.location.href,{...g,...s,body:c,headers:i}).then(e=>Promise.resolve(e).then(b).catch(e=>m(e,a)).then(e=>w(e,a)),e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:Object(n.__)("You are probably offline.")}})};function _(e){return O.reduceRight((e,t)=>r=>t(r,e),v)(e).catch(t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(_.nonceEndpoint).then(b).then(e=>e.text()).then(t=>(_.nonceMiddleware.nonce=t,_(e))))}_.use=function(e){O.unshift(e)},_.setFetchHandler=function(e){v=e},_.createNonceMiddleware=o,_.createPreloadingMiddleware=i,_.createRootURLMiddleware=s,_.fetchAllMiddleware=p,_.mediaUploadMiddleware=y;var P=t.default=_},l3Sj:function(e,t){e.exports=window.wp.i18n}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.apiFetch=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="jqrR")}({Mmq9:function(e,t){e.exports=window.wp.url},jqrR:function(e,t,r){"use strict";r.r(t);var n=r("l3Sj");var o=function(e){const t=(e,r)=>{const{headers:n={}}=e;for(const o in n)if("x-wp-nonce"===o.toLowerCase()&&n[o]===t.nonce)return r(e);return r({...e,headers:{...n,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t};var a=(e,t)=>{let r,n,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),n=e.endpoint.replace(/^\//,""),o=n?r+"/"+n:r),delete e.namespace,delete e.endpoint,t({...e,path:o})};var s=e=>(t,r)=>a(t,t=>{let n,o=t.url,a=t.path;return"string"==typeof a&&(n=e,-1!==e.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(a=a.replace("?","&")),o=n+a),r({...t,url:o})}),c=r("Mmq9");var i=function(e){const t=Object.keys(e).reduce((t,r)=>(t[Object(c.normalizePath)(r)]=e[r],t),{});return(e,r)=>{const{parse:n=!0}=e;let o=e.path;if(!o&&e.url){const t=Object(c.getQueryArg)(e.url,"rest_route");"string"==typeof t&&(o=t)}if("string"==typeof o){const r=e.method||"GET",a=Object(c.normalizePath)(o);if("GET"===r&&t[a]){const e=t[a];return delete t[a],Promise.resolve(n?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}if("OPTIONS"===r&&t[r]&&t[r][a]){const e=t[r][a];return delete t[r][a],Promise.resolve(n?e.body:e)}}return r(e)}};const u=(e,t)=>{let{path:r,url:n,...o}=e;return{...o,url:n&&Object(c.addQueryArgs)(n,t),path:r&&Object(c.addQueryArgs)(r,t)}},d=e=>e.json?e.json():Promise.reject(e),l=e=>{const{next:t}=(e=>{if(!e)return{};const t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}})(e.headers.get("link"));return t};var p=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),r=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||r})(e))return t(e);const r=await T({...u(e,{per_page:100}),parse:!1}),n=await d(r);if(!Array.isArray(n))return n;let o=l(r);if(!o)return n;let a=[].concat(n);for(;o;){const t=await T({...e,path:void 0,url:o,parse:!1}),r=await d(t);a=a.concat(r),o=l(t)}return a};const h=new Set(["PATCH","PUT","DELETE"]),f="GET";const w=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},m=e=>{const t={code:"invalid_json",message:Object(n.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch(()=>{throw t})},g=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(w(e,t)).catch(e=>y(e,t))};function y(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t)throw e;return m(e).then(e=>{const t={code:"unknown_error",message:Object(n.__)("An unknown error occurred.")};throw e||t})}var j=(e,t)=>{if(!function(e){const t=!!e.method&&"POST"===e.method;return(!!e.path&&-1!==e.path.indexOf("/wp/v2/media")||!!e.url&&-1!==e.url.indexOf("/wp/v2/media"))&&t}(e))return t(e);let r=0;const o=e=>(r++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>r<5?o(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject())));return t({...e,parse:!1}).catch(t=>{const r=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&r?o(r).catch(()=>!1!==e.parse?Promise.reject({code:"post_process",message:Object(n.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t)):y(t,e.parse)}).then(t=>g(t,e.parse))};const O={Accept:"application/json, */*;q=0.1"},b={credentials:"include"},v=[(e,t)=>("string"!=typeof e.url||Object(c.hasQueryArg)(e.url,"_locale")||(e.url=Object(c.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(c.hasQueryArg)(e.path,"_locale")||(e.path=Object(c.addQueryArgs)(e.path,{_locale:"user"})),t(e)),a,(e,t)=>{const{method:r=f}=e;return h.has(r.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":r,"Content-Type":"application/json"},method:"POST"}),t(e)},p];const _=e=>{if(e.status>=200&&e.status<300)return e;throw e};let P=e=>{const{url:t,path:r,data:o,parse:a=!0,...s}=e;let{body:c,headers:i}=e;i={...O,...i},o&&(c=JSON.stringify(o),i["Content-Type"]="application/json");return window.fetch(t||r||window.location.href,{...b,...s,body:c,headers:i}).then(e=>Promise.resolve(e).then(_).catch(e=>y(e,a)).then(e=>g(e,a)),e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:Object(n.__)("You are probably offline.")}})};function x(e){return v.reduceRight((e,t)=>r=>t(r,e),P)(e).catch(t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(x.nonceEndpoint).then(_).then(e=>e.text()).then(t=>(x.nonceMiddleware.nonce=t,x(e))))}x.use=function(e){v.unshift(e)},x.setFetchHandler=function(e){P=e},x.createNonceMiddleware=o,x.createPreloadingMiddleware=i,x.createRootURLMiddleware=s,x.fetchAllMiddleware=p,x.mediaUploadMiddleware=j;var T=t.default=x},l3Sj:function(e,t){e.exports=window.wp.i18n}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/autop.js b/wp-includes/js/dist/autop.js index f239526307..f9c19e1bf1 100644 --- a/wp-includes/js/dist/autop.js +++ b/wp-includes/js/dist/autop.js @@ -219,7 +219,8 @@ function replaceInHtmlTags(haystack, replacePairs) { */ -function autop(text, br = true) { +function autop(text) { + let br = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; const preTags = []; if (text.trim() === '') { diff --git a/wp-includes/js/dist/autop.min.js b/wp-includes/js/dist/autop.min.js index e454c94052..f150bb9814 100644 --- a/wp-includes/js/dist/autop.min.js +++ b/wp-includes/js/dist/autop.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.autop=function(e){var n={};function r(p){if(n[p])return n[p].exports;var t=n[p]={i:p,l:!1,exports:{}};return e[p].call(t.exports,t,t.exports,r),t.l=!0,t.exports}return r.m=e,r.c=n,r.d=function(e,n,p){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:p})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var p=Object.create(null);if(r.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)r.d(p,t,function(n){return e[n]}.bind(null,t));return p},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s="zbAn")}({zbAn:function(e,n,r){"use strict";r.r(n),r.d(n,"autop",(function(){return c})),r.d(n,"removep",(function(){return l}));const p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function t(e,n){const r=function(e){const n=[];let r,t=e;for(;r=t.match(p);){const e=r.index;n.push(t.slice(0,e)),n.push(r[0]),t=t.slice(e+r[0].length)}return t.length&&n.push(t),n}(e);let t=!1;const c=Object.keys(n);for(let e=1;e"),p=n.pop();e="";for(let p=0;p";r.push([l,t.substr(c)+""]),e+=t.substr(0,c)+l}e+=p}const p="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=t(e=(e=(e=(e=e.replace(/\s*/g,"\n\n")).replace(new RegExp("(<"+p+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("()","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("\s*/g,"")),-1!==e.indexOf("")&&(e=(e=(e=e.replace(/(]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("]*>)/,"$1")).replace(/<\/figcaption>\s*/,""));const c=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",c.forEach(n=>{e+="

"+n.replace(/^\n*|\n*$/g,"")+"

\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/

\s*<\/p>/g,"")).replace(/

([^<]+)<\/(div|address|form)>/g,"

$1

")).replace(new RegExp("

\\s*(]*>)\\s*

","g"),"$1")).replace(/

(/g,"$1")).replace(/

]*)>/gi,"

")).replace(/<\/blockquote><\/p>/g,"

")).replace(new RegExp("

\\s*(]*>)","g"),"$1")).replace(new RegExp("(]*>)\\s*

","g"),"$1"),n&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,e=>e[0].replace(/\n/g,""))).replace(/
|/g,"
")).replace(/(
)?\s*\n/g,(e,n)=>n?e:"
\n")).replace(//g,"\n")),e=(e=(e=e.replace(new RegExp("(]*>)\\s*
","g"),"$1")).replace(/
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"

"),r.forEach(n=>{const[r,p]=n;e=e.replace(r,p)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?\s?/g,"\n")),e}function l(e){const n="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",r=n+"|div|p",p=n+"|pre",t=[];let c=!1,l=!1;return e?(-1===e.indexOf("]*>[\s\S]*?<\/\1>/g,e=>(t.push(e),""))),-1!==e.indexOf("]*>[\s\S]+?<\/pre>/g,e=>(e=(e=e.replace(/
(\r\n|\n)?/g,"")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"")).replace(/\r?\n/g,""))),-1!==e.indexOf("[caption")&&(l=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,e=>e.replace(/]*)>/g,"").replace(/[\r\n\t]+/,""))),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*\\s*","g"),"\n")).replace(new RegExp("\\s*<((?:"+r+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(

]+>[\s\S]*?)<\/p>/g,"$1")).replace(/]*)?>\s*

/gi,"\n\n")).replace(/\s*

/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)
\s*/gi,(e,n)=>n&&-1!==n.indexOf("\n")?"\n\n":"\n")).replace(/\s*

\s*/g,"
\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+p+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*\\s*","g"),"\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("/g,"\n")),-1!==e.indexOf("]*)?>\s*/g,"\n\n\n\n")),-1!==e.indexOf("/g,e=>e.replace(/[\r\n]+/g,""))),e=(e=(e=(e=e.replace(/<\/p#>/g,"

\n")).replace(/\s*(

]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(//g,"\n")),l&&(e=e.replace(/]*)>/g,"")),t.length&&(e=e.replace(//g,()=>t.shift())),e):""}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.autop=function(e){var n={};function r(p){if(n[p])return n[p].exports;var t=n[p]={i:p,l:!1,exports:{}};return e[p].call(t.exports,t,t.exports,r),t.l=!0,t.exports}return r.m=e,r.c=n,r.d=function(e,n,p){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:p})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var p=Object.create(null);if(r.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)r.d(p,t,function(n){return e[n]}.bind(null,t));return p},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s="zbAn")}({zbAn:function(e,n,r){"use strict";r.r(n),r.d(n,"autop",(function(){return c})),r.d(n,"removep",(function(){return l}));const p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function t(e,n){const r=function(e){const n=[];let r,t=e;for(;r=t.match(p);){const e=r.index;n.push(t.slice(0,e)),n.push(r[0]),t=t.slice(e+r[0].length)}return t.length&&n.push(t),n}(e);let t=!1;const c=Object.keys(n);for(let e=1;e1&&void 0!==arguments[1])||arguments[1];const r=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf(""),p=n.pop();e="";for(let p=0;p";r.push([l,t.substr(c)+""]),e+=t.substr(0,c)+l}e+=p}const p="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=t(e=(e=(e=(e=e.replace(/\s*/g,"\n\n")).replace(new RegExp("(<"+p+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("()","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("\s*/g,"")),-1!==e.indexOf("")&&(e=(e=(e=e.replace(/(]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("]*>)/,"$1")).replace(/<\/figcaption>\s*/,""));const c=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",c.forEach(n=>{e+="

"+n.replace(/^\n*|\n*$/g,"")+"

\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/

\s*<\/p>/g,"")).replace(/

([^<]+)<\/(div|address|form)>/g,"

$1

")).replace(new RegExp("

\\s*(]*>)\\s*

","g"),"$1")).replace(/

(/g,"$1")).replace(/

]*)>/gi,"

")).replace(/<\/blockquote><\/p>/g,"

")).replace(new RegExp("

\\s*(]*>)","g"),"$1")).replace(new RegExp("(]*>)\\s*

","g"),"$1"),n&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,e=>e[0].replace(/\n/g,""))).replace(/
|/g,"
")).replace(/(
)?\s*\n/g,(e,n)=>n?e:"
\n")).replace(//g,"\n")),e=(e=(e=e.replace(new RegExp("(]*>)\\s*
","g"),"$1")).replace(/
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"

"),r.forEach(n=>{const[r,p]=n;e=e.replace(r,p)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?\s?/g,"\n")),e}function l(e){const n="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",r=n+"|div|p",p=n+"|pre",t=[];let c=!1,l=!1;return e?(-1===e.indexOf("]*>[\s\S]*?<\/\1>/g,e=>(t.push(e),""))),-1!==e.indexOf("]*>[\s\S]+?<\/pre>/g,e=>(e=(e=e.replace(/
(\r\n|\n)?/g,"")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"")).replace(/\r?\n/g,""))),-1!==e.indexOf("[caption")&&(l=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,e=>e.replace(/]*)>/g,"").replace(/[\r\n\t]+/,""))),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*\\s*","g"),"\n")).replace(new RegExp("\\s*<((?:"+r+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(

]+>[\s\S]*?)<\/p>/g,"$1")).replace(/]*)?>\s*

/gi,"\n\n")).replace(/\s*

/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)
\s*/gi,(e,n)=>n&&-1!==n.indexOf("\n")?"\n\n":"\n")).replace(/\s*

\s*/g,"
\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+p+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*\\s*","g"),"\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("/g,"\n")),-1!==e.indexOf("]*)?>\s*/g,"\n\n\n\n")),-1!==e.indexOf("/g,e=>e.replace(/[\r\n]+/g,""))),e=(e=(e=(e=e.replace(/<\/p#>/g,"

\n")).replace(/\s*(

]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(//g,"\n")),l&&(e=e.replace(/]*)>/g,"")),t.length&&(e=e.replace(//g,()=>t.shift())),e):""}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-directory.js b/wp-includes/js/dist/block-directory.js index 800ec5d376..09d18403d1 100644 --- a/wp-includes/js/dist/block-directory.js +++ b/wp-includes/js/dist/block-directory.js @@ -199,7 +199,10 @@ var external_lodash_ = __webpack_require__("YLtl"); * @return {Object} Updated state. */ -const downloadableBlocks = (state = {}, action) => { +const downloadableBlocks = function () { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'FETCH_DOWNLOADABLE_BLOCKS': return { ...state, @@ -228,10 +231,13 @@ const downloadableBlocks = (state = {}, action) => { * @return {Object} Updated state. */ -const blockManagement = (state = { - installedBlockTypes: [], - isInstalling: {} -}, action) => { +const blockManagement = function () { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { + installedBlockTypes: [], + isInstalling: {} + }; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'ADD_INSTALLED_BLOCK_TYPE': return { ...state, @@ -262,7 +268,10 @@ const blockManagement = (state = { * @return {Object} Updated state. */ -const errorNotices = (state = {}, action) => { +const errorNotices = function () { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'SET_ERROR_NOTICE': return { ...state, @@ -297,14 +306,19 @@ var external_wp_blockEditor_ = __webpack_require__("axFQ"); * * @return {boolean} Whether the blockType is found. */ -function hasBlockType(blockType, blocks = []) { +function hasBlockType(blockType) { + let blocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + if (!blocks.length) { return false; } - if (blocks.some(({ - name - }) => name === blockType.name)) { + if (blocks.some(_ref => { + let { + name + } = _ref; + return name === blockType.name; + })) { return true; } @@ -591,10 +605,11 @@ function receiveDownloadableBlocks(downloadableBlocks, filterValue) { * @return {boolean} Whether the block was successfully installed & loaded. */ -const actions_installBlockType = block => async ({ - registry, - dispatch -}) => { +const actions_installBlockType = block => async _ref => { + let { + registry, + dispatch + } = _ref; const { id } = block; @@ -678,10 +693,12 @@ const actions_installBlockType = block => async ({ * @param {Object} block The blockType object. */ -const actions_uninstallBlockType = block => async ({ - registry, - dispatch -}) => { +const actions_uninstallBlockType = block => async _ref2 => { + let { + registry, + dispatch + } = _ref2; + try { const url = getPluginUrl(block); await external_wp_apiFetch_default()({ @@ -756,7 +773,8 @@ function setIsInstalling(blockId, isInstalling) { * @return {Object} Action object. */ -function setErrorNotice(blockId, message, isFatal = false) { +function setErrorNotice(blockId, message) { + let isFatal = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; return { type: 'SET_ERROR_NOTICE', blockId, @@ -794,9 +812,11 @@ function clearErrorNotice(blockId) { */ -const resolvers_getDownloadableBlocks = filterValue => async ({ - dispatch -}) => { +const resolvers_getDownloadableBlocks = filterValue => async _ref => { + let { + dispatch + } = _ref; + if (!filterValue) { return; } @@ -947,9 +967,10 @@ var star_empty = __webpack_require__("Xxwi"); -function Stars({ - rating -}) { +function Stars(_ref) { + let { + rating + } = _ref; const stars = Math.round(rating / 0.5) * 0.5; const fullStarCount = Math.floor(rating); const halfStarCount = Math.ceil(rating - fullStarCount); @@ -985,13 +1006,16 @@ function Stars({ * Internal dependencies */ -const BlockRatings = ({ - rating -}) => Object(external_wp_element_["createElement"])("span", { - className: "block-directory-block-ratings" -}, Object(external_wp_element_["createElement"])(block_ratings_stars, { - rating: rating -})); +const BlockRatings = _ref => { + let { + rating + } = _ref; + return Object(external_wp_element_["createElement"])("span", { + className: "block-directory-block-ratings" + }, Object(external_wp_element_["createElement"])(block_ratings_stars, { + rating: rating + })); +}; /* harmony default export */ var block_ratings = (BlockRatings); // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-icon/index.js @@ -1002,9 +1026,10 @@ const BlockRatings = ({ */ -function DownloadableBlockIcon({ - icon -}) { +function DownloadableBlockIcon(_ref) { + let { + icon + } = _ref; const className = 'block-directory-downloadable-block-icon'; return icon.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/) !== null ? Object(external_wp_element_["createElement"])("img", { className: className, @@ -1032,9 +1057,10 @@ function DownloadableBlockIcon({ */ -const DownloadableBlockNotice = ({ - block -}) => { +const DownloadableBlockNotice = _ref => { + let { + block + } = _ref; const errorNotice = Object(external_wp_data_["useSelect"])(select => select(store).getErrorNoticeForBlock(block.id), [block]); if (!errorNotice) { @@ -1071,15 +1097,17 @@ const DownloadableBlockNotice = ({ // Return the appropriate block item label, given the block data and status. -function getDownloadableBlockLabel({ - title, - rating, - ratingCount -}, { - hasNotice, - isInstalled, - isInstalling -}) { +function getDownloadableBlockLabel(_ref, _ref2) { + let { + title, + rating, + ratingCount + } = _ref; + let { + hasNotice, + isInstalled, + isInstalling + } = _ref2; const stars = Math.round(rating / 0.5) * 0.5; if (!isInstalled && hasNotice) { @@ -1108,11 +1136,12 @@ function getDownloadableBlockLabel({ Object(external_wp_i18n_["_n"])('Install %1$s. %2$s stars with %3$s review.', 'Install %1$s. %2$s stars with %3$s reviews.', ratingCount), Object(external_wp_htmlEntities_["decodeEntities"])(title), stars, ratingCount); } -function DownloadableBlockListItem({ - composite, - item, - onClick -}) { +function DownloadableBlockListItem(_ref3) { + let { + composite, + item, + onClick + } = _ref3; const { author, description, @@ -1216,11 +1245,12 @@ function DownloadableBlockListItem({ -function DownloadableBlocksList({ - items, - onHover = external_lodash_["noop"], - onSelect -}) { +function DownloadableBlocksList(_ref) { + let { + items, + onHover = external_lodash_["noop"], + onSelect + } = _ref; const composite = Object(external_wp_components_["__unstableUseCompositeState"])(); const { installBlockType @@ -1275,11 +1305,12 @@ var external_wp_a11y_ = __webpack_require__("gdqT"); -function DownloadableBlocksInserterPanel({ - children, - downloadableItems, - hasLocalBlocks -}) { +function DownloadableBlocksInserterPanel(_ref) { + let { + children, + downloadableItems, + hasLocalBlocks + } = _ref; const count = downloadableItems.length; Object(external_wp_element_["useEffect"])(() => { Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["sprintf"])( @@ -1347,15 +1378,17 @@ function DownloadableBlocksNoResults() { -function DownloadableBlocksPanel({ - downloadableItems, - onSelect, - onHover, - hasLocalBlocks, - hasPermission, - isLoading, - isTyping -}) { +function DownloadableBlocksPanel(_ref) { + let { + downloadableItems, + onSelect, + onHover, + hasLocalBlocks, + hasPermission, + isLoading, + isTyping + } = _ref; + if (typeof hasPermission === 'undefined' || isLoading || isTyping) { return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, hasPermission && !hasLocalBlocks && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("p", { className: "block-directory-downloadable-blocks-panel__no-local" @@ -1384,10 +1417,11 @@ function DownloadableBlocksPanel({ })) : !hasLocalBlocks && Object(external_wp_element_["createElement"])(no_results, null); } -/* harmony default export */ var downloadable_blocks_panel = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, { - filterValue, - rootClientId = null -}) => { +/* harmony default export */ var downloadable_blocks_panel = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref2) => { + let { + filterValue, + rootClientId = null + } = _ref2; const { getDownloadableBlocks, isRequestingDownloadableBlocks @@ -1432,13 +1466,15 @@ function DownloadableBlocksPanel({ function InserterMenuDownloadableBlocksPanel() { const [debouncedFilterValue, setFilterValue] = Object(external_wp_element_["useState"])(''); const debouncedSetFilterValue = Object(external_lodash_["debounce"])(setFilterValue, 400); - return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableInserterMenuExtension"], null, ({ - onSelect, - onHover, - filterValue, - hasItems, - rootClientId - }) => { + return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableInserterMenuExtension"], null, _ref => { + let { + onSelect, + onHover, + filterValue, + hasItems, + rootClientId + } = _ref; + if (debouncedFilterValue !== filterValue) { debouncedSetFilterValue(filterValue); } @@ -1475,35 +1511,40 @@ var external_wp_editPost_ = __webpack_require__("BLhE"); */ -function CompactList({ - items -}) { +function CompactList(_ref) { + let { + items + } = _ref; + if (!items.length) { return null; } return Object(external_wp_element_["createElement"])("ul", { className: "block-directory-compact-list" - }, items.map(({ - icon, - id, - title, - author - }) => Object(external_wp_element_["createElement"])("li", { - key: id, - className: "block-directory-compact-list__item" - }, Object(external_wp_element_["createElement"])(downloadable_block_icon, { - icon: icon, - title: title - }), Object(external_wp_element_["createElement"])("div", { - className: "block-directory-compact-list__item-details" - }, Object(external_wp_element_["createElement"])("div", { - className: "block-directory-compact-list__item-title" - }, title), Object(external_wp_element_["createElement"])("div", { - className: "block-directory-compact-list__item-author" - }, Object(external_wp_i18n_["sprintf"])( - /* translators: %s: Name of the block author. */ - Object(external_wp_i18n_["__"])('By %s'), author)))))); + }, items.map(_ref2 => { + let { + icon, + id, + title, + author + } = _ref2; + return Object(external_wp_element_["createElement"])("li", { + key: id, + className: "block-directory-compact-list__item" + }, Object(external_wp_element_["createElement"])(downloadable_block_icon, { + icon: icon, + title: title + }), Object(external_wp_element_["createElement"])("div", { + className: "block-directory-compact-list__item-details" + }, Object(external_wp_element_["createElement"])("div", { + className: "block-directory-compact-list__item-title" + }, title), Object(external_wp_element_["createElement"])("div", { + className: "block-directory-compact-list__item-author" + }, Object(external_wp_i18n_["sprintf"])( + /* translators: %s: Name of the block author. */ + Object(external_wp_i18n_["__"])('By %s'), author)))); + })); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/installed-blocks-pre-publish-panel/index.js @@ -1557,11 +1598,12 @@ function InstalledBlocksPrePublishPanel() { */ -function InstallButton({ - attributes, - block, - clientId -}) { +function InstallButton(_ref) { + let { + attributes, + block, + clientId + } = _ref; const isInstallingBlock = Object(external_wp_data_["useSelect"])(select => select(store).isInstalling(block.id), [block.id]); const { installBlockType @@ -1622,9 +1664,12 @@ const getInstallMissing = OriginalComponent => props => { const { getDownloadableBlocks } = select(store); - const blocks = getDownloadableBlocks('block:' + originalName).filter(({ - name - }) => originalName === name); + const blocks = getDownloadableBlocks('block:' + originalName).filter(_ref => { + let { + name + } = _ref; + return originalName === name; + }); return { hasPermission: select(external_wp_coreData_["store"]).canUser('read', 'block-directory/search'), block: blocks.length && blocks[0] @@ -1640,10 +1685,11 @@ const getInstallMissing = OriginalComponent => props => { })); }; -const ModifiedWarning = ({ - originalBlock, - ...props -}) => { +const ModifiedWarning = _ref2 => { + let { + originalBlock, + ...props + } = _ref2; const { originalName, originalUndelimitedContent @@ -1873,11 +1919,12 @@ const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create * @return {JSX.Element} Icon component */ -function Icon({ - icon, - size = 24, - ...props -}) { +function Icon(_ref) { + let { + icon, + size = 24, + ...props + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, { width: size, height: size, diff --git a/wp-includes/js/dist/block-directory.min.js b/wp-includes/js/dist/block-directory.min.js index ecf3a66935..fe1b242271 100644 --- a/wp-includes/js/dist/block-directory.min.js +++ b/wp-includes/js/dist/block-directory.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockDirectory=function(e){var t={};function n(l){if(t[l])return t[l].exports;var c=t[l]={i:l,l:!1,exports:{}};return e[l].call(c.exports,c,c.exports,n),c.l=!0,c.exports}return n.m=e,n.c=t,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(n.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(l,c,function(t){return e[t]}.bind(null,c));return l},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="7f3f")}({"//Lo":function(e,t,n){"use strict";var l=n("GRId"),c=n("Tqx9");const o=Object(l.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(c.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=o},"1ZqX":function(e,t){e.exports=window.wp.data},"7f3f":function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return V}));var l={};n.r(l),n.d(l,"isRequestingDownloadableBlocks",(function(){return k})),n.d(l,"getDownloadableBlocks",(function(){return j})),n.d(l,"getInstalledBlockTypes",(function(){return f})),n.d(l,"getNewBlockTypes",(function(){return _})),n.d(l,"getUnusedBlockTypes",(function(){return g})),n.d(l,"isInstalling",(function(){return w})),n.d(l,"getErrorNotices",(function(){return E})),n.d(l,"getErrorNoticeForBlock",(function(){return y}));var c={};n.r(c),n.d(c,"fetchDownloadableBlocks",(function(){return L})),n.d(c,"receiveDownloadableBlocks",(function(){return S})),n.d(c,"installBlockType",(function(){return x})),n.d(c,"uninstallBlockType",(function(){return C})),n.d(c,"addInstalledBlockType",(function(){return R})),n.d(c,"removeInstalledBlockType",(function(){return D})),n.d(c,"setIsInstalling",(function(){return P})),n.d(c,"setErrorNotice",(function(){return M})),n.d(c,"clearErrorNotice",(function(){return A}));var o={};n.r(o),n.d(o,"getDownloadableBlocks",(function(){return F}));var r=n("GRId"),a=n("TvNi"),i=n("g56x"),s=n("HSyU"),d=n("1ZqX"),b=n("jSdM"),u=n("YLtl");var m=Object(d.combineReducers)({downloadableBlocks:(e={},t)=>{switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{isRequesting:!0}};case"RECEIVE_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{results:t.downloadableBlocks,isRequesting:!1}}}return e},blockManagement:(e={installedBlockTypes:[],isInstalling:{}},t)=>{switch(t.type){case"ADD_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:[...e.installedBlockTypes,t.item]};case"REMOVE_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:e.installedBlockTypes.filter(e=>e.name!==t.item.name)};case"SET_INSTALLING_BLOCK":return{...e,isInstalling:{...e.isInstalling,[t.blockId]:t.isInstalling}}}return e},errorNotices:(e={},t)=>{switch(t.type){case"SET_ERROR_NOTICE":return{...e,[t.blockId]:{message:t.message,isFatal:t.isFatal}};case"CLEAR_ERROR_NOTICE":return Object(u.omit)(e,t.blockId)}return e}}),p=n("axFQ");function O(e,t=[]){if(!t.length)return!1;if(t.some(({name:t})=>t===e.name))return!0;for(let n=0;nt=>{const n=e(p.store).getBlocks();return f(t).filter(e=>O(e,n))}),g=Object(d.createRegistrySelector)(e=>t=>{const n=e(p.store).getBlocks();return f(t).filter(e=>!O(e,n))});function w(e,t){return e.blockManagement.isInstalling[t]||!1}function E(e){return e.errorNotices}function y(e,t){return e.errorNotices[t]}var h=n("l3Sj"),v=n("ywyh"),B=n.n(v),I=n("onLe");const N=e=>new Promise((t,n)=>{const l=document.createElement(e.nodeName);["id","rel","src","href","type"].forEach(t=>{e[t]&&(l[t]=e[t])}),e.innerHTML&&l.appendChild(document.createTextNode(e.innerHTML)),l.onload=()=>t(!0),l.onerror=()=>n(new Error("Error loading asset.")),document.body.appendChild(l),("link"===l.nodeName.toLowerCase()||"script"===l.nodeName.toLowerCase()&&!l.src)&&t()});function T(e){if(!e)return!1;const t=e.links["wp:plugin"]||e.links.self;return!(!t||!t.length)&&t[0].href}function L(e){return{type:"FETCH_DOWNLOADABLE_BLOCKS",filterValue:e}}function S(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}const x=e=>async({registry:t,dispatch:n})=>{const{id:l}=e;let c=!1;n.clearErrorNotice(l);try{n.setIsInstalling(l,!0);const o=T(e);let r={};if(o)await B()({method:"PUT",url:o,data:{status:"active"}});else{r=(await B()({method:"POST",path:"wp/v2/plugins",data:{slug:l,status:"active"}}))._links}n.addInstalledBlockType({...e,links:{...e.links,...r}}),await async function(){const e=await B()({url:document.location.href,parse:!1}),t=await e.text(),n=(new window.DOMParser).parseFromString(t,"text/html"),l=Array.from(n.querySelectorAll('link[rel="stylesheet"],script')).filter(e=>e.id&&!document.getElementById(e.id));for(const e of l)await N(e)}();if(!t.select(s.store).getBlockTypes().some(t=>t.name===e.name))throw new Error(Object(h.__)("Error registering block. Try reloading the page."));t.dispatch(I.store).createInfoNotice(Object(h.sprintf)(Object(h.__)("Block %s installed and added."),e.title),{speak:!0,type:"snackbar"}),c=!0}catch(e){let c=e.message||Object(h.__)("An error occurred."),o=e instanceof Error;const r={folder_exists:Object(h.__)("This block is already installed. Try reloading the page."),unable_to_connect_to_filesystem:Object(h.__)("Error installing block. You can reload the page and try again.")};r[e.code]&&(o=!0,c=r[e.code]),n.setErrorNotice(l,c,o),t.dispatch(I.store).createErrorNotice(c,{speak:!0,isDismissible:!0})}return n.setIsInstalling(l,!1),c},C=e=>async({registry:t,dispatch:n})=>{try{const t=T(e);await B()({method:"PUT",url:t,data:{status:"inactive"}}),await B()({method:"DELETE",url:t}),n.removeInstalledBlockType(e)}catch(e){t.dispatch(I.store).createErrorNotice(e.message||Object(h.__)("An error occurred."))}};function R(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function D(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}function P(e,t){return{type:"SET_INSTALLING_BLOCK",blockId:e,isInstalling:t}}function M(e,t,n=!1){return{type:"SET_ERROR_NOTICE",blockId:e,message:t,isFatal:n}}function A(e){return{type:"CLEAR_ERROR_NOTICE",blockId:e}}const F=e=>async({dispatch:t})=>{if(e)try{t(L(e));const n=await B()({path:"wp/v2/block-directory/search?term="+e});t(S(n.map(e=>Object(u.mapKeys)(e,(e,t)=>Object(u.camelCase)(t))),e))}catch{}},H={reducer:m,selectors:l,actions:c,resolvers:o,__experimentalUseThunks:!0},V=Object(d.createReduxStore)("core/block-directory",H);function q(){const{uninstallBlockType:e}=Object(d.useDispatch)(V),t=Object(d.useSelect)(e=>{const{isAutosavingPost:t,isSavingPost:n}=e(b.store);return n()&&!t()},[]),n=Object(d.useSelect)(e=>e(V).getUnusedBlockTypes(),[]);return Object(r.useEffect)(()=>{t&&n.length&&n.forEach(t=>{e(t),Object(s.unregisterBlockType)(t.name)})},[t]),null}Object(d.register)(V);var U=n("tI+e"),K=n("K9lf"),G=n("jZUy"),z=n("wx14"),Y=n("rmEH"),$=n("iClF"),W=n("URob"),X=n("Tqx9");var Z=Object(r.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(X.Path,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})),Q=n("Xxwi");var J=function({rating:e}){const t=.5*Math.round(e/.5),n=Math.floor(e),l=Math.ceil(e-n),c=5-(n+l);return Object(r.createElement)("span",{"aria-label":Object(h.sprintf)(Object(h.__)("%s out of 5 stars"),t)},Object(u.times)(n,e=>Object(r.createElement)($.a,{key:"full_stars_"+e,className:"block-directory-block-ratings__star-full",icon:W.a,size:16})),Object(u.times)(l,e=>Object(r.createElement)($.a,{key:"half_stars_"+e,className:"block-directory-block-ratings__star-half-full",icon:Z,size:16})),Object(u.times)(c,e=>Object(r.createElement)($.a,{key:"empty_stars_"+e,className:"block-directory-block-ratings__star-empty",icon:Q.a,size:16})))};var ee=({rating:e})=>Object(r.createElement)("span",{className:"block-directory-block-ratings"},Object(r.createElement)(J,{rating:e}));var te=function({icon:e}){const t="block-directory-downloadable-block-icon";return null!==e.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/)?Object(r.createElement)("img",{className:t,src:e,alt:""}):Object(r.createElement)(p.BlockIcon,{className:t,icon:e,showColors:!0})};var ne=({block:e})=>{const t=Object(d.useSelect)(t=>t(V).getErrorNoticeForBlock(e.id),[e]);return t?Object(r.createElement)("div",{className:"block-directory-downloadable-block-notice"},Object(r.createElement)("div",{className:"block-directory-downloadable-block-notice__content"},t.message,t.isFatal?" "+Object(h.__)("Try reloading the page."):null)):null};function le({title:e,rating:t,ratingCount:n},{hasNotice:l,isInstalled:c,isInstalling:o}){const r=.5*Math.round(t/.5);return!c&&l?Object(h.sprintf)("Retry installing %s.",Object(Y.decodeEntities)(e)):c?Object(h.sprintf)("Add %s.",Object(Y.decodeEntities)(e)):o?Object(h.sprintf)("Installing %s.",Object(Y.decodeEntities)(e)):n<1?Object(h.sprintf)("Install %s.",Object(Y.decodeEntities)(e)):Object(h.sprintf)(Object(h._n)("Install %1$s. %2$s stars with %3$s review.","Install %1$s. %2$s stars with %3$s reviews.",n),Object(Y.decodeEntities)(e),r,n)}var ce=function({composite:e,item:t,onClick:n}){const{author:l,description:c,icon:o,rating:a,title:i}=t,b=!!Object(s.getBlockType)(t.name),{hasNotice:u,isInstalling:m,isInstallable:p}=Object(d.useSelect)(e=>{const{getErrorNoticeForBlock:n,isInstalling:l}=e(V),c=n(t.id),o=c&&c.isFatal;return{hasNotice:!!c,isInstalling:l(t.id),isInstallable:!o}},[t]);let O="";return b?O=Object(h.__)("Installed!"):m&&(O=Object(h.__)("Installing…")),Object(r.createElement)(U.__unstableCompositeItem,Object(z.a)({role:"option",as:U.Button},e,{className:"block-directory-downloadable-block-list-item",onClick:e=>{e.preventDefault(),n()},isBusy:m,disabled:m||!p,label:le(t,{hasNotice:u,isInstalled:b,isInstalling:m}),showTooltip:!0,tooltipPosition:"top center"}),Object(r.createElement)("div",{className:"block-directory-downloadable-block-list-item__icon"},Object(r.createElement)(te,{icon:o,title:i}),m?Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__spinner"},Object(r.createElement)(U.Spinner,null)):Object(r.createElement)(ee,{rating:a})),Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__details"},Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__title"},Object(r.createInterpolateElement)(Object(h.sprintf)(Object(h.__)("%1$s by %2$s"),Object(Y.decodeEntities)(i),l),{span:Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__author"})})),u?Object(r.createElement)(ne,{block:t}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__desc"},O||Object(Y.decodeEntities)(c)),p&&!(b||m)&&Object(r.createElement)(U.VisuallyHidden,null,Object(h.__)("Install block")))))};var oe=function({items:e,onHover:t=u.noop,onSelect:n}){const l=Object(U.__unstableUseCompositeState)(),{installBlockType:c}=Object(d.useDispatch)(V);return e.length?Object(r.createElement)(U.__unstableComposite,Object(z.a)({},l,{role:"listbox",className:"block-directory-downloadable-blocks-list","aria-label":Object(h.__)("Blocks available for install")}),e.map(e=>Object(r.createElement)(ce,{key:e.id,composite:l,onClick:()=>{Object(s.getBlockType)(e.name)?n(e):c(e).then(t=>{t&&n(e)}),t(null)},onHover:t,item:e}))):null},re=n("gdqT");var ae=function({children:e,downloadableItems:t,hasLocalBlocks:n}){const l=t.length;return Object(r.useEffect)(()=>{Object(re.speak)(Object(h.sprintf)(Object(h._n)("%d additional block is available to install.","%d additional blocks are available to install.",l),l))},[l]),Object(r.createElement)(r.Fragment,null,!n&&Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},Object(h.__)("No results available from your installed blocks.")),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel"},Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel__header"},Object(r.createElement)("h2",{className:"block-directory-downloadable-blocks-panel__title"},Object(h.__)("Available to install")),Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(h.__)("Select a block to install and add it to your post."))),e))},ie=n("//Lo");var se=function(){return Object(r.createElement)("div",{className:"block-editor-inserter__no-results"},Object(r.createElement)($.a,{className:"block-editor-inserter__no-results-icon",icon:ie.a}),Object(r.createElement)("p",null,Object(h.__)("No results found.")))};var de=Object(K.compose)([Object(d.withSelect)((e,{filterValue:t,rootClientId:n=null})=>{const{getDownloadableBlocks:l,isRequestingDownloadableBlocks:c}=e(V),{canInsertBlockType:o}=e(p.store),r=e(G.store).canUser("read","block-directory/search");return{downloadableItems:r?l(t).filter(e=>o(e,n,!0)):[],hasPermission:r,isLoading:c(t)}})])((function({downloadableItems:e,onSelect:t,onHover:n,hasLocalBlocks:l,hasPermission:c,isLoading:o,isTyping:a}){return void 0===c||o||a?Object(r.createElement)(r.Fragment,null,c&&!l&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},Object(h.__)("No results available from your installed blocks.")),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"})),Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel has-blocks-loading"},Object(r.createElement)(U.Spinner,null))):!1===c?l?null:Object(r.createElement)(se,null):e.length?Object(r.createElement)(ae,{downloadableItems:e,hasLocalBlocks:l},Object(r.createElement)(oe,{items:e,onSelect:t,onHover:n})):!l&&Object(r.createElement)(se,null)}));var be=function(){const[e,t]=Object(r.useState)(""),n=Object(u.debounce)(t,400);return Object(r.createElement)(p.__unstableInserterMenuExtension,null,({onSelect:t,onHover:l,filterValue:c,hasItems:o,rootClientId:a})=>(e!==c&&n(c),e?Object(r.createElement)(de,{onSelect:t,onHover:l,rootClientId:a,filterValue:e,hasLocalBlocks:o,isTyping:c!==e}):null))},ue=n("BLhE");function me({items:e}){return e.length?Object(r.createElement)("ul",{className:"block-directory-compact-list"},e.map(({icon:e,id:t,title:n,author:l})=>Object(r.createElement)("li",{key:t,className:"block-directory-compact-list__item"},Object(r.createElement)(te,{icon:e,title:n}),Object(r.createElement)("div",{className:"block-directory-compact-list__item-details"},Object(r.createElement)("div",{className:"block-directory-compact-list__item-title"},n),Object(r.createElement)("div",{className:"block-directory-compact-list__item-author"},Object(h.sprintf)(Object(h.__)("By %s"),l)))))):null}function pe(){const e=Object(d.useSelect)(e=>e(V).getNewBlockTypes(),[]);return e.length?Object(r.createElement)(ue.PluginPrePublishPanel,{icon:ie.a,title:Object(h.sprintf)(Object(h._n)("Added: %d block","Added: %d blocks",e.length),e.length),initialOpen:!0},Object(r.createElement)("p",{className:"installed-blocks-pre-publish-panel__copy"},Object(h._n)("The following block has been added to your site.","The following blocks have been added to your site.",e.length)),Object(r.createElement)(me,{items:e})):null}function Oe({attributes:e,block:t,clientId:n}){const l=Object(d.useSelect)(e=>e(V).isInstalling(t.id),[t.id]),{installBlockType:c}=Object(d.useDispatch)(V),{replaceBlock:o}=Object(d.useDispatch)(p.store);return Object(r.createElement)(U.Button,{onClick:()=>c(t).then(l=>{if(l){const l=Object(s.getBlockType)(t.name),[c]=Object(s.parse)(e.originalContent);c&&l&&o(n,Object(s.createBlock)(l.name,c.attributes,c.innerBlocks))}}),disabled:l,isBusy:l,variant:"primary"},Object(h.sprintf)(Object(h.__)("Install %s"),t.title))}const ke=({originalBlock:e,...t})=>{const{originalName:n,originalUndelimitedContent:l}=t.attributes,{replaceBlock:c}=Object(d.useDispatch)(p.store),o=()=>{c(t.clientId,Object(s.createBlock)("core/html",{content:l}))},a=!!l,i=Object(s.getBlockType)("core/html");let b=Object(h.sprintf)(Object(h.__)("Your site doesn’t include support for the %s block. You can try installing the block or remove it entirely."),e.title||n);const u=[Object(r.createElement)(Oe,{key:"install",block:e,attributes:t.attributes,clientId:t.clientId})];return a&&i&&(b=Object(h.sprintf)(Object(h.__)("Your site doesn’t include support for the %s block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely."),e.title||n),u.push(Object(r.createElement)(U.Button,{key:"convert",onClick:o,variant:"link"},Object(h.__)("Keep as HTML")))),Object(r.createElement)("div",Object(p.useBlockProps)(),Object(r.createElement)(p.Warning,{actions:u},b),Object(r.createElement)(r.RawHTML,null,l))};var je=e=>t=>{const{originalName:n}=t.attributes,{block:l,hasPermission:c}=Object(d.useSelect)(e=>{const{getDownloadableBlocks:t}=e(V),l=t("block:"+n).filter(({name:e})=>n===e);return{hasPermission:e(G.store).canUser("read","block-directory/search"),block:l.length&&l[0]}},[n]);return c&&l?Object(r.createElement)(ke,Object(z.a)({},t,{originalBlock:l})):Object(r.createElement)(e,t)};Object(a.registerPlugin)("block-directory",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(q,null),Object(r.createElement)(be,null),Object(r.createElement)(pe,null))}),Object(i.addFilter)("blocks.registerBlockType","block-directory/fallback",(e,t)=>("core/missing"!==t||(e.edit=je(e.edit)),e))},BLhE:function(e,t){e.exports=window.wp.editPost},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},K9lf:function(e,t){e.exports=window.wp.compose},Tqx9:function(e,t){e.exports=window.wp.primitives},TvNi:function(e,t){e.exports=window.wp.plugins},URob:function(e,t,n){"use strict";var l=n("GRId"),c=n("Tqx9");const o=Object(l.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(c.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"}));t.a=o},Xxwi:function(e,t,n){"use strict";var l=n("GRId"),c=n("Tqx9");const o=Object(l.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(c.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"}));t.a=o},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},g56x:function(e,t){e.exports=window.wp.hooks},gdqT:function(e,t){e.exports=window.wp.a11y},iClF:function(e,t,n){"use strict";var l=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(l.cloneElement)(e,{width:t,height:t,...n})}},jSdM:function(e,t){e.exports=window.wp.editor},jZUy:function(e,t){e.exports=window.wp.coreData},l3Sj:function(e,t){e.exports=window.wp.i18n},onLe:function(e,t){e.exports=window.wp.notices},rmEH:function(e,t){e.exports=window.wp.htmlEntities},"tI+e":function(e,t){e.exports=window.wp.components},wx14:function(e,t,n){"use strict";function l(){return(l=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{isRequesting:!0}};case"RECEIVE_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{results:t.downloadableBlocks,isRequesting:!1}}}return e},blockManagement:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{installedBlockTypes:[],isInstalling:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:[...e.installedBlockTypes,t.item]};case"REMOVE_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:e.installedBlockTypes.filter(e=>e.name!==t.item.name)};case"SET_INSTALLING_BLOCK":return{...e,isInstalling:{...e.isInstalling,[t.blockId]:t.isInstalling}}}return e},errorNotices:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_ERROR_NOTICE":return{...e,[t.blockId]:{message:t.message,isFatal:t.isFatal}};case"CLEAR_ERROR_NOTICE":return Object(u.omit)(e,t.blockId)}return e}}),p=n("axFQ");function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!t.length)return!1;if(t.some(t=>{let{name:n}=t;return n===e.name}))return!0;for(let n=0;nt=>{const n=e(p.store).getBlocks();return f(t).filter(e=>O(e,n))}),_=Object(d.createRegistrySelector)(e=>t=>{const n=e(p.store).getBlocks();return f(t).filter(e=>!O(e,n))});function w(e,t){return e.blockManagement.isInstalling[t]||!1}function E(e){return e.errorNotices}function y(e,t){return e.errorNotices[t]}var h=n("l3Sj"),v=n("ywyh"),B=n.n(v),I=n("onLe");const N=e=>new Promise((t,n)=>{const l=document.createElement(e.nodeName);["id","rel","src","href","type"].forEach(t=>{e[t]&&(l[t]=e[t])}),e.innerHTML&&l.appendChild(document.createTextNode(e.innerHTML)),l.onload=()=>t(!0),l.onerror=()=>n(new Error("Error loading asset.")),document.body.appendChild(l),("link"===l.nodeName.toLowerCase()||"script"===l.nodeName.toLowerCase()&&!l.src)&&t()});function T(e){if(!e)return!1;const t=e.links["wp:plugin"]||e.links.self;return!(!t||!t.length)&&t[0].href}function L(e){return{type:"FETCH_DOWNLOADABLE_BLOCKS",filterValue:e}}function S(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}const x=e=>async t=>{let{registry:n,dispatch:l}=t;const{id:c}=e;let o=!1;l.clearErrorNotice(c);try{l.setIsInstalling(c,!0);const t=T(e);let r={};if(t)await B()({method:"PUT",url:t,data:{status:"active"}});else{r=(await B()({method:"POST",path:"wp/v2/plugins",data:{slug:c,status:"active"}}))._links}l.addInstalledBlockType({...e,links:{...e.links,...r}}),await async function(){const e=await B()({url:document.location.href,parse:!1}),t=await e.text(),n=(new window.DOMParser).parseFromString(t,"text/html"),l=Array.from(n.querySelectorAll('link[rel="stylesheet"],script')).filter(e=>e.id&&!document.getElementById(e.id));for(const e of l)await N(e)}();if(!n.select(s.store).getBlockTypes().some(t=>t.name===e.name))throw new Error(Object(h.__)("Error registering block. Try reloading the page."));n.dispatch(I.store).createInfoNotice(Object(h.sprintf)(Object(h.__)("Block %s installed and added."),e.title),{speak:!0,type:"snackbar"}),o=!0}catch(e){let t=e.message||Object(h.__)("An error occurred."),o=e instanceof Error;const r={folder_exists:Object(h.__)("This block is already installed. Try reloading the page."),unable_to_connect_to_filesystem:Object(h.__)("Error installing block. You can reload the page and try again.")};r[e.code]&&(o=!0,t=r[e.code]),l.setErrorNotice(c,t,o),n.dispatch(I.store).createErrorNotice(t,{speak:!0,isDismissible:!0})}return l.setIsInstalling(c,!1),o},C=e=>async t=>{let{registry:n,dispatch:l}=t;try{const t=T(e);await B()({method:"PUT",url:t,data:{status:"inactive"}}),await B()({method:"DELETE",url:t}),l.removeInstalledBlockType(e)}catch(e){n.dispatch(I.store).createErrorNotice(e.message||Object(h.__)("An error occurred."))}};function R(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function D(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}function P(e,t){return{type:"SET_INSTALLING_BLOCK",blockId:e,isInstalling:t}}function M(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:"SET_ERROR_NOTICE",blockId:e,message:t,isFatal:n}}function A(e){return{type:"CLEAR_ERROR_NOTICE",blockId:e}}const F=e=>async t=>{let{dispatch:n}=t;if(e)try{n(L(e));const t=await B()({path:"wp/v2/block-directory/search?term="+e});n(S(t.map(e=>Object(u.mapKeys)(e,(e,t)=>Object(u.camelCase)(t))),e))}catch{}},H={reducer:m,selectors:l,actions:c,resolvers:o,__experimentalUseThunks:!0},V=Object(d.createReduxStore)("core/block-directory",H);function q(){const{uninstallBlockType:e}=Object(d.useDispatch)(V),t=Object(d.useSelect)(e=>{const{isAutosavingPost:t,isSavingPost:n}=e(b.store);return n()&&!t()},[]),n=Object(d.useSelect)(e=>e(V).getUnusedBlockTypes(),[]);return Object(r.useEffect)(()=>{t&&n.length&&n.forEach(t=>{e(t),Object(s.unregisterBlockType)(t.name)})},[t]),null}Object(d.register)(V);var U=n("tI+e"),K=n("K9lf"),G=n("jZUy"),z=n("wx14"),Y=n("rmEH"),$=n("iClF"),W=n("URob"),X=n("Tqx9");var Z=Object(r.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(X.Path,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})),Q=n("Xxwi");var J=function(e){let{rating:t}=e;const n=.5*Math.round(t/.5),l=Math.floor(t),c=Math.ceil(t-l),o=5-(l+c);return Object(r.createElement)("span",{"aria-label":Object(h.sprintf)(Object(h.__)("%s out of 5 stars"),n)},Object(u.times)(l,e=>Object(r.createElement)($.a,{key:"full_stars_"+e,className:"block-directory-block-ratings__star-full",icon:W.a,size:16})),Object(u.times)(c,e=>Object(r.createElement)($.a,{key:"half_stars_"+e,className:"block-directory-block-ratings__star-half-full",icon:Z,size:16})),Object(u.times)(o,e=>Object(r.createElement)($.a,{key:"empty_stars_"+e,className:"block-directory-block-ratings__star-empty",icon:Q.a,size:16})))};var ee=e=>{let{rating:t}=e;return Object(r.createElement)("span",{className:"block-directory-block-ratings"},Object(r.createElement)(J,{rating:t}))};var te=function(e){let{icon:t}=e;const n="block-directory-downloadable-block-icon";return null!==t.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/)?Object(r.createElement)("img",{className:n,src:t,alt:""}):Object(r.createElement)(p.BlockIcon,{className:n,icon:t,showColors:!0})};var ne=e=>{let{block:t}=e;const n=Object(d.useSelect)(e=>e(V).getErrorNoticeForBlock(t.id),[t]);return n?Object(r.createElement)("div",{className:"block-directory-downloadable-block-notice"},Object(r.createElement)("div",{className:"block-directory-downloadable-block-notice__content"},n.message,n.isFatal?" "+Object(h.__)("Try reloading the page."):null)):null};function le(e,t){let{title:n,rating:l,ratingCount:c}=e,{hasNotice:o,isInstalled:r,isInstalling:a}=t;const i=.5*Math.round(l/.5);return!r&&o?Object(h.sprintf)("Retry installing %s.",Object(Y.decodeEntities)(n)):r?Object(h.sprintf)("Add %s.",Object(Y.decodeEntities)(n)):a?Object(h.sprintf)("Installing %s.",Object(Y.decodeEntities)(n)):c<1?Object(h.sprintf)("Install %s.",Object(Y.decodeEntities)(n)):Object(h.sprintf)(Object(h._n)("Install %1$s. %2$s stars with %3$s review.","Install %1$s. %2$s stars with %3$s reviews.",c),Object(Y.decodeEntities)(n),i,c)}var ce=function(e){let{composite:t,item:n,onClick:l}=e;const{author:c,description:o,icon:a,rating:i,title:b}=n,u=!!Object(s.getBlockType)(n.name),{hasNotice:m,isInstalling:p,isInstallable:O}=Object(d.useSelect)(e=>{const{getErrorNoticeForBlock:t,isInstalling:l}=e(V),c=t(n.id),o=c&&c.isFatal;return{hasNotice:!!c,isInstalling:l(n.id),isInstallable:!o}},[n]);let k="";return u?k=Object(h.__)("Installed!"):p&&(k=Object(h.__)("Installing…")),Object(r.createElement)(U.__unstableCompositeItem,Object(z.a)({role:"option",as:U.Button},t,{className:"block-directory-downloadable-block-list-item",onClick:e=>{e.preventDefault(),l()},isBusy:p,disabled:p||!O,label:le(n,{hasNotice:m,isInstalled:u,isInstalling:p}),showTooltip:!0,tooltipPosition:"top center"}),Object(r.createElement)("div",{className:"block-directory-downloadable-block-list-item__icon"},Object(r.createElement)(te,{icon:a,title:b}),p?Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__spinner"},Object(r.createElement)(U.Spinner,null)):Object(r.createElement)(ee,{rating:i})),Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__details"},Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__title"},Object(r.createInterpolateElement)(Object(h.sprintf)(Object(h.__)("%1$s by %2$s"),Object(Y.decodeEntities)(b),c),{span:Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__author"})})),m?Object(r.createElement)(ne,{block:n}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__desc"},k||Object(Y.decodeEntities)(o)),O&&!(u||p)&&Object(r.createElement)(U.VisuallyHidden,null,Object(h.__)("Install block")))))};var oe=function(e){let{items:t,onHover:n=u.noop,onSelect:l}=e;const c=Object(U.__unstableUseCompositeState)(),{installBlockType:o}=Object(d.useDispatch)(V);return t.length?Object(r.createElement)(U.__unstableComposite,Object(z.a)({},c,{role:"listbox",className:"block-directory-downloadable-blocks-list","aria-label":Object(h.__)("Blocks available for install")}),t.map(e=>Object(r.createElement)(ce,{key:e.id,composite:c,onClick:()=>{Object(s.getBlockType)(e.name)?l(e):o(e).then(t=>{t&&l(e)}),n(null)},onHover:n,item:e}))):null},re=n("gdqT");var ae=function(e){let{children:t,downloadableItems:n,hasLocalBlocks:l}=e;const c=n.length;return Object(r.useEffect)(()=>{Object(re.speak)(Object(h.sprintf)(Object(h._n)("%d additional block is available to install.","%d additional blocks are available to install.",c),c))},[c]),Object(r.createElement)(r.Fragment,null,!l&&Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},Object(h.__)("No results available from your installed blocks.")),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel"},Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel__header"},Object(r.createElement)("h2",{className:"block-directory-downloadable-blocks-panel__title"},Object(h.__)("Available to install")),Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(h.__)("Select a block to install and add it to your post."))),t))},ie=n("//Lo");var se=function(){return Object(r.createElement)("div",{className:"block-editor-inserter__no-results"},Object(r.createElement)($.a,{className:"block-editor-inserter__no-results-icon",icon:ie.a}),Object(r.createElement)("p",null,Object(h.__)("No results found.")))};var de=Object(K.compose)([Object(d.withSelect)((e,t)=>{let{filterValue:n,rootClientId:l=null}=t;const{getDownloadableBlocks:c,isRequestingDownloadableBlocks:o}=e(V),{canInsertBlockType:r}=e(p.store),a=e(G.store).canUser("read","block-directory/search");return{downloadableItems:a?c(n).filter(e=>r(e,l,!0)):[],hasPermission:a,isLoading:o(n)}})])((function(e){let{downloadableItems:t,onSelect:n,onHover:l,hasLocalBlocks:c,hasPermission:o,isLoading:a,isTyping:i}=e;return void 0===o||a||i?Object(r.createElement)(r.Fragment,null,o&&!c&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},Object(h.__)("No results available from your installed blocks.")),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"})),Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel has-blocks-loading"},Object(r.createElement)(U.Spinner,null))):!1===o?c?null:Object(r.createElement)(se,null):t.length?Object(r.createElement)(ae,{downloadableItems:t,hasLocalBlocks:c},Object(r.createElement)(oe,{items:t,onSelect:n,onHover:l})):!c&&Object(r.createElement)(se,null)}));var be=function(){const[e,t]=Object(r.useState)(""),n=Object(u.debounce)(t,400);return Object(r.createElement)(p.__unstableInserterMenuExtension,null,t=>{let{onSelect:l,onHover:c,filterValue:o,hasItems:a,rootClientId:i}=t;return e!==o&&n(o),e?Object(r.createElement)(de,{onSelect:l,onHover:c,rootClientId:i,filterValue:e,hasLocalBlocks:a,isTyping:o!==e}):null})},ue=n("BLhE");function me(e){let{items:t}=e;return t.length?Object(r.createElement)("ul",{className:"block-directory-compact-list"},t.map(e=>{let{icon:t,id:n,title:l,author:c}=e;return Object(r.createElement)("li",{key:n,className:"block-directory-compact-list__item"},Object(r.createElement)(te,{icon:t,title:l}),Object(r.createElement)("div",{className:"block-directory-compact-list__item-details"},Object(r.createElement)("div",{className:"block-directory-compact-list__item-title"},l),Object(r.createElement)("div",{className:"block-directory-compact-list__item-author"},Object(h.sprintf)(Object(h.__)("By %s"),c))))})):null}function pe(){const e=Object(d.useSelect)(e=>e(V).getNewBlockTypes(),[]);return e.length?Object(r.createElement)(ue.PluginPrePublishPanel,{icon:ie.a,title:Object(h.sprintf)(Object(h._n)("Added: %d block","Added: %d blocks",e.length),e.length),initialOpen:!0},Object(r.createElement)("p",{className:"installed-blocks-pre-publish-panel__copy"},Object(h._n)("The following block has been added to your site.","The following blocks have been added to your site.",e.length)),Object(r.createElement)(me,{items:e})):null}function Oe(e){let{attributes:t,block:n,clientId:l}=e;const c=Object(d.useSelect)(e=>e(V).isInstalling(n.id),[n.id]),{installBlockType:o}=Object(d.useDispatch)(V),{replaceBlock:a}=Object(d.useDispatch)(p.store);return Object(r.createElement)(U.Button,{onClick:()=>o(n).then(e=>{if(e){const e=Object(s.getBlockType)(n.name),[c]=Object(s.parse)(t.originalContent);c&&e&&a(l,Object(s.createBlock)(e.name,c.attributes,c.innerBlocks))}}),disabled:c,isBusy:c,variant:"primary"},Object(h.sprintf)(Object(h.__)("Install %s"),n.title))}const ke=e=>{let{originalBlock:t,...n}=e;const{originalName:l,originalUndelimitedContent:c}=n.attributes,{replaceBlock:o}=Object(d.useDispatch)(p.store),a=()=>{o(n.clientId,Object(s.createBlock)("core/html",{content:c}))},i=!!c,b=Object(s.getBlockType)("core/html");let u=Object(h.sprintf)(Object(h.__)("Your site doesn’t include support for the %s block. You can try installing the block or remove it entirely."),t.title||l);const m=[Object(r.createElement)(Oe,{key:"install",block:t,attributes:n.attributes,clientId:n.clientId})];return i&&b&&(u=Object(h.sprintf)(Object(h.__)("Your site doesn’t include support for the %s block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely."),t.title||l),m.push(Object(r.createElement)(U.Button,{key:"convert",onClick:a,variant:"link"},Object(h.__)("Keep as HTML")))),Object(r.createElement)("div",Object(p.useBlockProps)(),Object(r.createElement)(p.Warning,{actions:m},u),Object(r.createElement)(r.RawHTML,null,c))};var je=e=>t=>{const{originalName:n}=t.attributes,{block:l,hasPermission:c}=Object(d.useSelect)(e=>{const{getDownloadableBlocks:t}=e(V),l=t("block:"+n).filter(e=>{let{name:t}=e;return n===t});return{hasPermission:e(G.store).canUser("read","block-directory/search"),block:l.length&&l[0]}},[n]);return c&&l?Object(r.createElement)(ke,Object(z.a)({},t,{originalBlock:l})):Object(r.createElement)(e,t)};Object(a.registerPlugin)("block-directory",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(q,null),Object(r.createElement)(be,null),Object(r.createElement)(pe,null))}),Object(i.addFilter)("blocks.registerBlockType","block-directory/fallback",(e,t)=>("core/missing"!==t||(e.edit=je(e.edit)),e))},BLhE:function(e,t){e.exports=window.wp.editPost},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},K9lf:function(e,t){e.exports=window.wp.compose},Tqx9:function(e,t){e.exports=window.wp.primitives},TvNi:function(e,t){e.exports=window.wp.plugins},URob:function(e,t,n){"use strict";var l=n("GRId"),c=n("Tqx9");const o=Object(l.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(c.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"}));t.a=o},Xxwi:function(e,t,n){"use strict";var l=n("GRId"),c=n("Tqx9");const o=Object(l.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(c.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"}));t.a=o},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},g56x:function(e,t){e.exports=window.wp.hooks},gdqT:function(e,t){e.exports=window.wp.a11y},iClF:function(e,t,n){"use strict";var l=n("GRId");t.a=function(e){let{icon:t,size:n=24,...c}=e;return Object(l.cloneElement)(t,{width:n,height:n,...c})}},jSdM:function(e,t){e.exports=window.wp.editor},jZUy:function(e,t){e.exports=window.wp.coreData},l3Sj:function(e,t){e.exports=window.wp.i18n},onLe:function(e,t){e.exports=window.wp.notices},rmEH:function(e,t){e.exports=window.wp.htmlEntities},"tI+e":function(e,t){e.exports=window.wp.components},wx14:function(e,t,n){"use strict";function l(){return(l=Object.assign||function(e){for(var t=1;t /^image\/(?:jpe?g|png|gif)$/.test(type)); // Only process files if no HTML is present. + const files = Object(external_wp_dom_["getFilesFromDataTransfer"])(clipboardData).filter(_ref2 => { + let { + type + } = _ref2; + return /^image\/(?:jpe?g|png|gif)$/.test(type); + }); // Only process files if no HTML is present. // A pasted file may have the URL as plain text. if (files.length && !html) { @@ -311,9 +315,10 @@ function useClipboardHandler() { }, []); } -function CopyHandler({ - children -}) { +function CopyHandler(_ref) { + let { + children + } = _ref; return Object(external_wp_element_["createElement"])("div", { ref: useClipboardHandler() }, children); @@ -692,11 +697,12 @@ const useBlockTypesState = (rootClientId, onInsert) => { items: getInserterItems(rootClientId) }; }, [rootClientId]); - const onSelectItem = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["useCallback"])(({ - name, - initialAttributes, - innerBlocks - }, shouldFocusBlock) => { + const onSelectItem = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["useCallback"])((_ref, shouldFocusBlock) => { + let { + name, + initialAttributes, + innerBlocks + } = _ref; const insertedBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(name, initialAttributes, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["createBlocksFromInnerBlocksTemplate"])(innerBlocks)); onInsert(insertedBlock, undefined, shouldFocusBlock); }, [onInsert]); @@ -803,12 +809,13 @@ const DEBOUNCE_TIMEOUT = 200; * @param {Function} [props.onChange=noop] Callback function. */ -function useDebouncedShowMovers({ - ref, - isFocused, - debounceTimeout = DEBOUNCE_TIMEOUT, - onChange = external_lodash_["noop"] -}) { +function useDebouncedShowMovers(_ref) { + let { + ref, + isFocused, + debounceTimeout = DEBOUNCE_TIMEOUT, + onChange = external_lodash_["noop"] + } = _ref; const [showMovers, setShowMovers] = Object(external_wp_element_["useState"])(false); const timeoutRef = Object(external_wp_element_["useRef"])(); @@ -879,11 +886,12 @@ function useDebouncedShowMovers({ * @param {Function} [props.onChange=noop] Callback function. */ -function useShowMoversGestures({ - ref, - debounceTimeout = DEBOUNCE_TIMEOUT, - onChange = external_lodash_["noop"] -}) { +function useShowMoversGestures(_ref2) { + let { + ref, + debounceTimeout = DEBOUNCE_TIMEOUT, + onChange = external_lodash_["noop"] + } = _ref2; const [isFocused, setIsFocused] = Object(external_wp_element_["useState"])(false); const { showMovers, @@ -1070,9 +1078,10 @@ var block_preview = __webpack_require__("REKd"); */ -function PreviewBlockPopover({ - blocks -}) { +function PreviewBlockPopover(_ref) { + let { + blocks + } = _ref; return Object(external_wp_element_["createElement"])("div", { className: "block-editor-block-switcher__popover__preview__parent" }, Object(external_wp_element_["createElement"])("div", { @@ -1108,12 +1117,13 @@ function PreviewBlockPopover({ -const BlockTransformationsMenu = ({ - className, - possibleBlockTransformations, - onSelect, - blocks -}) => { +const BlockTransformationsMenu = _ref => { + let { + className, + possibleBlockTransformations, + onSelect, + blocks + } = _ref; const [hoveredTransformItemName, setHoveredTransformItemName] = Object(external_wp_element_["useState"])(); return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { label: Object(external_wp_i18n_["__"])('Transform to'), @@ -1166,10 +1176,11 @@ var block_styles = __webpack_require__("7NR9"); -function BlockStylesMenu({ - hoveredBlock, - onSwitch -}) { +function BlockStylesMenu(_ref) { + let { + hoveredBlock, + onSwitch + } = _ref; const { name, clientId @@ -1217,7 +1228,8 @@ var chevron_right = __webpack_require__("1iEr"); * @return {WPBlock?} The matched block if found or nothing(`undefined`). */ -const getMatchingBlockByName = (block, selectedBlockName, consumedBlocks = new Set()) => { +const getMatchingBlockByName = function (block, selectedBlockName) { + let consumedBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set(); const { clientId, name, @@ -1376,11 +1388,12 @@ const useTransformedPatterns = (patterns, selectedBlocks) => { -function PatternTransformationsMenu({ - blocks, - patterns: statePatterns, - onSelect -}) { +function PatternTransformationsMenu(_ref) { + let { + blocks, + patterns: statePatterns, + onSelect + } = _ref; const [showTransforms, setShowTransforms] = Object(external_wp_element_["useState"])(false); const patterns = use_transformed_patterns(statePatterns, blocks); if (!patterns.length) return null; @@ -1398,10 +1411,11 @@ function PatternTransformationsMenu({ }, Object(external_wp_i18n_["__"])('Patterns'))); } -function PreviewPatternsPopover({ - patterns, - onSelect -}) { +function PreviewPatternsPopover(_ref2) { + let { + patterns, + onSelect + } = _ref2; return Object(external_wp_element_["createElement"])("div", { className: "block-editor-block-switcher__popover__preview__parent" }, Object(external_wp_element_["createElement"])("div", { @@ -1419,10 +1433,11 @@ function PreviewPatternsPopover({ }))))); } -function BlockPatternsList({ - patterns, - onSelect -}) { +function BlockPatternsList(_ref3) { + let { + patterns, + onSelect + } = _ref3; const composite = Object(external_wp_components_["__unstableUseCompositeState"])(); return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableComposite"], Object(esm_extends["a" /* default */])({}, composite, { role: "listbox", @@ -1436,11 +1451,12 @@ function BlockPatternsList({ }))); } -function BlockPattern({ - pattern, - onSelect, - composite -}) { +function BlockPattern(_ref4) { + let { + pattern, + onSelect, + composite + } = _ref4; // TODO check pattern/preview width... const baseClassName = 'block-editor-block-switcher__preview-patterns-container'; const descriptionId = Object(external_wp_compose_["useInstanceId"])(BlockPattern, `${baseClassName}-list__item-description`); @@ -1493,10 +1509,11 @@ function BlockPattern({ -const BlockSwitcherDropdownMenu = ({ - clientIds, - blocks -}) => { +const BlockSwitcherDropdownMenu = _ref => { + let { + clientIds, + blocks + } = _ref; const { replaceBlocks } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]); @@ -1539,9 +1556,12 @@ const BlockSwitcherDropdownMenu = ({ } else { var _getBlockType; - const isSelectionOfSameType = Object(external_lodash_["uniq"])(blocks.map(({ - name - }) => name)).length === 1; // When selection consists of blocks of multiple types, display an + const isSelectionOfSameType = Object(external_lodash_["uniq"])(blocks.map(_ref2 => { + let { + name + } = _ref2; + return name; + })).length === 1; // When selection consists of blocks of multiple types, display an // appropriate icon to communicate the non-uniformity. _icon = isSelectionOfSameType ? (_getBlockType = getBlockType(firstBlockName)) === null || _getBlockType === void 0 ? void 0 : _getBlockType.icon : stack["a" /* default */]; @@ -1610,33 +1630,37 @@ const BlockSwitcherDropdownMenu = ({ menuProps: { orientation: 'both' } - }, ({ - onClose - }) => showDropDown && Object(external_wp_element_["createElement"])("div", { - className: "block-editor-block-switcher__container" - }, hasPatternTransformation && Object(external_wp_element_["createElement"])(pattern_transformations_menu, { - blocks: blocks, - patterns: patterns, - onSelect: transformedBlocks => { - onPatternTransform(transformedBlocks); - onClose(); - } - }), hasPossibleBlockTransformations && Object(external_wp_element_["createElement"])(block_transformations_menu, { - className: "block-editor-block-switcher__transforms__menugroup", - possibleBlockTransformations: possibleBlockTransformations, - blocks: blocks, - onSelect: name => { - onBlockTransform(name); - onClose(); - } - }), hasBlockStyles && Object(external_wp_element_["createElement"])(BlockStylesMenu, { - hoveredBlock: blocks[0], - onSwitch: onClose - }))))); + }, _ref3 => { + let { + onClose + } = _ref3; + return showDropDown && Object(external_wp_element_["createElement"])("div", { + className: "block-editor-block-switcher__container" + }, hasPatternTransformation && Object(external_wp_element_["createElement"])(pattern_transformations_menu, { + blocks: blocks, + patterns: patterns, + onSelect: transformedBlocks => { + onPatternTransform(transformedBlocks); + onClose(); + } + }), hasPossibleBlockTransformations && Object(external_wp_element_["createElement"])(block_transformations_menu, { + className: "block-editor-block-switcher__transforms__menugroup", + possibleBlockTransformations: possibleBlockTransformations, + blocks: blocks, + onSelect: name => { + onBlockTransform(name); + onClose(); + } + }), hasBlockStyles && Object(external_wp_element_["createElement"])(BlockStylesMenu, { + hoveredBlock: blocks[0], + onSwitch: onClose + })); + }))); }; -const BlockSwitcher = ({ - clientIds -}) => { +const BlockSwitcher = _ref4 => { + let { + clientIds + } = _ref4; const blocks = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getBlocksByClientId(clientIds), [clientIds]); if (!blocks.length || blocks.some(block => !block)) { @@ -1684,9 +1708,10 @@ var block_settings_menu = __webpack_require__("U1WI"); -function BlockToolbar({ - hideDragHandle -}) { +function BlockToolbar(_ref) { + let { + hideDragHandle + } = _ref; const { blockClientIds, blockClientId, @@ -1916,10 +1941,11 @@ const TEXT_TRANSFORMS = [{ * @return {WPElement} Text transform control. */ -function TextTransformControl({ - value, - onChange -}) { +function TextTransformControl(_ref) { + let { + value, + onChange + } = _ref; return Object(external_wp_element_["createElement"])("fieldset", { className: "block-editor-text-transform-control" }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Letter case')), Object(external_wp_element_["createElement"])("div", { @@ -1979,11 +2005,13 @@ var constants = __webpack_require__("AHN3"); const withRegistryProvider = Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => { - return Object(external_wp_data_["withRegistry"])(({ - useSubRegistry = true, - registry, - ...props - }) => { + return Object(external_wp_data_["withRegistry"])(_ref => { + let { + useSubRegistry = true, + registry, + ...props + } = _ref; + if (!useSubRegistry) { return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({ registry: registry @@ -2311,14 +2339,16 @@ const icons = { 'space-between': justify_space_between["a" /* default */] }; -function JustifyContentUI({ - allowedControls = ['left', 'center', 'right', 'space-between'], - isCollapsed = true, - onChange, - value, - popoverProps, - isToolbar -}) { +function JustifyContentUI(_ref) { + let { + allowedControls = ['left', 'center', 'right', 'space-between'], + isCollapsed = true, + onChange, + value, + popoverProps, + isToolbar + } = _ref; + // If the control is already selected we want a click // again on the control to deselect the item, so we // call onChange( undefined ) @@ -2591,15 +2621,17 @@ const ui_POPOVER_PROPS = { isAlternate: true }; -function AlignmentUI({ - value, - onChange, - alignmentControls = DEFAULT_ALIGNMENT_CONTROLS, - label = Object(external_wp_i18n_["__"])('Align'), - describedBy = Object(external_wp_i18n_["__"])('Change text alignment'), - isCollapsed = true, - isToolbar -}) { +function AlignmentUI(_ref) { + let { + value, + onChange, + alignmentControls = DEFAULT_ALIGNMENT_CONTROLS, + label = Object(external_wp_i18n_["__"])('Align'), + describedBy = Object(external_wp_i18n_["__"])('Change text alignment'), + isCollapsed = true, + isToolbar + } = _ref; + function applyOrUnset(align) { return () => onChange(value === align ? undefined : align); } @@ -2817,9 +2849,10 @@ function createBlockCompleter() { const EMPTY_ARRAY = []; -function useCompleters({ - completers = EMPTY_ARRAY -}) { +function useCompleters(_ref) { + let { + completers = EMPTY_ARRAY + } = _ref; const { name } = Object(context["c" /* useBlockEditContext */])(); @@ -2898,12 +2931,13 @@ const fullscreen = Object(external_wp_element_["createElement"])(external_wp_pri -function BlockFullHeightAlignmentControl({ - isActive, - label = Object(external_wp_i18n_["__"])('Toggle full height'), - onToggle, - isDisabled -}) { +function BlockFullHeightAlignmentControl(_ref) { + let { + isActive, + label = Object(external_wp_i18n_["__"])('Toggle full height'), + onToggle, + isDisabled + } = _ref; return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { isActive: isActive, icon: library_fullscreen, @@ -2953,10 +2987,12 @@ function BlockAlignmentMatrixControl(props) { className: popoverClassName, isAlternate }, - renderToggle: ({ - onToggle, - isOpen - }) => { + renderToggle: _ref => { + let { + onToggle, + isOpen + } = _ref; + const openOnArrowDown = event => { if (!isOpen && event.keyCode === external_wp_keycodes_["DOWN"]) { event.preventDefault(); @@ -3030,9 +3066,10 @@ var block_title = __webpack_require__("f8JO"); * @return {WPElement} Block Breadcrumb. */ -function BlockBreadcrumb({ - rootLabelText -}) { +function BlockBreadcrumb(_ref) { + let { + rootLabelText + } = _ref; const { selectBlock, clearSelectedBlock @@ -3124,12 +3161,13 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); */ -function BlockContentOverlay({ - clientId, - tagName: TagName = 'div', - wrapperProps, - className -}) { +function BlockContentOverlay(_ref) { + let { + clientId, + tagName: TagName = 'div', + wrapperProps, + className + } = _ref; const baseClassName = 'block-editor-block-content-overlay'; const [isOverlayActive, setIsOverlayActive] = Object(external_wp_element_["useState"])(true); const [isHovered, setIsHovered] = Object(external_wp_element_["useState"])(false); @@ -3224,10 +3262,11 @@ const ColorSelectorSVGIcon = () => Object(external_wp_element_["createElement"]) */ -const ColorSelectorIcon = ({ - style, - className -}) => { +const ColorSelectorIcon = _ref => { + let { + style, + className + } = _ref; return Object(external_wp_element_["createElement"])("div", { className: "block-library-colors-selector__icon-container" }, Object(external_wp_element_["createElement"])("div", { @@ -3246,39 +3285,47 @@ const ColorSelectorIcon = ({ */ -const renderToggleComponent = ({ - TextColor, - BackgroundColor -}) => ({ - onToggle, - isOpen -}) => { - const openOnArrowDown = event => { - if (!isOpen && event.keyCode === external_wp_keycodes_["DOWN"]) { - event.preventDefault(); - onToggle(); - } - }; +const renderToggleComponent = _ref2 => { + let { + TextColor, + BackgroundColor + } = _ref2; + return _ref3 => { + let { + onToggle, + isOpen + } = _ref3; - return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { - className: "components-toolbar__control block-library-colors-selector__toggle", - label: Object(external_wp_i18n_["__"])('Open Colors Selector'), - onClick: onToggle, - onKeyDown: openOnArrowDown, - icon: Object(external_wp_element_["createElement"])(BackgroundColor, null, Object(external_wp_element_["createElement"])(TextColor, null, Object(external_wp_element_["createElement"])(ColorSelectorIcon, null))) - })); + const openOnArrowDown = event => { + if (!isOpen && event.keyCode === external_wp_keycodes_["DOWN"]) { + event.preventDefault(); + onToggle(); + } + }; + + return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { + className: "components-toolbar__control block-library-colors-selector__toggle", + label: Object(external_wp_i18n_["__"])('Open Colors Selector'), + onClick: onToggle, + onKeyDown: openOnArrowDown, + icon: Object(external_wp_element_["createElement"])(BackgroundColor, null, Object(external_wp_element_["createElement"])(TextColor, null, Object(external_wp_element_["createElement"])(ColorSelectorIcon, null))) + })); + }; }; -const BlockColorsStyleSelector = ({ - children, - ...other -}) => Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], { - position: "bottom right", - className: "block-library-colors-selector", - contentClassName: "block-library-colors-selector__popover", - renderToggle: renderToggleComponent(other), - renderContent: () => children -}); +const BlockColorsStyleSelector = _ref4 => { + let { + children, + ...other + } = _ref4; + return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], { + position: "bottom right", + className: "block-library-colors-selector", + contentClassName: "block-library-colors-selector__popover", + renderToggle: renderToggleComponent(other), + renderContent: () => children + }); +}; /* harmony default export */ var color_style_selector = (BlockColorsStyleSelector); @@ -3320,16 +3367,17 @@ var use_moving_animation = __webpack_require__("Xkls"); const AnimatedTreeGridRow = Object(react_spring_web_esm["animated"])(external_wp_components_["__experimentalTreeGridRow"]); -function ListViewLeaf({ - isSelected, - position, - level, - rowCount, - children, - className, - path, - ...props -}) { +function ListViewLeaf(_ref) { + let { + isSelected, + position, + level, + rowCount, + children, + className, + path, + ...props + } = _ref; const ref = Object(use_moving_animation["a" /* default */])({ isSelected, adjustScrolling: false, @@ -3383,9 +3431,10 @@ const isClientIdSelected = (clientId, selectedBlockClientIds) => Object(external * WordPress dependencies */ -function ListViewExpander({ - onClick -}) { +function ListViewExpander(_ref) { + let { + onClick + } = _ref; return (// Keyboard events are handled by TreeGrid see: components/src/tree-grid/index.js // // The expander component is implemented as a pseudo element in the w3 example @@ -3432,23 +3481,24 @@ function ListViewExpander({ -function ListViewBlockSelectButton({ - className, - block: { - clientId - }, - isSelected, - onClick, - onToggleExpanded, - position, - siblingBlockCount, - level, - tabIndex, - onFocus, - onDragStart, - onDragEnd, - draggable -}, ref) { +function ListViewBlockSelectButton(_ref, ref) { + let { + className, + block: { + clientId + }, + isSelected, + onClick, + onToggleExpanded, + position, + siblingBlockCount, + level, + tabIndex, + onFocus, + onDragStart, + onDragEnd, + draggable + } = _ref; const blockInformation = Object(use_block_display_information["a" /* default */])(clientId); const instanceId = Object(external_wp_compose_["useInstanceId"])(ListViewBlockSelectButton); const descriptionId = `list-view-block-select-button__${instanceId}`; @@ -3504,16 +3554,17 @@ var block_draggable = __webpack_require__("ZAjO"); -const ListViewBlockContents = Object(external_wp_element_["forwardRef"])(({ - onClick, - onToggleExpanded, - block, - isSelected, - position, - siblingBlockCount, - level, - ...props -}, ref) => { +const ListViewBlockContents = Object(external_wp_element_["forwardRef"])((_ref, ref) => { + let { + onClick, + onToggleExpanded, + block, + isSelected, + position, + siblingBlockCount, + level, + ...props + } = _ref; const { clientId } = block; @@ -3538,24 +3589,27 @@ const ListViewBlockContents = Object(external_wp_element_["forwardRef"])(({ }); return Object(external_wp_element_["createElement"])(block_draggable["a" /* default */], { clientIds: [block.clientId] - }, ({ - draggable, - onDragStart, - onDragEnd - }) => Object(external_wp_element_["createElement"])(block_select_button, Object(esm_extends["a" /* default */])({ - ref: ref, - className: className, - block: block, - onClick: onClick, - onToggleExpanded: onToggleExpanded, - isSelected: isSelected, - position: position, - siblingBlockCount: siblingBlockCount, - level: level, - draggable: draggable, - onDragStart: onDragStart, - onDragEnd: onDragEnd - }, props))); + }, _ref2 => { + let { + draggable, + onDragStart, + onDragEnd + } = _ref2; + return Object(external_wp_element_["createElement"])(block_select_button, Object(esm_extends["a" /* default */])({ + ref: ref, + className: className, + block: block, + onClick: onClick, + onToggleExpanded: onToggleExpanded, + isSelected: isSelected, + position: position, + siblingBlockCount: siblingBlockCount, + level: level, + draggable: draggable, + onDragStart: onDragStart, + onDragEnd: onDragEnd + }, props)); + }); }); /* harmony default export */ var block_contents = (ListViewBlockContents); @@ -3599,20 +3653,21 @@ const useListViewContext = () => Object(external_wp_element_["useContext"])(List -function ListViewBlock({ - block, - isDragged, - isSelected, - isBranchSelected, - selectBlock, - position, - level, - rowCount, - siblingBlockCount, - showBlockMovers, - path, - isExpanded -}) { +function ListViewBlock(_ref) { + let { + block, + isDragged, + isSelected, + isBranchSelected, + selectBlock, + position, + level, + rowCount, + siblingBlockCount, + showBlockMovers, + path, + isExpanded + } = _ref; const cellRef = Object(external_wp_element_["useRef"])(null); const [isHovered, setIsHovered] = Object(external_wp_element_["useState"])(false); const { @@ -3701,64 +3756,76 @@ function ListViewBlock({ className: "block-editor-list-view-block__contents-cell", colSpan: colSpan, ref: cellRef - }, ({ - ref, - tabIndex, - onFocus - }) => Object(external_wp_element_["createElement"])("div", { - className: "block-editor-list-view-block__contents-container" - }, Object(external_wp_element_["createElement"])(block_contents, { - block: block, - onClick: selectEditorBlock, - onToggleExpanded: toggleExpanded, - isSelected: isSelected, - position: position, - siblingBlockCount: siblingBlockCount, - level: level, - ref: ref, - tabIndex: tabIndex, - onFocus: onFocus - }))), hasRenderedMovers && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridCell"], { - className: moverCellClassName, - withoutGridItem: true - }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridItem"], null, ({ - ref, - tabIndex, - onFocus - }) => Object(external_wp_element_["createElement"])(block_mover_button["b" /* BlockMoverUpButton */], { - orientation: "vertical", - clientIds: [clientId], - ref: ref, - tabIndex: tabIndex, - onFocus: onFocus - })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridItem"], null, ({ - ref, - tabIndex, - onFocus - }) => Object(external_wp_element_["createElement"])(block_mover_button["a" /* BlockMoverDownButton */], { - orientation: "vertical", - clientIds: [clientId], - ref: ref, - tabIndex: tabIndex, - onFocus: onFocus - })))), showBlockActions && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridCell"], { - className: listViewBlockSettingsClassName - }, ({ - ref, - tabIndex, - onFocus - }) => Object(external_wp_element_["createElement"])(block_settings_dropdown["a" /* default */], { - clientIds: [clientId], - icon: more_vertical["a" /* default */], - toggleProps: { + }, _ref2 => { + let { ref, - className: 'block-editor-list-view-block__menu', tabIndex, onFocus - }, - disableOpenOnArrowDown: true, - __experimentalSelectBlock: selectEditorBlock - }))); + } = _ref2; + return Object(external_wp_element_["createElement"])("div", { + className: "block-editor-list-view-block__contents-container" + }, Object(external_wp_element_["createElement"])(block_contents, { + block: block, + onClick: selectEditorBlock, + onToggleExpanded: toggleExpanded, + isSelected: isSelected, + position: position, + siblingBlockCount: siblingBlockCount, + level: level, + ref: ref, + tabIndex: tabIndex, + onFocus: onFocus + })); + }), hasRenderedMovers && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridCell"], { + className: moverCellClassName, + withoutGridItem: true + }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridItem"], null, _ref3 => { + let { + ref, + tabIndex, + onFocus + } = _ref3; + return Object(external_wp_element_["createElement"])(block_mover_button["b" /* BlockMoverUpButton */], { + orientation: "vertical", + clientIds: [clientId], + ref: ref, + tabIndex: tabIndex, + onFocus: onFocus + }); + }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridItem"], null, _ref4 => { + let { + ref, + tabIndex, + onFocus + } = _ref4; + return Object(external_wp_element_["createElement"])(block_mover_button["a" /* BlockMoverDownButton */], { + orientation: "vertical", + clientIds: [clientId], + ref: ref, + tabIndex: tabIndex, + onFocus: onFocus + }); + }))), showBlockActions && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridCell"], { + className: listViewBlockSettingsClassName + }, _ref5 => { + let { + ref, + tabIndex, + onFocus + } = _ref5; + return Object(external_wp_element_["createElement"])(block_settings_dropdown["a" /* default */], { + clientIds: [clientId], + icon: more_vertical["a" /* default */], + toggleProps: { + ref, + className: 'block-editor-list-view-block__menu', + tabIndex, + onFocus + }, + disableOpenOnArrowDown: true, + __experimentalSelectBlock: selectEditorBlock + }); + })); } /* harmony default export */ var list_view_block = (Object(external_wp_element_["memo"])(ListViewBlock)); @@ -3927,10 +3994,11 @@ ListViewBranch.defaultProps = { */ -function ListViewDropIndicator({ - listViewRef, - blockDropTarget -}) { +function ListViewDropIndicator(_ref) { + let { + listViewRef, + blockDropTarget + } = _ref; const { rootClientId, clientId, @@ -4355,16 +4423,17 @@ const list_view_expanded = (state, action) => { */ -function ListView({ - blocks, - onSelect = noop, - __experimentalFeatures, - __experimentalPersistentListViewFeatures, - __experimentalHideContainerBlockActions, - showNestedBlocks, - showBlockMovers, - ...props -}, ref) { +function ListView(_ref, ref) { + let { + blocks, + onSelect = noop, + __experimentalFeatures, + __experimentalPersistentListViewFeatures, + __experimentalHideContainerBlockActions, + showNestedBlocks, + showBlockMovers, + ...props + } = _ref; const { clientIdsTree, draggedClientIds, @@ -4491,13 +4560,14 @@ function ListView({ -function BlockNavigationDropdownToggle({ - isEnabled, - onToggle, - isOpen, - innerRef, - ...props -}) { +function BlockNavigationDropdownToggle(_ref) { + let { + isEnabled, + onToggle, + isOpen, + innerRef, + ...props + } = _ref; return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, { ref: innerRef, icon: list_view["a" /* default */], @@ -4512,25 +4582,29 @@ function BlockNavigationDropdownToggle({ })); } -function BlockNavigationDropdown({ - isDisabled, - __experimentalFeatures, - ...props -}, ref) { +function BlockNavigationDropdown(_ref2, ref) { + let { + isDisabled, + __experimentalFeatures, + ...props + } = _ref2; const hasBlocks = Object(external_wp_data_["useSelect"])(select => !!select(store["a" /* store */]).getBlockCount(), []); const isEnabled = hasBlocks && !isDisabled; return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], { contentClassName: "block-editor-block-navigation__popover", position: "bottom right", - renderToggle: ({ - isOpen, - onToggle - }) => Object(external_wp_element_["createElement"])(BlockNavigationDropdownToggle, Object(esm_extends["a" /* default */])({}, props, { - innerRef: ref, - isOpen: isOpen, - onToggle: onToggle, - isEnabled: isEnabled - })), + renderToggle: _ref3 => { + let { + isOpen, + onToggle + } = _ref3; + return Object(external_wp_element_["createElement"])(BlockNavigationDropdownToggle, Object(esm_extends["a" /* default */])({}, props, { + innerRef: ref, + isOpen: isOpen, + onToggle: onToggle, + isEnabled: isEnabled + })); + }, renderContent: () => Object(external_wp_element_["createElement"])("div", { className: "block-editor-block-navigation__container" }, Object(external_wp_element_["createElement"])("p", { @@ -4562,14 +4636,15 @@ var layout = __webpack_require__("Civd"); -function BlockVariationPicker({ - icon = layout["a" /* default */], - label = Object(external_wp_i18n_["__"])('Choose variation'), - instructions = Object(external_wp_i18n_["__"])('Select a variation to start with.'), - variations, - onSelect, - allowSkip -}) { +function BlockVariationPicker(_ref) { + let { + icon = layout["a" /* default */], + label = Object(external_wp_i18n_["__"])('Choose variation'), + instructions = Object(external_wp_i18n_["__"])('Select a variation to start with.'), + variations, + onSelect, + allowSkip + } = _ref; const classes = classnames_default()('block-editor-block-variation-picker', { 'has-many-variations': variations.length > 4 }); @@ -4640,47 +4715,54 @@ const VIEWMODES = { -const Actions = ({ - onStartBlank, - onBlockPatternSelect -}) => Object(external_wp_element_["createElement"])("div", { - className: "block-editor-block-pattern-setup__actions" -}, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { - onClick: onStartBlank -}, Object(external_wp_i18n_["__"])('Start blank')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { - variant: "primary", - onClick: onBlockPatternSelect -}, Object(external_wp_i18n_["__"])('Choose'))); +const Actions = _ref => { + let { + onStartBlank, + onBlockPatternSelect + } = _ref; + return Object(external_wp_element_["createElement"])("div", { + className: "block-editor-block-pattern-setup__actions" + }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { + onClick: onStartBlank + }, Object(external_wp_i18n_["__"])('Start blank')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { + variant: "primary", + onClick: onBlockPatternSelect + }, Object(external_wp_i18n_["__"])('Choose'))); +}; -const CarouselNavigation = ({ - handlePrevious, - handleNext, - activeSlide, - totalSlides -}) => Object(external_wp_element_["createElement"])("div", { - className: "block-editor-block-pattern-setup__navigation" -}, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { - icon: chevron_left["a" /* default */], - label: Object(external_wp_i18n_["__"])('Previous pattern'), - onClick: handlePrevious, - disabled: activeSlide === 0 -}), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { - icon: chevron_right["a" /* default */], - label: Object(external_wp_i18n_["__"])('Next pattern'), - onClick: handleNext, - disabled: activeSlide === totalSlides - 1 -})); +const CarouselNavigation = _ref2 => { + let { + handlePrevious, + handleNext, + activeSlide, + totalSlides + } = _ref2; + return Object(external_wp_element_["createElement"])("div", { + className: "block-editor-block-pattern-setup__navigation" + }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { + icon: chevron_left["a" /* default */], + label: Object(external_wp_i18n_["__"])('Previous pattern'), + onClick: handlePrevious, + disabled: activeSlide === 0 + }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { + icon: chevron_right["a" /* default */], + label: Object(external_wp_i18n_["__"])('Next pattern'), + onClick: handleNext, + disabled: activeSlide === totalSlides - 1 + })); +}; -const SetupToolbar = ({ - viewMode, - setViewMode, - handlePrevious, - handleNext, - activeSlide, - totalSlides, - onBlockPatternSelect, - onStartBlank -}) => { +const SetupToolbar = _ref3 => { + let { + viewMode, + setViewMode, + handlePrevious, + handleNext, + activeSlide, + totalSlides, + onBlockPatternSelect, + onStartBlank + } = _ref3; const isCarouselView = viewMode === VIEWMODES.carousel; const displayControls = Object(external_wp_element_["createElement"])("div", { className: "block-editor-block-pattern-setup__display-controls" @@ -4763,12 +4845,13 @@ function usePatternsSetup(clientId, blockName, filterPatternsFn) { -const SetupContent = ({ - viewMode, - activeSlide, - patterns, - onBlockPatternSelect -}) => { +const SetupContent = _ref => { + let { + viewMode, + activeSlide, + patterns, + onBlockPatternSelect + } = _ref; const composite = Object(external_wp_components_["__unstableUseCompositeState"])(); const containerClass = 'block-editor-block-pattern-setup__container'; @@ -4797,11 +4880,12 @@ const SetupContent = ({ }))); }; -function BlockPattern({ - pattern, - onSelect, - composite -}) { +function BlockPattern(_ref2) { + let { + pattern, + onSelect, + composite + } = _ref2; const baseClassName = 'block-editor-block-pattern-setup-list'; const { blocks, @@ -4830,10 +4914,11 @@ function BlockPattern({ }, description)); } -function BlockPatternSlide({ - className, - pattern -}) { +function BlockPatternSlide(_ref3) { + let { + className, + pattern + } = _ref3; const { blocks, title, @@ -4852,13 +4937,14 @@ function BlockPatternSlide({ }, description)); } -const BlockPatternSetup = ({ - clientId, - blockName, - filterPatternsFn, - startBlankComponent, - onBlockPatternSelect -}) => { +const BlockPatternSetup = _ref4 => { + let { + clientId, + blockName, + filterPatternsFn, + startBlankComponent, + onBlockPatternSelect + } = _ref4; const [viewMode, setViewMode] = Object(external_wp_element_["useState"])(VIEWMODES.carousel); const [activeSlide, setActiveSlide] = Object(external_wp_element_["useState"])(0); const [showBlank, setShowBlank] = Object(external_wp_element_["useState"])(false); @@ -4931,9 +5017,10 @@ var block_variation_transforms = __webpack_require__("Btt3"); -function __experimentalBlockVariationTransforms({ - blockClientId -}) { +function __experimentalBlockVariationTransforms(_ref) { + let { + blockClientId + } = _ref; const [selectedValue, setSelectedValue] = Object(external_wp_element_["useState"])(); const { updateBlockAttributes @@ -4961,20 +5048,26 @@ function __experimentalBlockVariationTransforms({ setSelectedValue((_getMatchingVariation = Object(block_variation_transforms["a" /* __experimentalGetMatchingVariation */])(blockAttributes, variations)) === null || _getMatchingVariation === void 0 ? void 0 : _getMatchingVariation.name); }, [blockAttributes, variations]); if (!(variations !== null && variations !== void 0 && variations.length)) return null; - const selectOptions = variations.map(({ - name, - title, - description - }) => ({ - value: name, - label: title, - info: description - })); + const selectOptions = variations.map(_ref2 => { + let { + name, + title, + description + } = _ref2; + return { + value: name, + label: title, + info: description + }; + }); const onSelectVariation = variationName => { - updateBlockAttributes(blockClientId, { ...variations.find(({ - name - }) => name === variationName).attributes + updateBlockAttributes(blockClientId, { ...variations.find(_ref3 => { + let { + name + } = _ref3; + return name === variationName; + }).attributes }); }; @@ -5062,13 +5155,15 @@ const block_vertical_alignment_control_ui_POPOVER_PROPS = { isAlternate: true }; -function BlockVerticalAlignmentUI({ - value, - onChange, - controls = DEFAULT_CONTROLS, - isCollapsed = true, - isToolbar -}) { +function BlockVerticalAlignmentUI(_ref) { + let { + value, + onChange, + controls = DEFAULT_CONTROLS, + isCollapsed = true, + isToolbar + } = _ref; + function applyOrUnset(align) { return () => onChange(value === align ? undefined : align); } @@ -5186,11 +5281,12 @@ var control = __webpack_require__("hMaJ"); * Internal dependencies */ -function ColorPaletteControl({ - onChange, - value, - ...otherProps -}) { +function ColorPaletteControl(_ref) { + let { + onChange, + value, + ...otherProps + } = _ref; return Object(external_wp_element_["createElement"])(control["a" /* default */], Object(esm_extends["a" /* default */])({}, otherProps, { onColorChange: onChange, colorValue: value, @@ -6259,17 +6355,18 @@ var external_wp_notices_ = __webpack_require__("onLe"); -function useSaveImage({ - crop, - rotation, - height, - width, - aspect, - url, - id, - onSaveImage, - onFinishEditing -}) { +function useSaveImage(_ref) { + let { + crop, + rotation, + height, + width, + aspect, + url, + id, + onSaveImage, + onFinishEditing + } = _ref; const { createErrorNotice } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]); @@ -6328,11 +6425,12 @@ function useSaveImage({ -function useTransformState({ - url, - naturalWidth, - naturalHeight -}) { +function useTransformState(_ref) { + let { + url, + naturalWidth, + naturalHeight + } = _ref; const [editedUrl, setEditedUrl] = Object(external_wp_element_["useState"])(); const [crop, setCrop] = Object(external_wp_element_["useState"])(); const [position, setPosition] = Object(external_wp_element_["useState"])({ @@ -6464,16 +6562,17 @@ function useTransformImage(imageProperties, isEditing) { const ImageEditingContext = Object(external_wp_element_["createContext"])({}); const useImageEditingContext = () => Object(external_wp_element_["useContext"])(ImageEditingContext); -function ImageEditingProvider({ - id, - url, - naturalWidth, - naturalHeight, - isEditing, - onFinishEditing, - onSaveImage, - children -}) { +function ImageEditingProvider(_ref) { + let { + id, + url, + naturalWidth, + naturalHeight, + isEditing, + onFinishEditing, + onSaveImage, + children + } = _ref; const transformImage = useTransformImage({ url, naturalWidth, @@ -6513,14 +6612,15 @@ function ImageEditingProvider({ -function ImageCropper({ - url, - width, - height, - clientWidth, - naturalHeight, - naturalWidth -}) { +function ImageCropper(_ref) { + let { + url, + width, + height, + clientWidth, + naturalHeight, + naturalWidth + } = _ref; const { isInProgress, editedUrl, @@ -6591,16 +6691,19 @@ function ZoomDropdown() { return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], { contentClassName: "wp-block-image__zoom", popoverProps: constants_POPOVER_PROPS, - renderToggle: ({ - isOpen, - onToggle - }) => Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { - icon: search["a" /* default */], - label: Object(external_wp_i18n_["__"])('Zoom'), - onClick: onToggle, - "aria-expanded": isOpen, - disabled: isInProgress - }), + renderToggle: _ref => { + let { + isOpen, + onToggle + } = _ref; + return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { + icon: search["a" /* default */], + label: Object(external_wp_i18n_["__"])('Zoom'), + onClick: onToggle, + "aria-expanded": isOpen, + disabled: isInProgress + }); + }, renderContent: () => Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], { label: Object(external_wp_i18n_["__"])('Zoom'), min: constants_MIN_ZOOM, @@ -6645,33 +6748,38 @@ const aspectRatio = Object(external_wp_element_["createElement"])(external_wp_pr -function AspectGroup({ - aspectRatios, - isDisabled, - label, - onClick, - value -}) { +function AspectGroup(_ref) { + let { + aspectRatios, + isDisabled, + label, + onClick, + value + } = _ref; return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { label: label - }, aspectRatios.map(({ - title, - aspect - }) => Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - key: aspect, - disabled: isDisabled, - onClick: () => { - onClick(aspect); - }, - role: "menuitemradio", - isSelected: aspect === value, - icon: aspect === value ? check["a" /* default */] : undefined - }, title))); + }, aspectRatios.map(_ref2 => { + let { + title, + aspect + } = _ref2; + return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + key: aspect, + disabled: isDisabled, + onClick: () => { + onClick(aspect); + }, + role: "menuitemradio", + isSelected: aspect === value, + icon: aspect === value ? check["a" /* default */] : undefined + }, title); + })); } -function AspectRatioDropdown({ - toggleProps -}) { +function AspectRatioDropdown(_ref3) { + let { + toggleProps + } = _ref3; const { isInProgress, aspect, @@ -6684,65 +6792,68 @@ function AspectRatioDropdown({ popoverProps: constants_POPOVER_PROPS, toggleProps: toggleProps, className: "wp-block-image__aspect-ratio" - }, ({ - onClose - }) => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(AspectGroup, { - isDisabled: isInProgress, - onClick: newAspect => { - setAspect(newAspect); - onClose(); - }, - value: aspect, - aspectRatios: [{ - title: Object(external_wp_i18n_["__"])('Original'), - aspect: defaultAspect - }, { - title: Object(external_wp_i18n_["__"])('Square'), - aspect: 1 - }] - }), Object(external_wp_element_["createElement"])(AspectGroup, { - label: Object(external_wp_i18n_["__"])('Landscape'), - isDisabled: isInProgress, - onClick: newAspect => { - setAspect(newAspect); - onClose(); - }, - value: aspect, - aspectRatios: [{ - title: Object(external_wp_i18n_["__"])('16:10'), - aspect: 16 / 10 - }, { - title: Object(external_wp_i18n_["__"])('16:9'), - aspect: 16 / 9 - }, { - title: Object(external_wp_i18n_["__"])('4:3'), - aspect: 4 / 3 - }, { - title: Object(external_wp_i18n_["__"])('3:2'), - aspect: 3 / 2 - }] - }), Object(external_wp_element_["createElement"])(AspectGroup, { - label: Object(external_wp_i18n_["__"])('Portrait'), - isDisabled: isInProgress, - onClick: newAspect => { - setAspect(newAspect); - onClose(); - }, - value: aspect, - aspectRatios: [{ - title: Object(external_wp_i18n_["__"])('10:16'), - aspect: 10 / 16 - }, { - title: Object(external_wp_i18n_["__"])('9:16'), - aspect: 9 / 16 - }, { - title: Object(external_wp_i18n_["__"])('3:4'), - aspect: 3 / 4 - }, { - title: Object(external_wp_i18n_["__"])('2:3'), - aspect: 2 / 3 - }] - }))); + }, _ref4 => { + let { + onClose + } = _ref4; + return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(AspectGroup, { + isDisabled: isInProgress, + onClick: newAspect => { + setAspect(newAspect); + onClose(); + }, + value: aspect, + aspectRatios: [{ + title: Object(external_wp_i18n_["__"])('Original'), + aspect: defaultAspect + }, { + title: Object(external_wp_i18n_["__"])('Square'), + aspect: 1 + }] + }), Object(external_wp_element_["createElement"])(AspectGroup, { + label: Object(external_wp_i18n_["__"])('Landscape'), + isDisabled: isInProgress, + onClick: newAspect => { + setAspect(newAspect); + onClose(); + }, + value: aspect, + aspectRatios: [{ + title: Object(external_wp_i18n_["__"])('16:10'), + aspect: 16 / 10 + }, { + title: Object(external_wp_i18n_["__"])('16:9'), + aspect: 16 / 9 + }, { + title: Object(external_wp_i18n_["__"])('4:3'), + aspect: 4 / 3 + }, { + title: Object(external_wp_i18n_["__"])('3:2'), + aspect: 3 / 2 + }] + }), Object(external_wp_element_["createElement"])(AspectGroup, { + label: Object(external_wp_i18n_["__"])('Portrait'), + isDisabled: isInProgress, + onClick: newAspect => { + setAspect(newAspect); + onClose(); + }, + value: aspect, + aspectRatios: [{ + title: Object(external_wp_i18n_["__"])('10:16'), + aspect: 10 / 16 + }, { + title: Object(external_wp_i18n_["__"])('9:16'), + aspect: 9 / 16 + }, { + title: Object(external_wp_i18n_["__"])('3:4'), + aspect: 3 / 4 + }, { + title: Object(external_wp_i18n_["__"])('2:3'), + aspect: 2 / 3 + }] + })); + }); } // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rotate-right.js @@ -6831,14 +6942,15 @@ function FormControls() { -function ImageEditor({ - url, - width, - height, - clientWidth, - naturalHeight, - naturalWidth -}) { +function ImageEditor(_ref) { + let { + url, + width, + height, + clientWidth, + naturalHeight, + naturalWidth + } = _ref; return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ImageCropper, { url: url, width: width, @@ -6934,17 +7046,18 @@ function useDimensionHandler(customHeight, customWidth, defaultHeight, defaultWi const IMAGE_SIZE_PRESETS = [25, 50, 75, 100]; -function ImageSizeControl({ - imageWidth, - imageHeight, - imageSizeOptions = [], - isResizable = true, - slug, - width, - height, - onChange, - onChangeImage = external_lodash_["noop"] -}) { +function ImageSizeControl(_ref) { + let { + imageWidth, + imageHeight, + imageSizeOptions = [], + isResizable = true, + slug, + width, + height, + onChange, + onChangeImage = external_lodash_["noop"] + } = _ref; const { currentHeight, currentWidth, @@ -7026,11 +7139,13 @@ var external_wp_dom_ = __webpack_require__("1CF3"); -const LinkControlSettingsDrawer = ({ - value, - onChange = external_lodash_["noop"], - settings -}) => { +const LinkControlSettingsDrawer = _ref => { + let { + value, + onChange = external_lodash_["noop"], + settings + } = _ref; + if (!settings || !settings.length) { return null; } @@ -7177,9 +7292,10 @@ class url_input_URLInput extends external_wp_element_["Component"] { return !this.isUpdatingSuggestions && __experimentalShowInitialSuggestions && !(value && value.length) && !(suggestions && suggestions.length); } - updateSuggestions(value = '') { + updateSuggestions() { var _value; + let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; const { __experimentalFetchLinkSuggestions: fetchLinkSuggestions, __experimentalHandleURLSuggestions: handleURLSuggestions @@ -7398,14 +7514,16 @@ class url_input_URLInput extends external_wp_element_["Component"] { this.inputRef.current.focus(); } - static getDerivedStateFromProps({ - value, - instanceId, - disableSuggestions, - __experimentalShowInitialSuggestions = false - }, { - showSuggestions - }) { + static getDerivedStateFromProps(_ref, _ref2) { + let { + value, + instanceId, + disableSuggestions, + __experimentalShowInitialSuggestions = false + } = _ref; + let { + showSuggestions + } = _ref2; let shouldShowSuggestions = showSuggestions; const hasValue = value && value.length; @@ -7580,13 +7698,15 @@ var plus = __webpack_require__("Q4Sy"); -const LinkControlSearchCreate = ({ - searchTerm, - onClick, - itemProps, - isSelected, - buttonText -}) => { +const LinkControlSearchCreate = _ref => { + let { + searchTerm, + onClick, + itemProps, + isSelected, + buttonText + } = _ref; + if (!searchTerm) { return null; } @@ -7650,15 +7770,16 @@ const globe = Object(external_wp_element_["createElement"])(external_wp_primitiv -const LinkControlSearchItem = ({ - itemProps, - suggestion, - isSelected = false, - onClick, - isURL = false, - searchTerm = '', - shouldShowType = false -}) => { +const LinkControlSearchItem = _ref => { + let { + itemProps, + suggestion, + isSelected = false, + onClick, + isURL = false, + searchTerm = '', + shouldShowType = false + } = _ref; return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, itemProps, { onClick: onClick, className: classnames_default()('block-editor-link-control__search-item', { @@ -7720,20 +7841,21 @@ const DEFAULT_LINK_SETTINGS = [{ -function LinkControlSearchResults({ - instanceId, - withCreateSuggestion, - currentInputValue, - handleSuggestionClick, - suggestionsListProps, - buildSuggestionItemProps, - suggestions, - selectedSuggestion, - isLoading, - isInitialSuggestions, - createSuggestionButtonText, - suggestionsQuery -}) { +function LinkControlSearchResults(_ref) { + let { + instanceId, + withCreateSuggestion, + currentInputValue, + handleSuggestionClick, + suggestionsListProps, + buildSuggestionItemProps, + suggestions, + selectedSuggestion, + isLoading, + isInitialSuggestions, + createSuggestionButtonText, + suggestionsQuery + } = _ref; const resultsListClasses = classnames_default()('block-editor-link-control__search-results', { 'is-loading': isLoading }); @@ -7928,9 +8050,10 @@ function useSearchHandler(suggestionsQuery, allowDirectEntry, withCreateSuggesti }; }, []); const directEntryHandler = allowDirectEntry ? handleDirectEntry : handleNoop; - return Object(external_wp_element_["useCallback"])((val, { - isInitialSuggestions - }) => { + return Object(external_wp_element_["useCallback"])((val, _ref) => { + let { + isInitialSuggestions + } = _ref; return isURLLike(val) ? directEntryHandler(val, { isInitialSuggestions }) : handleEntitySearch(val, { ...suggestionsQuery, @@ -7967,26 +8090,27 @@ function useSearchHandler(suggestionsQuery, allowDirectEntry, withCreateSuggesti const noopSearchHandler = () => Promise.resolve([]); -const LinkControlSearchInput = Object(external_wp_element_["forwardRef"])(({ - value, - children, - currentLink = {}, - className = null, - placeholder = null, - withCreateSuggestion = false, - onCreateSuggestion = external_lodash_["noop"], - onChange = external_lodash_["noop"], - onSelect = external_lodash_["noop"], - showSuggestions = true, - renderSuggestions = props => Object(external_wp_element_["createElement"])(LinkControlSearchResults, props), - fetchSuggestions = null, - allowDirectEntry = true, - showInitialSuggestions = false, - suggestionsQuery = {}, - withURLSuggestion = true, - createSuggestionButtonText, - useLabel = false -}, ref) => { +const LinkControlSearchInput = Object(external_wp_element_["forwardRef"])((_ref, ref) => { + let { + value, + children, + currentLink = {}, + className = null, + placeholder = null, + withCreateSuggestion = false, + onCreateSuggestion = external_lodash_["noop"], + onChange = external_lodash_["noop"], + onSelect = external_lodash_["noop"], + showSuggestions = true, + renderSuggestions = props => Object(external_wp_element_["createElement"])(LinkControlSearchResults, props), + fetchSuggestions = null, + allowDirectEntry = true, + showInitialSuggestions = false, + suggestionsQuery = {}, + withURLSuggestion = true, + createSuggestionButtonText, + useLabel = false + } = _ref; const genericSearchHandler = useSearchHandler(suggestionsQuery, allowDirectEntry, withCreateSuggestion, withURLSuggestion); const searchHandler = showSuggestions ? fetchSuggestions || genericSearchHandler : noopSearchHandler; const instanceId = Object(external_wp_compose_["useInstanceId"])(LinkControlSearchInput); @@ -8209,13 +8333,14 @@ function useRemoteUrlData(url) { -function LinkPreview({ - value, - onEditClick, - hasRichPreviews = false, - hasUnlinkControl = false, - onRemove -}) { +function LinkPreview(_ref) { + let { + value, + onEditClick, + hasRichPreviews = false, + hasUnlinkControl = false, + onRemove + } = _ref; // Avoid fetching if rich previews are not desired. const showRichPreviews = hasRichPreviews ? value === null || value === void 0 ? void 0 : value.url : null; const { @@ -8497,28 +8622,30 @@ const makeCancelable = promise => { * @param {WPLinkControlProps} props Component props. */ -function LinkControl({ - searchInputPlaceholder, - value, - settings = DEFAULT_LINK_SETTINGS, - onChange = external_lodash_["noop"], - onRemove, - noDirectEntry = false, - showSuggestions = true, - showInitialSuggestions, - forceIsEditingLink, - createSuggestion, - withCreateSuggestion, - inputValue: propInputValue = '', - suggestionsQuery = {}, - noURLSuggestion = false, - createSuggestionButtonText, - hasRichPreviews = false, - hasTextControl = false, - renderControlBottom = null -}) { +function LinkControl(_ref) { var _currentInputValue$tr, _value$url, _value$url$trim; + let { + searchInputPlaceholder, + value, + settings = DEFAULT_LINK_SETTINGS, + onChange = external_lodash_["noop"], + onRemove, + noDirectEntry = false, + showSuggestions = true, + showInitialSuggestions, + forceIsEditingLink, + createSuggestion, + withCreateSuggestion, + inputValue: propInputValue = '', + suggestionsQuery = {}, + noURLSuggestion = false, + createSuggestionButtonText, + hasRichPreviews = false, + hasTextControl = false, + renderControlBottom = null + } = _ref; + if (withCreateSuggestion === undefined && createSuggestion) { withCreateSuggestion = true; } @@ -8622,9 +8749,9 @@ function LinkControl({ if (keyCode === external_wp_keycodes_["ENTER"] && !currentInputIsEmpty // disallow submitting empty values. ) { - event.preventDefault(); - handleSubmit(); - } + event.preventDefault(); + handleSubmit(); + } }; const shownUnlinkControl = onRemove && value && !isEditingLink && !isCreatingPage; @@ -8743,10 +8870,11 @@ const MediaUpload = () => null; */ -function MediaUploadCheck({ - fallback = null, - children -}) { +function MediaUploadCheck(_ref) { + let { + fallback = null, + children + } = _ref; const hasUploadPermissions = Object(external_wp_data_["useSelect"])(select => { const { getSettings @@ -8790,19 +8918,20 @@ function MediaUploadCheck({ -const MediaReplaceFlow = ({ - mediaURL, - mediaId, - allowedTypes, - accept, - onSelect, - onSelectURL, - onFilesUpload = external_lodash_["noop"], - name = Object(external_wp_i18n_["__"])('Replace'), - createNotice, - removeNotice, - children -}) => { +const MediaReplaceFlow = _ref => { + let { + mediaURL, + mediaId, + allowedTypes, + accept, + onSelect, + onSelectURL, + onFilesUpload = external_lodash_["noop"], + name = Object(external_wp_i18n_["__"])('Replace'), + createNotice, + removeNotice, + children + } = _ref; const [mediaURLValue, setMediaURLValue] = Object(external_wp_element_["useState"])(mediaURL); const mediaUpload = Object(external_wp_data_["useSelect"])(select => { return select(store["a" /* store */]).getSettings().mediaUpload; @@ -8849,7 +8978,8 @@ const MediaReplaceFlow = ({ const files = event.target.files; onFilesUpload(files); - const setMedia = ([media]) => { + const setMedia = _ref2 => { + let [media] = _ref2; selectMedia(media); }; @@ -8874,64 +9004,75 @@ const MediaReplaceFlow = ({ return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], { popoverProps: POPOVER_PROPS, contentClassName: "block-editor-media-replace-flow__options", - renderToggle: ({ - isOpen, - onToggle - }) => Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { - ref: editMediaButtonRef, - "aria-expanded": isOpen, - "aria-haspopup": "true", - onClick: onToggle, - onKeyDown: openOnArrowDown - }, name), - renderContent: ({ - onClose - }) => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], { - className: "block-editor-media-replace-flow__media-upload-menu" - }, Object(external_wp_element_["createElement"])(media_upload, { - value: mediaId, - onSelect: media => selectMedia(media), - allowedTypes: allowedTypes, - render: ({ - open - }) => Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - icon: library_media["a" /* default */], - onClick: open - }, Object(external_wp_i18n_["__"])('Open Media Library')) - }), Object(external_wp_element_["createElement"])(media_upload_check, null, Object(external_wp_element_["createElement"])(external_wp_components_["FormFileUpload"], { - onChange: event => { - uploadFiles(event, onClose); - }, - accept: accept, - render: ({ - openFileDialog - }) => { - return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - icon: upload["a" /* default */], - onClick: () => { - openFileDialog(); - } - }, Object(external_wp_i18n_["__"])('Upload')); - } - })), children), onSelectURL && // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions - Object(external_wp_element_["createElement"])("form", { - className: "block-editor-media-flow__url-input" - }, Object(external_wp_element_["createElement"])("span", { - className: "block-editor-media-replace-flow__image-url-label" - }, Object(external_wp_i18n_["__"])('Current media URL:')), Object(external_wp_element_["createElement"])(link_control, { - value: { - url: mediaURLValue - }, - settings: [], - showSuggestions: false, - onChange: ({ - url - }) => { - setMediaURLValue(url); - selectURL(url); - editMediaButtonRef.current.focus(); - } - }))) + renderToggle: _ref3 => { + let { + isOpen, + onToggle + } = _ref3; + return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { + ref: editMediaButtonRef, + "aria-expanded": isOpen, + "aria-haspopup": "true", + onClick: onToggle, + onKeyDown: openOnArrowDown + }, name); + }, + renderContent: _ref4 => { + let { + onClose + } = _ref4; + return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], { + className: "block-editor-media-replace-flow__media-upload-menu" + }, Object(external_wp_element_["createElement"])(media_upload, { + value: mediaId, + onSelect: media => selectMedia(media), + allowedTypes: allowedTypes, + render: _ref5 => { + let { + open + } = _ref5; + return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + icon: library_media["a" /* default */], + onClick: open + }, Object(external_wp_i18n_["__"])('Open Media Library')); + } + }), Object(external_wp_element_["createElement"])(media_upload_check, null, Object(external_wp_element_["createElement"])(external_wp_components_["FormFileUpload"], { + onChange: event => { + uploadFiles(event, onClose); + }, + accept: accept, + render: _ref6 => { + let { + openFileDialog + } = _ref6; + return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + icon: upload["a" /* default */], + onClick: () => { + openFileDialog(); + } + }, Object(external_wp_i18n_["__"])('Upload')); + } + })), children), onSelectURL && // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions + Object(external_wp_element_["createElement"])("form", { + className: "block-editor-media-flow__url-input" + }, Object(external_wp_element_["createElement"])("span", { + className: "block-editor-media-replace-flow__image-url-label" + }, Object(external_wp_i18n_["__"])('Current media URL:')), Object(external_wp_element_["createElement"])(link_control, { + value: { + url: mediaURLValue + }, + settings: [], + showSuggestions: false, + onChange: _ref7 => { + let { + url + } = _ref7; + setMediaURLValue(url); + selectURL(url); + editMediaButtonRef.current.focus(); + } + }))); + } }); }; @@ -8963,11 +9104,12 @@ var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external -function LinkViewerURL({ - url, - urlLabel, - className -}) { +function LinkViewerURL(_ref) { + let { + url, + urlLabel, + className + } = _ref; const linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url'); if (!url) { @@ -9002,14 +9144,15 @@ function LinkViewerURL({ */ -function LinkViewer({ - className, - linkClassName, - onEditLinkClick, - url, - urlLabel, - ...props -}) { +function LinkViewer(_ref) { + let { + className, + linkClassName, + onEditLinkClick, + url, + urlLabel, + ...props + } = _ref; return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ className: classnames_default()('block-editor-url-popover__link-viewer', className) }, props), Object(external_wp_element_["createElement"])(LinkViewerURL, { @@ -9043,13 +9186,14 @@ function LinkViewer({ */ -function LinkEditor({ - autocompleteRef, - className, - onChangeInputValue, - value, - ...props -}) { +function LinkEditor(_ref) { + let { + autocompleteRef, + className, + onChangeInputValue, + value, + ...props + } = _ref; return Object(external_wp_element_["createElement"])("form", Object(esm_extends["a" /* default */])({ className: classnames_default()('block-editor-url-popover__link-editor', className) }, props), Object(external_wp_element_["createElement"])(url_input, { @@ -9081,14 +9225,15 @@ function LinkEditor({ -function URLPopover({ - additionalControls, - children, - renderSettings, - position = 'bottom center', - focusOnMount = 'firstElement', - ...popoverProps -}) { +function URLPopover(_ref) { + let { + additionalControls, + children, + renderSettings, + position = 'bottom center', + focusOnMount = 'firstElement', + ...popoverProps + } = _ref; const [isSettingsExpanded, setIsSettingsExpanded] = Object(external_wp_element_["useState"])(false); const showSettings = !!renderSettings && isSettingsExpanded; @@ -9152,58 +9297,62 @@ URLPopover.LinkViewer = LinkViewer; -const InsertFromURLPopover = ({ - src, - onChange, - onSubmit, - onClose -}) => Object(external_wp_element_["createElement"])(url_popover, { - onClose: onClose -}, Object(external_wp_element_["createElement"])("form", { - className: "block-editor-media-placeholder__url-input-form", - onSubmit: onSubmit -}, Object(external_wp_element_["createElement"])("input", { - className: "block-editor-media-placeholder__url-input-field", - type: "text", - "aria-label": Object(external_wp_i18n_["__"])('URL'), - placeholder: Object(external_wp_i18n_["__"])('Paste or type URL'), - onChange: onChange, - value: src -}), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { - className: "block-editor-media-placeholder__url-input-submit-button", - icon: keyboard_return["a" /* default */], - label: Object(external_wp_i18n_["__"])('Apply'), - type: "submit" -}))); +const InsertFromURLPopover = _ref => { + let { + src, + onChange, + onSubmit, + onClose + } = _ref; + return Object(external_wp_element_["createElement"])(url_popover, { + onClose: onClose + }, Object(external_wp_element_["createElement"])("form", { + className: "block-editor-media-placeholder__url-input-form", + onSubmit: onSubmit + }, Object(external_wp_element_["createElement"])("input", { + className: "block-editor-media-placeholder__url-input-field", + type: "text", + "aria-label": Object(external_wp_i18n_["__"])('URL'), + placeholder: Object(external_wp_i18n_["__"])('Paste or type URL'), + onChange: onChange, + value: src + }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { + className: "block-editor-media-placeholder__url-input-submit-button", + icon: keyboard_return["a" /* default */], + label: Object(external_wp_i18n_["__"])('Apply'), + type: "submit" + }))); +}; -function MediaPlaceholder({ - value = {}, - allowedTypes, - className, - icon, - labels = {}, - mediaPreview, - notices, - isAppender, - accept, - addToGallery, - multiple = false, - handleUpload = true, - dropZoneUIOnly, - disableDropZone, - disableMediaButtons, - onError, - onSelect, - onCancel, - onSelectURL, - onDoubleClick, - onFilesPreUpload = external_lodash_["noop"], - onHTMLDrop = external_lodash_["noop"], - children, - mediaLibraryButton, - placeholder, - style -}) { +function MediaPlaceholder(_ref2) { + let { + value = {}, + allowedTypes, + className, + icon, + labels = {}, + mediaPreview, + notices, + isAppender, + accept, + addToGallery, + multiple = false, + handleUpload = true, + dropZoneUIOnly, + disableDropZone, + disableMediaButtons, + onError, + onSelect, + onCancel, + onSelectURL, + onDoubleClick, + onFilesPreUpload = external_lodash_["noop"], + onHTMLDrop = external_lodash_["noop"], + children, + mediaLibraryButton, + placeholder, + style + } = _ref2; const mediaUpload = Object(external_wp_data_["useSelect"])(select => { const { getSettings @@ -9272,15 +9421,21 @@ function MediaPlaceholder({ // If Item has id, only remove it if lastMediaPassed has an item with that id. if (item.id) { return !lastMediaPassed.some( // Be sure to convert to number for comparison. - ({ - id - }) => Number(id) === Number(item.id)); + _ref3 => { + let { + id + } = _ref3; + return Number(id) === Number(item.id); + }); } // Compare transient images via .includes since gallery may append extra info onto the url. - return !lastMediaPassed.some(({ - urlSlug - }) => item.url.includes(urlSlug)); + return !lastMediaPassed.some(_ref4 => { + let { + urlSlug + } = _ref4; + return item.url.includes(urlSlug); + }); }); // Return the filtered media array along with newMedia. onSelect(filteredMedia.concat(newMedia)); // Reset lastMediaPassed and set it with ids and urls from newMedia. @@ -9299,7 +9454,10 @@ function MediaPlaceholder({ setMedia = onSelect; } } else { - setMedia = ([media]) => onSelect(media); + setMedia = _ref5 => { + let [media] = _ref5; + return onSelect(media); + }; } mediaUpload({ @@ -9411,9 +9569,10 @@ function MediaPlaceholder({ }; const renderMediaUploadChecked = () => { - const defaultButton = ({ - open - }) => { + const defaultButton = _ref6 => { + let { + open + } = _ref6; return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { variant: "tertiary", onClick: () => { @@ -9429,9 +9588,12 @@ function MediaPlaceholder({ multiple: multiple, onSelect: onSelect, allowedTypes: allowedTypes, - value: Array.isArray(value) ? value.map(({ - id - }) => id) : value.id, + value: Array.isArray(value) ? value.map(_ref7 => { + let { + id + } = _ref7; + return id; + }) : value.id, render: libraryButton }); @@ -9440,9 +9602,10 @@ function MediaPlaceholder({ onChange: onUpload, accept: accept, multiple: multiple, - render: ({ - openFileDialog - }) => { + render: _ref8 => { + let { + openFileDialog + } = _ref8; const content = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { variant: "primary", className: classnames_default()('block-editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'), @@ -9497,18 +9660,22 @@ function MediaPlaceholder({ */ -const PanelColorSettings = ({ - colorSettings, - ...props -}) => { - const settings = colorSettings.map(({ - value, - onChange, - ...otherSettings - }) => ({ ...otherSettings, - colorValue: value, - onColorChange: onChange - })); +const PanelColorSettings = _ref => { + let { + colorSettings, + ...props + } = _ref; + const settings = colorSettings.map(_ref2 => { + let { + value, + onChange, + ...otherSettings + } = _ref2; + return { ...otherSettings, + colorValue: value, + onColorChange: onChange + }; + }); return Object(external_wp_element_["createElement"])(panel_color_gradient_settings["a" /* default */], Object(esm_extends["a" /* default */])({ settings: settings, gradients: [], @@ -9556,12 +9723,18 @@ const FormatToolbar = () => { return null; } - const allProps = fills.map(([{ - props - }]) => props); - const hasActive = allProps.some(({ - isActive - }) => isActive); + const allProps = fills.map(_ref => { + let [{ + props + }] = _ref; + return props; + }); + const hasActive = allProps.some(_ref2 => { + let { + isActive + } = _ref2; + return isActive; + }); return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], null, toggleProps => Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], { icon: chevron_down["a" /* default */] /* translators: button label text should, if possible, be under 16 characters. */ @@ -9573,9 +9746,12 @@ const FormatToolbar = () => { }), describedBy: Object(external_wp_i18n_["__"])('Displays more block tools') }, - controls: Object(external_lodash_["orderBy"])(fills.map(([{ - props - }]) => props), 'title'), + controls: Object(external_lodash_["orderBy"])(fills.map(_ref3 => { + let [{ + props + }] = _ref3; + return props; + }), 'title'), popoverProps: format_toolbar_POPOVER_PROPS })); })); @@ -9597,10 +9773,12 @@ const FormatToolbar = () => { -const FormatToolbarContainer = ({ - inline, - anchorRef -}) => { +const FormatToolbarContainer = _ref => { + let { + inline, + anchorRef + } = _ref; + if (inline) { // Render in popover return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], { @@ -9681,9 +9859,10 @@ function useUndoAutomaticChange() { */ -function useCaretInFormat({ - value -}) { +function useCaretInFormat(_ref) { + let { + value + } = _ref; const hasActiveFormats = value.activeFormats && !!value.activeFormats.length; const { isCaretWithinFormattedText @@ -9714,10 +9893,11 @@ function useCaretInFormat({ */ -function useMarkPersistent({ - html, - value -}) { +function useMarkPersistent(_ref) { + let { + html, + value + } = _ref; const previousText = Object(external_wp_element_["useRef"])(); const hasActiveFormats = value.activeFormats && !!value.activeFormats.length; const { @@ -9756,9 +9936,12 @@ var external_wp_blob_ = __webpack_require__("xTGt"); */ function filePasteHandler(files) { - return files.filter(({ - type - }) => /^image\/(?:jpe?g|png|gif)$/.test(type)).map(file => ``).join(''); + return files.filter(_ref => { + let { + type + } = _ref; + return /^image\/(?:jpe?g|png|gif)$/.test(type); + }).map(file => ``).join(''); } // EXTERNAL MODULE: external ["wp","shortcode"] @@ -9798,11 +9981,13 @@ function getMultilineTag(multiline) { return multiline === true ? 'p' : multiline; } -function getAllowedFormats({ - allowedFormats, - formattingControls, - disableFormats -}) { +function getAllowedFormats(_ref) { + let { + allowedFormats, + formattingControls, + disableFormats + } = _ref; + if (disableFormats) { return getAllowedFormats.EMPTY_ARRAY; } @@ -9851,14 +10036,16 @@ function createLinkInParagraph(url, onReplace) { * result of splitting the block by pasting block content in the instance. */ -function splitValue({ - value, - pastedBlocks = [], - onReplace, - onSplit, - onSplitMiddle, - multilineTag -}) { +function splitValue(_ref) { + let { + value, + pastedBlocks = [], + onReplace, + onSplit, + onSplitMiddle, + multilineTag + } = _ref; + if (!onReplace || !onSplit) { return; } @@ -9995,7 +10182,9 @@ function usePasteHandler(props) { } // Remove Windows-specific metadata appended within copied HTML text. - html = removeWindowsFragments(html); + html = removeWindowsFragments(html); // Strip meta tag. + + html = removeCharsetMetaTag(html); event.preventDefault(); // Allows us to ask for this information when we get a report. window.console.log('Received HTML:\n\n', html); @@ -10006,9 +10195,11 @@ function usePasteHandler(props) { return; } - const transformed = formatTypes.reduce((accumlator, { - __unstablePasteRule - }) => { + const transformed = formatTypes.reduce((accumlator, _ref) => { + let { + __unstablePasteRule + } = _ref; + // Only allow one transform. if (__unstablePasteRule && accumlator === value) { accumlator = __unstablePasteRule(value, { @@ -10145,6 +10336,26 @@ function removeWindowsFragments(html) { const endReg = /.*/s; return html.replace(startReg, '').replace(endReg, ''); } +/** + * Removes the charset meta tag inserted by Chromium. + * See: + * - https://github.com/WordPress/gutenberg/issues/33585 + * - https://bugs.chromium.org/p/chromium/issues/detail?id=1264616#c4 + * + * @param {string} html the html to be stripped of the meta tag. + * @return {string} the cleaned html + */ + + +function removeCharsetMetaTag(html) { + const metaTag = ``; + + if (html.startsWith(metaTag)) { + return html.slice(metaTag.length); + } + + return html; +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-input-rules.js /** @@ -10189,12 +10400,16 @@ function useInputRules(props) { } const trimmedTextBefore = text.slice(0, start).trim(); - const prefixTransforms = Object(external_wp_blocks_["getBlockTransforms"])('from').filter(({ - type - }) => type === 'prefix'); - const transformation = Object(external_wp_blocks_["findTransform"])(prefixTransforms, ({ - prefix - }) => { + const prefixTransforms = Object(external_wp_blocks_["getBlockTransforms"])('from').filter(_ref => { + let { + type + } = _ref; + return type === 'prefix'; + }); + const transformation = Object(external_wp_blocks_["findTransform"])(prefixTransforms, _ref2 => { + let { + prefix + } = _ref2; return trimmedTextBefore === prefix; }); @@ -10231,9 +10446,11 @@ function useInputRules(props) { inputRule(); } - const transformed = formatTypes.reduce((accumlator, { - __unstableInputRule - }) => { + const transformed = formatTypes.reduce((accumlator, _ref3) => { + let { + __unstableInputRule + } = _ref3; + if (__unstableInputRule) { accumlator = __unstableInputRule(accumlator); } @@ -10316,9 +10533,12 @@ function useEnter(props) { const canSplit = onReplace && onSplit; if (onReplace) { - const transforms = Object(external_wp_blocks_["getBlockTransforms"])('from').filter(({ - type - }) => type === 'enter'); + const transforms = Object(external_wp_blocks_["getBlockTransforms"])('from').filter(_ref => { + let { + type + } = _ref; + return type === 'enter'; + }); const transformation = Object(external_wp_blocks_["findTransform"])(transforms, item => { return item.regExp.test(_value.text); }); @@ -10415,18 +10635,21 @@ const interactiveContentTags = new Set(['a', 'audio', 'button', 'details', 'embe * @param {Array} $0.allowedFormats Allowed formats */ -function useFormatTypes({ - clientId, - identifier, - withoutInteractiveFormatting, - allowedFormats -}) { +function useFormatTypes(_ref) { + let { + clientId, + identifier, + withoutInteractiveFormatting, + allowedFormats + } = _ref; const allFormatTypes = Object(external_wp_data_["useSelect"])(formatTypesSelector, []); const formatTypes = Object(external_wp_element_["useMemo"])(() => { - return allFormatTypes.filter(({ - name, - tagName - }) => { + return allFormatTypes.filter(_ref2 => { + let { + name, + tagName + } = _ref2; + if (allowedFormats && !allowedFormats.includes(name)) { return false; } @@ -10580,13 +10803,14 @@ function useInputEvents(inputEvents) { */ -function FormatEdit({ - formatTypes, - onChange, - onFocus, - value, - forwardedRef -}) { +function FormatEdit(_ref) { + let { + formatTypes, + onChange, + onFocus, + value, + forwardedRef + } = _ref; return formatTypes.map(settings => { const { name, @@ -10691,36 +10915,37 @@ function removeNativeProps(props) { return Object(external_lodash_["omit"])(props, ['__unstableMobileNoFocusOnMount', 'deleteEnter', 'placeholderTextColor', 'textAlign', 'selectionColor', 'tagsToEliminate', 'rootTagsToEliminate', 'disableEditingMenu', 'fontSize', 'fontFamily', 'fontWeight', 'fontStyle', 'minWidth', 'maxWidth', 'setRef']); } -function RichTextWrapper({ - children, - tagName = 'div', - value: originalValue = '', - onChange: originalOnChange, - isSelected: originalIsSelected, - multiline, - inlineToolbar, - wrapperClassName, - autocompleters, - onReplace, - placeholder, - allowedFormats, - formattingControls, - withoutInteractiveFormatting, - onRemove, - onMerge, - onSplit, - __unstableOnSplitAtEnd: onSplitAtEnd, - __unstableOnSplitMiddle: onSplitMiddle, - identifier, - preserveWhiteSpace, - __unstablePastePlainText: pastePlainText, - __unstableEmbedURLOnPaste, - __unstableDisableFormats: disableFormats, - disableLineBreaks, - unstableOnFocus, - __unstableAllowPrefixTransformations, - ...props -}, forwardedRef) { +function RichTextWrapper(_ref, forwardedRef) { + let { + children, + tagName = 'div', + value: originalValue = '', + onChange: originalOnChange, + isSelected: originalIsSelected, + multiline, + inlineToolbar, + wrapperClassName, + autocompleters, + onReplace, + placeholder, + allowedFormats, + formattingControls, + withoutInteractiveFormatting, + onRemove, + onMerge, + onSplit, + __unstableOnSplitAtEnd: onSplitAtEnd, + __unstableOnSplitMiddle: onSplitMiddle, + identifier, + preserveWhiteSpace, + __unstablePastePlainText: pastePlainText, + __unstableEmbedURLOnPaste, + __unstableDisableFormats: disableFormats, + disableLineBreaks, + unstableOnFocus, + __unstableAllowPrefixTransformations, + ...props + } = _ref; const instanceId = Object(external_wp_compose_["useInstanceId"])(RichTextWrapper); identifier = identifier || instanceId; props = removeNativeProps(props); @@ -10823,10 +11048,11 @@ function RichTextWrapper({ } = Object(external_wp_richText_["__unstableUseRichText"])({ value: adjustedValue, - onChange(html, { - __unstableFormats, - __unstableText - }) { + onChange(html, _ref2) { + let { + __unstableFormats, + __unstableText + } = _ref2; adjustedOnChange(html); Object.values(changeHandlers).forEach(changeHandler => { changeHandler(__unstableFormats, __unstableText); @@ -10985,12 +11211,14 @@ function RichTextWrapper({ const ForwardedRichTextContainer = Object(external_wp_element_["forwardRef"])(RichTextWrapper); -ForwardedRichTextContainer.Content = ({ - value, - tagName: Tag, - multiline, - ...props -}) => { +ForwardedRichTextContainer.Content = _ref3 => { + let { + value, + tagName: Tag, + multiline, + ...props + } = _ref3; + // Handle deprecated `children` and `node` sources. if (Array.isArray(value)) { value = external_wp_blocks_["children"].toHTML(value); @@ -11046,11 +11274,12 @@ const EditableText = Object(external_wp_element_["forwardRef"])((props, ref) => })); }); -EditableText.Content = ({ - value = '', - tagName: Tag = 'div', - ...props -}) => { +EditableText.Content = _ref => { + let { + value = '', + tagName: Tag = 'div', + ...props + } = _ref; return Object(external_wp_element_["createElement"])(Tag, props, value); }; /** @@ -11083,10 +11312,12 @@ EditableText.Content = ({ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/plain-text/README.md */ -const PlainText = Object(external_wp_element_["forwardRef"])(({ - __experimentalVersion, - ...props -}, ref) => { +const PlainText = Object(external_wp_element_["forwardRef"])((_ref, ref) => { + let { + __experimentalVersion, + ...props + } = _ref; + if (__experimentalVersion === 2) { return Object(external_wp_element_["createElement"])(editable_text, Object(esm_extends["a" /* default */])({ ref: ref @@ -11116,11 +11347,12 @@ const PlainText = Object(external_wp_element_["forwardRef"])(({ -function ResponsiveBlockControlLabel({ - property, - viewport, - desc -}) { +function ResponsiveBlockControlLabel(_ref) { + let { + property, + viewport, + desc + } = _ref; const instanceId = Object(external_wp_compose_["useInstanceId"])(ResponsiveBlockControlLabel); const accessibleLabel = desc || Object(external_wp_i18n_["sprintf"])( /* translators: 1: property name. 2: viewport name. */ @@ -11237,11 +11469,12 @@ function ResponsiveBlockControl(props) { */ -function RichTextShortcut({ - character, - type, - onUse -}) { +function RichTextShortcut(_ref) { + let { + character, + type, + onUse + } = _ref; const keyboardShortcuts = Object(external_wp_element_["useContext"])(keyboardShortcutContext); const onUseRef = Object(external_wp_element_["useRef"])(); onUseRef.current = onUse; @@ -11270,12 +11503,13 @@ function RichTextShortcut({ */ -function RichTextToolbarButton({ - name, - shortcutType, - shortcutCharacter, - ...props -}) { +function RichTextToolbarButton(_ref) { + let { + name, + shortcutType, + shortcutCharacter, + ...props + } = _ref; let shortcut; let fillName = 'RichText.ToolbarControls'; @@ -11304,10 +11538,11 @@ function RichTextToolbarButton({ */ -function __unstableRichTextInputEvent({ - inputType, - onInput -}) { +function __unstableRichTextInputEvent(_ref) { + let { + inputType, + onInput + } = _ref; const callbacks = Object(external_wp_element_["useContext"])(inputEventContext); const onInputRef = Object(external_wp_element_["useRef"])(); onInputRef.current = onInput; @@ -11364,19 +11599,22 @@ function ToolSelector(props, ref) { }; return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], { - renderToggle: ({ - isOpen, - onToggle - }) => Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, { - ref: ref, - icon: isNavigationTool ? selectIcon : edit["a" /* default */], - "aria-expanded": isOpen, - "aria-haspopup": "true", - onClick: onToggle - /* translators: button label text should, if possible, be under 16 characters. */ - , - label: Object(external_wp_i18n_["__"])('Tools') - })), + renderToggle: _ref => { + let { + isOpen, + onToggle + } = _ref; + return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, { + ref: ref, + icon: isNavigationTool ? selectIcon : edit["a" /* default */], + "aria-expanded": isOpen, + "aria-haspopup": "true", + onClick: onToggle + /* translators: button label text should, if possible, be under 16 characters. */ + , + label: Object(external_wp_i18n_["__"])('Tools') + })); + }, position: "bottom right", renderContent: () => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], { role: "menu", @@ -11414,10 +11652,11 @@ function ToolSelector(props, ref) { */ -function UnitControl({ - units: unitsProp, - ...props -}) { +function UnitControl(_ref) { + let { + units: unitsProp, + ...props + } = _ref; const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({ availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw'], units: unitsProp @@ -11555,17 +11794,18 @@ const image_url_input_ui_icon = Object(external_wp_element_["createElement"])(ex d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z" })); -const ImageURLInputUI = ({ - linkDestination, - onChangeUrl, - url, - mediaType = 'image', - mediaUrl, - mediaLink, - linkTarget, - linkClass, - rel -}) => { +const ImageURLInputUI = _ref => { + let { + linkDestination, + onChangeUrl, + url, + mediaType = 'image', + mediaUrl, + mediaLink, + linkTarget, + linkClass, + rel + } = _ref; const [isOpen, setIsOpen] = Object(external_wp_element_["useState"])(false); const openLinkUI = Object(external_wp_element_["useCallback"])(() => { setIsOpen(true); @@ -11811,13 +12051,14 @@ var inserter_menu_extension = __webpack_require__("mlss"); -function PreviewOptions({ - children, - className, - isEnabled = true, - deviceType, - setDeviceType -}) { +function PreviewOptions(_ref) { + let { + children, + className, + isEnabled = true, + deviceType, + setDeviceType + } = _ref; const isMobile = Object(external_wp_compose_["useViewportMatch"])('small', '<'); if (isMobile) return null; const popoverProps = { @@ -11943,9 +12184,10 @@ var use_block_refs = __webpack_require__("PKbb"); -const SkipToSelectedBlock = ({ - selectedBlockClientId -}) => { +const SkipToSelectedBlock = _ref => { + let { + selectedBlockClientId + } = _ref; const ref = Object(use_block_refs["b" /* __unstableUseBlockRef */])(selectedBlockClientId); const onClick = () => { @@ -11995,9 +12237,10 @@ var stack = __webpack_require__("wzfx"); -function MultiSelectionInspector({ - blocks -}) { +function MultiSelectionInspector(_ref) { + let { + blocks + } = _ref; const words = Object(external_wp_wordcount_["count"])(Object(external_wp_blocks_["serialize"])(blocks), 'words'); return Object(external_wp_element_["createElement"])("div", { className: "block-editor-multi-selection-inspector__card" @@ -12042,9 +12285,10 @@ function MultiSelectionInspector({ */ -function DefaultStylePicker({ - blockName -}) { +function DefaultStylePicker(_ref) { + let { + blockName + } = _ref; const { preferredStyle, onUpdatePreferredStyleVariations, @@ -12063,13 +12307,16 @@ function DefaultStylePicker({ const selectOptions = Object(external_wp_element_["useMemo"])(() => [{ label: Object(external_wp_i18n_["__"])('Not set'), value: '' - }, ...styles.map(({ - label, - name - }) => ({ - label, - value: name - }))], [styles]); + }, ...styles.map(_ref2 => { + let { + label, + name + } = _ref2; + return { + label, + value: name + }; + })], [styles]); const selectOnChange = Object(external_wp_element_["useCallback"])(blockStyle => { onUpdatePreferredStyleVariations(blockName, blockStyle); }, [blockName, onUpdatePreferredStyleVariations]); @@ -12105,10 +12352,11 @@ function DefaultStylePicker({ -const BlockInspector = ({ - showNoBlockSelectedMessage = true, - bubblesVirtually = true -}) => { +const BlockInspector = _ref => { + let { + showNoBlockSelectedMessage = true, + bubblesVirtually = true + } = _ref; const { count, hasBlockStyles, @@ -12174,12 +12422,13 @@ const BlockInspector = ({ }); }; -const BlockInspectorSingleBlock = ({ - clientId, - blockName, - hasBlockStyles, - bubblesVirtually -}) => { +const BlockInspectorSingleBlock = _ref2 => { + let { + clientId, + blockName, + hasBlockStyles, + bubblesVirtually + } = _ref2; const blockInformation = Object(use_block_display_information["a" /* default */])(clientId); return Object(external_wp_element_["createElement"])("div", { className: "block-editor-block-inspector" @@ -12208,9 +12457,10 @@ const BlockInspectorSingleBlock = ({ })); }; -const AdvancedControls = ({ - bubblesVirtually -}) => { +const AdvancedControls = _ref3 => { + let { + bubblesVirtually + } = _ref3; const slot = Object(external_wp_components_["__experimentalUseSlot"])(inspector_controls["a" /* InspectorAdvancedControls */].slotName); const hasFills = Boolean(slot.fills && slot.fills.length); @@ -12304,11 +12554,12 @@ var use_popover_scroll = __webpack_require__("2z9l"); * @param {Object} $0.__unstableContentRef Ref holding the content scroll container. */ -function BlockTools({ - children, - __unstableContentRef, - ...props -}) { +function BlockTools(_ref) { + let { + children, + __unstableContentRef, + ...props + } = _ref; const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium'); const hasFixedToolbar = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getSettings().hasFixedToolbar, []); const isMatch = Object(external_wp_keyboardShortcuts_["__unstableUseShortcutEventMatch"])(); @@ -12442,17 +12693,18 @@ var menu = __webpack_require__("xZzQ"); -function InserterLibrary({ - rootClientId, - clientId, - isAppender, - showInserterHelpPanel, - showMostUsedBlocks = false, - __experimentalInsertionIndex, - __experimentalFilterValue, - onSelect = external_lodash_["noop"], - shouldFocusBlock = false -}) { +function InserterLibrary(_ref) { + let { + rootClientId, + clientId, + isAppender, + showInserterHelpPanel, + showMostUsedBlocks = false, + __experimentalInsertionIndex, + __experimentalFilterValue, + onSelect = external_lodash_["noop"], + shouldFocusBlock = false + } = _ref; const destinationRootClientId = Object(external_wp_data_["useSelect"])(select => { const { getBlockRootClientId @@ -12830,9 +13082,10 @@ function useTypingObserver() { return Object(external_wp_compose_["useMergeRefs"])([ref1, ref2]); } -function ObserveTyping({ - children -}) { +function ObserveTyping(_ref) { + let { + children + } = _ref; return Object(external_wp_element_["createElement"])("div", { ref: useTypingObserver() }, children); @@ -12923,9 +13176,11 @@ function useTypewriter() { */ - function maintainCaretPosition({ - keyCode - }) { + function maintainCaretPosition(_ref) { + let { + keyCode + } = _ref; + if (!isSelectionEligibleForScroll()) { return; } @@ -13066,9 +13321,10 @@ function useTypewriter() { }, [hasSelectedBlock]); } -function Typewriter({ - children -}) { +function Typewriter(_ref2) { + let { + children + } = _ref2; return Object(external_wp_element_["createElement"])("div", { ref: useTypewriter(), className: "block-editor__typewriter" @@ -13202,9 +13458,10 @@ function addToBlockType(renderedBlocks, blockName, uniqueId) { */ -function useNoRecursiveRenders(uniqueId, blockName = '') { +function useNoRecursiveRenders(uniqueId) { var _previouslyRenderedBl; + let blockName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; const previouslyRenderedBlocks = Object(external_wp_element_["useContext"])(RenderedRefsContext); const { name @@ -13212,11 +13469,14 @@ function useNoRecursiveRenders(uniqueId, blockName = '') { blockName = blockName || name; const hasAlreadyRendered = Boolean((_previouslyRenderedBl = previouslyRenderedBlocks[blockName]) === null || _previouslyRenderedBl === void 0 ? void 0 : _previouslyRenderedBl.has(uniqueId)); const newRenderedBlocks = Object(external_wp_element_["useMemo"])(() => addToBlockType(previouslyRenderedBlocks, blockName, uniqueId), [previouslyRenderedBlocks, blockName, uniqueId]); - const Provider = Object(external_wp_element_["useCallback"])(({ - children - }) => Object(external_wp_element_["createElement"])(RenderedRefsContext.Provider, { - value: newRenderedBlocks - }, children), [newRenderedBlocks]); + const Provider = Object(external_wp_element_["useCallback"])(_ref => { + let { + children + } = _ref; + return Object(external_wp_element_["createElement"])(RenderedRefsContext.Provider, { + value: newRenderedBlocks + }, children); + }, [newRenderedBlocks]); return [hasAlreadyRendered, Provider]; } @@ -13689,11 +13949,12 @@ var store = __webpack_require__("BhPs"); -function BlockActions({ - clientIds, - children, - __experimentalUpdateSelection: updateSelection -}) { +function BlockActions(_ref) { + let { + clientIds, + children, + __experimentalUpdateSelection: updateSelection + } = _ref; const { canInsertBlockType, getBlockRootClientId, @@ -13786,9 +14047,12 @@ function BlockActions({ }, onCopy() { - const selectedBlockClientIds = blocks.map(({ - clientId - }) => clientId); + const selectedBlockClientIds = blocks.map(_ref2 => { + let { + clientId + } = _ref2; + return clientId; + }); if (blocks.length === 1) { flashBlock(selectedBlockClientIds[0]); @@ -13821,13 +14085,15 @@ function BlockActions({ */ -function BlockModeToggle({ - blockType, - mode, - onToggleMode, - small = false, - isCodeEditingEnabled = true -}) { +function BlockModeToggle(_ref) { + let { + blockType, + mode, + onToggleMode, + small = false, + isCodeEditingEnabled = true + } = _ref; + if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'html', true) || !isCodeEditingEnabled) { return null; } @@ -13837,9 +14103,10 @@ function BlockModeToggle({ onClick: onToggleMode }, !small && label); } -/* harmony default export */ var block_mode_toggle = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, { - clientId -}) => { +/* harmony default export */ var block_mode_toggle = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref2) => { + let { + clientId + } = _ref2; const { getBlock, getBlockMode, @@ -13852,16 +14119,19 @@ function BlockModeToggle({ blockType: block ? Object(external_wp_blocks_["getBlockType"])(block.name) : null, isCodeEditingEnabled }; -}), Object(external_wp_data_["withDispatch"])((dispatch, { - onToggle = external_lodash_["noop"], - clientId -}) => ({ - onToggleMode() { - dispatch(store["a" /* store */]).toggleBlockMode(clientId); - onToggle(); - } +}), Object(external_wp_data_["withDispatch"])((dispatch, _ref3) => { + let { + onToggle = external_lodash_["noop"], + clientId + } = _ref3; + return { + onToggleMode() { + dispatch(store["a" /* store */]).toggleBlockMode(clientId); + onToggle(); + } -}))])(BlockModeToggle)); + }; +})])(BlockModeToggle)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-convert-button.js @@ -13871,11 +14141,13 @@ function BlockModeToggle({ */ -function BlockConvertButton({ - shouldRender, - onClick, - small -}) { +function BlockConvertButton(_ref) { + let { + shouldRender, + onClick, + small + } = _ref; + if (!shouldRender) { return null; } @@ -13900,21 +14172,25 @@ function BlockConvertButton({ -/* harmony default export */ var block_html_convert_button = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, { - clientId -}) => { +/* harmony default export */ var block_html_convert_button = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, _ref) => { + let { + clientId + } = _ref; const block = select(store["a" /* store */]).getBlock(clientId); return { block, shouldRender: block && block.name === 'core/html' }; -}), Object(external_wp_data_["withDispatch"])((dispatch, { - block -}) => ({ - onClick: () => dispatch(store["a" /* store */]).replaceBlocks(block.clientId, Object(external_wp_blocks_["rawHandler"])({ - HTML: Object(external_wp_blocks_["getBlockContent"])(block) - })) -})))(BlockConvertButton)); +}), Object(external_wp_data_["withDispatch"])((dispatch, _ref2) => { + let { + block + } = _ref2; + return { + onClick: () => dispatch(store["a" /* store */]).replaceBlocks(block.clientId, Object(external_wp_blocks_["rawHandler"])({ + HTML: Object(external_wp_blocks_["getBlockContent"])(block) + })) + }; +}))(BlockConvertButton)); // EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-menu-first-item.js var block_settings_menu_first_item = __webpack_require__("Jyyd"); @@ -13958,22 +14234,24 @@ const POPOVER_PROPS = { isAlternate: true }; -function CopyMenuItem({ - blocks, - onCopy -}) { +function CopyMenuItem(_ref) { + let { + blocks, + onCopy + } = _ref; const ref = Object(external_wp_compose_["useCopyToClipboard"])(() => Object(external_wp_blocks_["serialize"])(blocks), onCopy); return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { ref: ref }, Object(external_wp_i18n_["__"])('Copy')); } -function BlockSettingsDropdown({ - clientIds, - __experimentalSelectBlock, - children, - ...props -}) { +function BlockSettingsDropdown(_ref2) { + let { + clientIds, + __experimentalSelectBlock, + children, + ...props + } = _ref2; const blockClientIds = Object(external_lodash_["castArray"])(clientIds); const count = blockClientIds.length; const firstBlockClientId = blockClientIds[0]; @@ -14020,62 +14298,68 @@ function BlockSettingsDropdown({ return Object(external_wp_element_["createElement"])(BlockActions, { clientIds: clientIds, __experimentalUpdateSelection: !__experimentalSelectBlock - }, ({ - canDuplicate, - canInsertDefaultBlock, - canMove, - canRemove, - onDuplicate, - onInsertAfter, - onInsertBefore, - onRemove, - onCopy, - onMoveTo, - blocks - }) => Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], Object(esm_extends["a" /* default */])({ - icon: more_vertical["a" /* default */], - label: Object(external_wp_i18n_["__"])('Options'), - className: "block-editor-block-settings-menu", - popoverProps: POPOVER_PROPS, - noIcons: true - }, props), ({ - onClose - }) => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(block_settings_menu_first_item["a" /* default */].Slot, { - fillProps: { - onClose - } - }), count === 1 && Object(external_wp_element_["createElement"])(block_html_convert_button, { - clientId: firstBlockClientId - }), Object(external_wp_element_["createElement"])(CopyMenuItem, { - blocks: blocks, - onCopy: onCopy - }), canDuplicate && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - onClick: Object(external_lodash_["flow"])(onClose, onDuplicate, updateSelection), - shortcut: shortcuts.duplicate - }, Object(external_wp_i18n_["__"])('Duplicate')), canInsertDefaultBlock && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - onClick: Object(external_lodash_["flow"])(onClose, onInsertBefore), - shortcut: shortcuts.insertBefore - }, Object(external_wp_i18n_["__"])('Insert before')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - onClick: Object(external_lodash_["flow"])(onClose, onInsertAfter), - shortcut: shortcuts.insertAfter - }, Object(external_wp_i18n_["__"])('Insert after'))), canMove && !onlyBlock && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - onClick: Object(external_lodash_["flow"])(onClose, onMoveTo) - }, Object(external_wp_i18n_["__"])('Move to')), count === 1 && Object(external_wp_element_["createElement"])(block_mode_toggle, { - clientId: firstBlockClientId, - onToggle: onClose - })), Object(external_wp_element_["createElement"])(block_settings_menu_controls["a" /* default */].Slot, { - fillProps: { - onClose - }, - clientIds: clientIds - }), typeof children === 'function' ? children({ - onClose - }) : external_wp_element_["Children"].map(child => Object(external_wp_element_["cloneElement"])(child, { - onClose - })), canRemove && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { - onClick: Object(external_lodash_["flow"])(onClose, onRemove, updateSelection), - shortcut: shortcuts.remove - }, removeBlockLabel))))); + }, _ref3 => { + let { + canDuplicate, + canInsertDefaultBlock, + canMove, + canRemove, + onDuplicate, + onInsertAfter, + onInsertBefore, + onRemove, + onCopy, + onMoveTo, + blocks + } = _ref3; + return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], Object(esm_extends["a" /* default */])({ + icon: more_vertical["a" /* default */], + label: Object(external_wp_i18n_["__"])('Options'), + className: "block-editor-block-settings-menu", + popoverProps: POPOVER_PROPS, + noIcons: true + }, props), _ref4 => { + let { + onClose + } = _ref4; + return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(block_settings_menu_first_item["a" /* default */].Slot, { + fillProps: { + onClose + } + }), count === 1 && Object(external_wp_element_["createElement"])(block_html_convert_button, { + clientId: firstBlockClientId + }), Object(external_wp_element_["createElement"])(CopyMenuItem, { + blocks: blocks, + onCopy: onCopy + }), canDuplicate && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + onClick: Object(external_lodash_["flow"])(onClose, onDuplicate, updateSelection), + shortcut: shortcuts.duplicate + }, Object(external_wp_i18n_["__"])('Duplicate')), canInsertDefaultBlock && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + onClick: Object(external_lodash_["flow"])(onClose, onInsertBefore), + shortcut: shortcuts.insertBefore + }, Object(external_wp_i18n_["__"])('Insert before')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + onClick: Object(external_lodash_["flow"])(onClose, onInsertAfter), + shortcut: shortcuts.insertAfter + }, Object(external_wp_i18n_["__"])('Insert after'))), canMove && !onlyBlock && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + onClick: Object(external_lodash_["flow"])(onClose, onMoveTo) + }, Object(external_wp_i18n_["__"])('Move to')), count === 1 && Object(external_wp_element_["createElement"])(block_mode_toggle, { + clientId: firstBlockClientId, + onToggle: onClose + })), Object(external_wp_element_["createElement"])(block_settings_menu_controls["a" /* default */].Slot, { + fillProps: { + onClose + }, + clientIds: clientIds + }), typeof children === 'function' ? children({ + onClose + }) : external_wp_element_["Children"].map(child => Object(external_wp_element_["cloneElement"])(child, { + onClose + })), canRemove && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + onClick: Object(external_lodash_["flow"])(onClose, onRemove, updateSelection), + shortcut: shortcuts.remove + }, removeBlockLabel))); + }); + }); } /* harmony default export */ var block_settings_dropdown = __webpack_exports__["a"] = (BlockSettingsDropdown); @@ -14171,24 +14455,27 @@ InspectorAdvancedControls.slotName = 'InspectorAdvancedControls'; -function DuotoneControl({ - colorPalette, - duotonePalette, - disableCustomColors, - disableCustomDuotone, - value, - onChange -}) { +function DuotoneControl(_ref) { + let { + colorPalette, + duotonePalette, + disableCustomColors, + disableCustomDuotone, + value, + onChange + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Dropdown"], { popoverProps: { className: 'block-editor-duotone-control__popover', headerTitle: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Duotone'), isAlternate: true }, - renderToggle: ({ - isOpen, - onToggle - }) => { + renderToggle: _ref2 => { + let { + isOpen, + onToggle + } = _ref2; + const openOnArrowDown = event => { if (!isOpen && event.keyCode === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__["DOWN"]) { event.preventDefault(); @@ -14321,10 +14608,11 @@ const BORDER_STYLES = [{ * @return {WPElement} Custom border style segmented control. */ -function BorderStyleControl({ - onChange, - value -}) { +function BorderStyleControl(_ref) { + let { + onChange, + value + } = _ref; return Object(external_wp_element_["createElement"])("fieldset", { className: "components-border-style-control" }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Style')), Object(external_wp_element_["createElement"])("div", { @@ -14464,14 +14752,16 @@ function usePopoverScroll(scrollableRef) { */ const ZWNBSP = '\ufeff'; -function DefaultBlockAppender({ - isLocked, - isVisible, - onAppend, - showPrompt, - placeholder, - rootClientId -}) { +function DefaultBlockAppender(_ref) { + let { + isLocked, + isVisible, + onAppend, + showPrompt, + placeholder, + rootClientId + } = _ref; + if (isLocked || !isVisible) { return null; } @@ -14679,10 +14969,11 @@ function createColorHOC(colorTypes, withColorPalette) { }; } - static getDerivedStateFromProps({ - attributes, - colors - }, previousState) { + static getDerivedStateFromProps(_ref, previousState) { + let { + attributes, + colors + } = _ref; return Object(external_lodash_["reduce"])(colorMap, (newState, colorContext, colorAttributeName) => { const colorObject = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, attributes[colorAttributeName], attributes[`custom${Object(external_lodash_["upperFirst"])(colorAttributeName)}`]); const previousColorObject = previousState[colorAttributeName]; @@ -14741,8 +15032,13 @@ function createColorHOC(colorTypes, withColorPalette) { function createCustomColorsHOC(colorsArray) { - return (...colorTypes) => { + return function () { const withColorPalette = withCustomColorPalette(colorsArray); + + for (var _len = arguments.length, colorTypes = new Array(_len), _key = 0; _key < _len; _key++) { + colorTypes[_key] = arguments[_key]; + } + return Object(external_wp_compose_["createHigherOrderComponent"])(createColorHOC(colorTypes, withColorPalette), 'withCustomColors'); }; } @@ -14771,8 +15067,13 @@ function createCustomColorsHOC(colorsArray) { * @return {Function} Higher-order component. */ -function withColors(...colorTypes) { +function withColors() { const withColorPalette = withEditorColorPalette(); + + for (var _len2 = arguments.length, colorTypes = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + colorTypes[_key2] = arguments[_key2]; + } + return Object(external_wp_compose_["createHigherOrderComponent"])(createColorHOC(colorTypes, withColorPalette), 'withColors'); } @@ -14843,22 +15144,25 @@ var inserter_draggable_blocks = __webpack_require__("j6zP"); * @return {boolean} True if MacOS; false otherwise. */ -function isAppleOS(_window = window) { +function isAppleOS() { + let _window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window; + const { platform } = _window.navigator; return platform.indexOf('Mac') !== -1 || ['iPad', 'iPhone'].includes(platform); } -function InserterListItem({ - className, - isFirst, - item, - onSelect, - onHover, - isDraggable, - ...props -}) { +function InserterListItem(_ref) { + let { + className, + isFirst, + item, + onSelect, + onHover, + isDraggable, + ...props + } = _ref; const isDragging = Object(external_wp_element_["useRef"])(false); const itemIconStyle = item.icon ? { backgroundColor: item.icon.background, @@ -14871,73 +15175,76 @@ function InserterListItem({ isEnabled: isDraggable && !item.disabled, blocks: blocks, icon: item.icon - }, ({ - draggable, - onDragStart, - onDragEnd - }) => Object(external_wp_element_["createElement"])("div", { - className: "block-editor-block-types-list__list-item", - draggable: draggable, - onDragStart: event => { - isDragging.current = true; + }, _ref2 => { + let { + draggable, + onDragStart, + onDragEnd + } = _ref2; + return Object(external_wp_element_["createElement"])("div", { + className: "block-editor-block-types-list__list-item", + draggable: draggable, + onDragStart: event => { + isDragging.current = true; - if (onDragStart) { - onHover(null); - onDragStart(event); + if (onDragStart) { + onHover(null); + onDragStart(event); + } + }, + onDragEnd: event => { + isDragging.current = false; + + if (onDragEnd) { + onDragEnd(event); + } } - }, - onDragEnd: event => { - isDragging.current = false; - - if (onDragEnd) { - onDragEnd(event); - } - } - }, Object(external_wp_element_["createElement"])(inserter_listbox_item["a" /* default */], Object(esm_extends["a" /* default */])({ - isFirst: isFirst, - className: classnames_default()('block-editor-block-types-list__item', className), - disabled: item.isDisabled, - onClick: event => { - event.preventDefault(); - onSelect(item, isAppleOS() ? event.metaKey : event.ctrlKey); - onHover(null); - }, - onKeyDown: event => { - const { - keyCode - } = event; - - if (keyCode === external_wp_keycodes_["ENTER"]) { + }, Object(external_wp_element_["createElement"])(inserter_listbox_item["a" /* default */], Object(esm_extends["a" /* default */])({ + isFirst: isFirst, + className: classnames_default()('block-editor-block-types-list__item', className), + disabled: item.isDisabled, + onClick: event => { event.preventDefault(); onSelect(item, isAppleOS() ? event.metaKey : event.ctrlKey); onHover(null); - } - }, - onFocus: () => { - if (isDragging.current) { - return; - } + }, + onKeyDown: event => { + const { + keyCode + } = event; - onHover(item); - }, - onMouseEnter: () => { - if (isDragging.current) { - return; - } + if (keyCode === external_wp_keycodes_["ENTER"]) { + event.preventDefault(); + onSelect(item, isAppleOS() ? event.metaKey : event.ctrlKey); + onHover(null); + } + }, + onFocus: () => { + if (isDragging.current) { + return; + } - onHover(item); - }, - onMouseLeave: () => onHover(null), - onBlur: () => onHover(null) - }, props), Object(external_wp_element_["createElement"])("span", { - className: "block-editor-block-types-list__item-icon", - style: itemIconStyle - }, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], { - icon: item.icon, - showColors: true - })), Object(external_wp_element_["createElement"])("span", { - className: "block-editor-block-types-list__item-title" - }, item.title)))); + onHover(item); + }, + onMouseEnter: () => { + if (isDragging.current) { + return; + } + + onHover(item); + }, + onMouseLeave: () => onHover(null), + onBlur: () => onHover(null) + }, props), Object(external_wp_element_["createElement"])("span", { + className: "block-editor-block-types-list__item-icon", + style: itemIconStyle + }, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], { + icon: item.icon, + showColors: true + })), Object(external_wp_element_["createElement"])("span", { + className: "block-editor-block-types-list__item-title" + }, item.title))); + }); } /* harmony default export */ var inserter_list_item = (Object(external_wp_element_["memo"])(InserterListItem)); @@ -14972,14 +15279,15 @@ function chunk(array, size) { return chunks; } -function BlockTypesList({ - items = [], - onSelect, - onHover = () => {}, - children, - label, - isDraggable = true -}) { +function BlockTypesList(_ref) { + let { + items = [], + onSelect, + onHover = () => {}, + children, + label, + isDraggable = true + } = _ref; return Object(external_wp_element_["createElement"])(group["a" /* default */], { className: "block-editor-block-types-list", "aria-label": label @@ -15034,12 +15342,13 @@ function BlockTypesList({ Object(colord__WEBPACK_IMPORTED_MODULE_1__[/* extend */ "b"])([colord_plugins_names__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], colord_plugins_a11y__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"]]); -function ContrastCheckerMessage({ - colordBackgroundColor, - colordTextColor, - backgroundColor, - textColor -}) { +function ContrastCheckerMessage(_ref) { + let { + colordBackgroundColor, + colordTextColor, + backgroundColor, + textColor + } = _ref; const msg = colordBackgroundColor.brightness() < colordTextColor.brightness() ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color.') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.'); // Note: The `Notice` component can speak messages via its `spokenMessage` // prop, but the contrast checker requires granular control over when the // announcements are made. Notably, the message will be re-announced if a @@ -15057,15 +15366,17 @@ function ContrastCheckerMessage({ }, msg)); } -function ContrastChecker({ - backgroundColor, - fallbackBackgroundColor, - fallbackTextColor, - fontSize, - // font size value in pixels - isLargeText, - textColor -}) { +function ContrastChecker(_ref2) { + let { + backgroundColor, + fallbackBackgroundColor, + fallbackTextColor, + fontSize, + // font size value in pixels + isLargeText, + textColor + } = _ref2; + if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) { return null; } @@ -15339,12 +15650,14 @@ function useGenericPreviewBlock(block, type) { }, [type !== null && type !== void 0 && type.example ? block === null || block === void 0 ? void 0 : block.name : block, type]); } -function BlockStyles({ - clientId, - onSwitch = external_lodash_["noop"], - onHoverClassName = external_lodash_["noop"], - itemRole -}) { +function BlockStyles(_ref) { + let { + clientId, + onSwitch = external_lodash_["noop"], + onHoverClassName = external_lodash_["noop"], + itemRole + } = _ref; + const selector = select => { const { getBlock @@ -15416,17 +15729,18 @@ function BlockStyles({ })); } -function BlockStyleItem({ - genericPreviewBlock, - viewportWidth, - style, - isActive, - onBlur, - onHover, - onSelect, - styleClassName, - itemRole -}) { +function BlockStyleItem(_ref2) { + let { + genericPreviewBlock, + viewportWidth, + style, + isActive, + onBlur, + onHover, + onSelect, + styleClassName, + itemRole + } = _ref2; const previewBlocks = Object(external_wp_element_["useMemo"])(() => { return { ...genericPreviewBlock, attributes: { ...genericPreviewBlock.attributes, @@ -15491,13 +15805,15 @@ function BlockStyleItem({ -function BlockIcon({ - icon, - showColors = false, - className -}) { +function BlockIcon(_ref) { var _icon; + let { + icon, + showColors = false, + className + } = _ref; + if (((_icon = icon) === null || _icon === void 0 ? void 0 : _icon.src) === 'block-default') { icon = { src: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"] @@ -16023,12 +16339,13 @@ const getMovementDirectionLabel = (moveDirection, orientation) => { return null; }; -const BlockMoverButton = Object(external_wp_element_["forwardRef"])(({ - clientIds, - direction, - orientation: moverOrientation, - ...props -}, ref) => { +const BlockMoverButton = Object(external_wp_element_["forwardRef"])((_ref, ref) => { + let { + clientIds, + direction, + orientation: moverOrientation, + ...props + } = _ref; const instanceId = Object(external_wp_compose_["useInstanceId"])(BlockMoverButton); const blocksCount = Object(external_lodash_["castArray"])(clientIds).length; const { @@ -16179,7 +16496,11 @@ const DEFAULT_FONT_SIZES = []; * @return {Function} Higher-order component. */ -/* harmony default export */ var with_font_sizes = ((...fontSizeNames) => { +/* harmony default export */ var with_font_sizes = (function () { + for (var _len = arguments.length, fontSizeNames = new Array(_len), _key = 0; _key < _len; _key++) { + fontSizeNames[_key] = arguments[_key]; + } + /* * Computes an object whose key is the font size attribute name as passed in the array, * and the value is the custom font size attribute name. @@ -16222,10 +16543,12 @@ const DEFAULT_FONT_SIZES = []; }; } - static getDerivedStateFromProps({ - attributes, - fontSizes - }, previousState) { + static getDerivedStateFromProps(_ref, previousState) { + let { + attributes, + fontSizes + } = _ref; + const didAttributesChange = (customFontSizeAttributeName, fontSizeAttributeName) => { if (previousState[fontSizeAttributeName]) { // if new font size is name compare with the previous slug @@ -16342,14 +16665,15 @@ const STORE_NAME = 'core/block-editor'; * @return {Array} Insertion Point State (rootClientID, onInsertBlocks and onToggle). */ -function useInsertionPoint({ - rootClientId = '', - insertionIndex, - clientId, - isAppender, - onSelect, - shouldFocusBlock = true -}) { +function useInsertionPoint(_ref) { + let { + rootClientId = '', + insertionIndex, + clientId, + isAppender, + onSelect, + shouldFocusBlock = true + } = _ref; const { getSelectedBlock } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_6__[/* store */ "a"]); @@ -16393,7 +16717,8 @@ function useInsertionPoint({ showInsertionPoint, hideInsertionPoint } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_6__[/* store */ "a"]); - const onInsertBlocks = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["useCallback"])((blocks, meta, shouldForceFocusBlock = false) => { + const onInsertBlocks = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["useCallback"])(function (blocks, meta) { + let shouldForceFocusBlock = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; const selectedBlock = getSelectedBlock(); if (!isAppender && selectedBlock && Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["isUnmodifiedDefaultBlock"])(selectedBlock)) { @@ -16753,7 +17078,9 @@ function convertParsedUnitToPx(parsedUnit, options) { */ -function getPxFromCssUnit(cssUnit, options = {}) { +function getPxFromCssUnit(cssUnit) { + let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (Number.isFinite(cssUnit)) { return cssUnit.toFixed(0) + 'px'; } @@ -16784,7 +17111,8 @@ const cache = {}; * @return {string} returns the cssUnit value in a simple px format. */ -function memoizedGetPxFromCssUnit(cssUnit, options = {}) { +function memoizedGetPxFromCssUnit(cssUnit) { + let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; const hash = cssUnit + hashOptions(options); if (!cache[hash]) { @@ -17038,7 +17366,8 @@ function insertAt(array, elements, index) { * @return {Array} Result. */ -function moveTo(array, from, to, count = 1) { +function moveTo(array, from, to) { + let count = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1; const withoutMovedElements = [...array]; withoutMovedElements.splice(from, count); return insertAt(withoutMovedElements, array.slice(from, from + count), to); @@ -17072,7 +17401,8 @@ function moveTo(array, from, to, count = 1) { * @return {Object} Block order map object. */ -function mapBlockOrder(blocks, rootClientId = '') { +function mapBlockOrder(blocks) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; const result = { [rootClientId]: [] }; @@ -17097,7 +17427,8 @@ function mapBlockOrder(blocks, rootClientId = '') { */ -function mapBlockParents(blocks, rootClientId = '') { +function mapBlockParents(blocks) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; return blocks.reduce((result, block) => Object.assign(result, { [block.clientId]: rootClientId }, mapBlockParents(block.innerBlocks, block.clientId)), {}); @@ -17114,7 +17445,8 @@ function mapBlockParents(blocks, rootClientId = '') { */ -function flattenBlocks(blocks, transform = external_lodash_["identity"]) { +function flattenBlocks(blocks) { + let transform = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : external_lodash_["identity"]; const result = {}; const stack = [...blocks]; @@ -17180,7 +17512,9 @@ function getFlattenedBlockAttributes(blocks) { */ -function getNestedBlockClientIds(blocksOrder, rootClientId = '', controlledInnerBlocks = {}) { +function getNestedBlockClientIds(blocksOrder) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + let controlledInnerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; return Object(external_lodash_["reduce"])(blocksOrder[rootClientId], (result, clientId) => { if (!!controlledInnerBlocks[clientId]) { return result; @@ -17263,7 +17597,8 @@ function buildBlockTree(state, blocks) { return result; } -function updateParentInnerBlocksInTree(state, tree, updatedClientIds, updateChildrenOfUpdatedClientIds = false) { +function updateParentInnerBlocksInTree(state, tree, updatedClientIds) { + let updateChildrenOfUpdatedClientIds = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; const uncontrolledParents = new Set([]); const controlledParents = new Set(); @@ -17316,7 +17651,9 @@ function updateParentInnerBlocksInTree(state, tree, updatedClientIds, updateChil */ -const withBlockTree = reducer => (state = {}, action) => { +const withBlockTree = reducer => function () { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; const newState = reducer(state, action); if (newState === state) { @@ -17770,7 +18107,10 @@ const reducer_blocks = Object(external_lodash_["flow"])(external_wp_data_["combi withBlockTree, // needs to be before withInnerBlocksRemoveCascade withInnerBlocksRemoveCascade, withReplaceInnerBlocks, // needs to be after withInnerBlocksRemoveCascade withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ - byClientId(state = {}, action) { + byClientId() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'RECEIVE_BLOCKS': case 'INSERT_BLOCKS': @@ -17813,7 +18153,10 @@ withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return state; }, - attributes(state = {}, action) { + attributes() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'RECEIVE_BLOCKS': case 'INSERT_BLOCKS': @@ -17877,7 +18220,10 @@ withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return state; }, - order(state = {}, action) { + order() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'RECEIVE_BLOCKS': { @@ -18006,7 +18352,10 @@ withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ // While technically redundant data as the inverse of `order`, it serves as // an optimization for the selectors which derive the ancestry of a block. - parents(state = {}, action) { + parents() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'RECEIVE_BLOCKS': return { ...state, @@ -18040,11 +18389,14 @@ withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return state; }, - controlledInnerBlocks(state = {}, { - type, - clientId, - hasControlledInnerBlocks - }) { + controlledInnerBlocks() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let { + type, + clientId, + hasControlledInnerBlocks + } = arguments.length > 1 ? arguments[1] : undefined; + if (type === 'SET_HAS_CONTROLLED_INNER_BLOCKS') { return { ...state, [clientId]: hasControlledInnerBlocks @@ -18064,7 +18416,10 @@ withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ * @return {boolean} Updated state. */ -function isTyping(state = false, action) { +function isTyping() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'START_TYPING': return true; @@ -18084,7 +18439,10 @@ function isTyping(state = false, action) { * @return {string[]} Updated state. */ -function draggedBlocks(state = [], action) { +function draggedBlocks() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'START_DRAGGING_BLOCKS': return action.clientIds; @@ -18104,7 +18462,10 @@ function draggedBlocks(state = [], action) { * @return {boolean} Updated state. */ -function isCaretWithinFormattedText(state = false, action) { +function isCaretWithinFormattedText() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'ENTER_FORMATTED_TEXT': return true; @@ -18125,7 +18486,10 @@ function isCaretWithinFormattedText(state = false, action) { * @return {Object} Updated state. */ -function selectionHelper(state = {}, action) { +function selectionHelper() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'CLEAR_SELECTED_BLOCK': { @@ -18198,9 +18562,12 @@ function selectionHelper(state = {}, action) { */ -function selection(state = {}, action) { +function selection() { var _state$selectionStart, _state$selectionEnd; + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'SELECTION_CHANGE': return { @@ -18279,7 +18646,10 @@ function selection(state = {}, action) { * @return {boolean} Updated state. */ -function isMultiSelecting(state = false, action) { +function isMultiSelecting() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'START_MULTI_SELECT': return true; @@ -18299,7 +18669,10 @@ function isMultiSelecting(state = false, action) { * @return {boolean} Updated state. */ -function isSelectionEnabled(state = true, action) { +function isSelectionEnabled() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'TOGGLE_SELECTION': return action.isSelectionEnabled; @@ -18320,7 +18693,10 @@ function isSelectionEnabled(state = true, action) { * @return {number|null} Initial position: 0, -1 or null. */ -function reducer_initialPosition(state = null, action) { +function reducer_initialPosition() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let action = arguments.length > 1 ? arguments[1] : undefined; + if (action.type === 'REPLACE_BLOCKS' && action.initialPosition !== undefined) { return action.initialPosition; } else if (['SELECT_BLOCK', 'RESET_SELECTION', 'INSERT_BLOCKS', 'REPLACE_INNER_BLOCKS'].includes(action.type)) { @@ -18329,7 +18705,10 @@ function reducer_initialPosition(state = null, action) { return state; } -function blocksMode(state = {}, action) { +function blocksMode() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + if (action.type === 'TOGGLE_BLOCK_MODE') { const { clientId @@ -18352,7 +18731,10 @@ function blocksMode(state = {}, action) { * @return {Object} Updated state. */ -function insertionPoint(state = null, action) { +function insertionPoint() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'SHOW_INSERTION_POINT': const { @@ -18381,9 +18763,12 @@ function insertionPoint(state = null, action) { * @return {boolean} Updated state. */ -function reducer_template(state = { - isValid: true -}, action) { +function reducer_template() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { + isValid: true + }; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'SET_TEMPLATE_VALIDITY': return { ...state, @@ -18402,7 +18787,10 @@ function reducer_template(state = { * @return {Object} Updated state. */ -function settings(state = defaults["b" /* SETTINGS_DEFAULTS */], action) { +function settings() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaults["b" /* SETTINGS_DEFAULTS */]; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'UPDATE_SETTINGS': return { ...state, @@ -18421,7 +18809,10 @@ function settings(state = defaults["b" /* SETTINGS_DEFAULTS */], action) { * @return {string} Updated state. */ -function preferences(state = defaults["a" /* PREFERENCES_DEFAULTS */], action) { +function preferences() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaults["a" /* PREFERENCES_DEFAULTS */]; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'INSERT_BLOCKS': case 'REPLACE_BLOCKS': @@ -18467,7 +18858,10 @@ function preferences(state = defaults["a" /* PREFERENCES_DEFAULTS */], action) { * @return {Object} Updated state. */ -const blockListSettings = (state = {}, action) => { +const blockListSettings = function () { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { // Even if the replaced blocks have the same client ID, our logic // should correct the state. @@ -18512,7 +18906,10 @@ const blockListSettings = (state = {}, action) => { * @return {string} Updated state. */ -function reducer_isNavigationMode(state = false, action) { +function reducer_isNavigationMode() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + let action = arguments.length > 1 ? arguments[1] : undefined; + // Let inserting block always trigger Edit mode. if (action.type === 'INSERT_BLOCKS') { return false; @@ -18533,7 +18930,10 @@ function reducer_isNavigationMode(state = false, action) { * @return {string|null} Updated state. */ -function reducer_hasBlockMovingClientId(state = null, action) { +function reducer_hasBlockMovingClientId() { + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let action = arguments.length > 1 ? arguments[1] : undefined; + // Let inserting block always trigger Edit mode. if (action.type === 'SET_BLOCK_MOVING_MODE') { return action.hasBlockMovingClientId; @@ -18657,9 +19057,12 @@ function highlightedBlock(state, action) { * @return {Object} Updated state. */ -function lastBlockInserted(state = {}, action) { +function lastBlockInserted() { var _action$meta; + let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let action = arguments.length > 1 ? arguments[1] : undefined; + switch (action.type) { case 'INSERT_BLOCKS': if (!action.blocks.length) { @@ -18890,7 +19293,10 @@ const __unstableGetClientIdWithClientIdsTree = Object(rememo["a" /* default */]) * @return {Object[]} Client IDs of the post blocks. */ -const __unstableGetClientIdsTree = Object(rememo["a" /* default */])((state, rootClientId = '') => Object(external_lodash_["map"])(getBlockOrder(state, rootClientId), clientId => __unstableGetClientIdWithClientIdsTree(state, clientId)), state => [state.blocks.order]); +const __unstableGetClientIdsTree = Object(rememo["a" /* default */])(function (state) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + return Object(external_lodash_["map"])(getBlockOrder(state, rootClientId), clientId => __unstableGetClientIdWithClientIdsTree(state, clientId)); +}, state => [state.blocks.order]); /** * Returns an array containing the clientIds of all descendants * of the blocks given. @@ -19105,7 +19511,8 @@ function getBlockRootClientId(state, clientId) { * @return {Array} ClientIDs of the parent blocks. */ -const getBlockParents = Object(rememo["a" /* default */])((state, clientId, ascending = false) => { +const getBlockParents = Object(rememo["a" /* default */])(function (state, clientId) { + let ascending = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; const parents = []; let current = clientId; @@ -19131,22 +19538,28 @@ const getBlockParents = Object(rememo["a" /* default */])((state, clientId, asce * @return {Array} ClientIDs of the parent blocks. */ -const getBlockParentsByBlockName = Object(rememo["a" /* default */])((state, clientId, blockName, ascending = false) => { +const getBlockParentsByBlockName = Object(rememo["a" /* default */])(function (state, clientId, blockName) { + let ascending = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; const parents = getBlockParents(state, clientId, ascending); return Object(external_lodash_["map"])(Object(external_lodash_["filter"])(Object(external_lodash_["map"])(parents, id => ({ id, name: getBlockName(state, id) - })), ({ - name - }) => { + })), _ref => { + let { + name + } = _ref; + if (Array.isArray(blockName)) { return blockName.includes(name); } return name === blockName; - }), ({ - id - }) => id); + }), _ref2 => { + let { + id + } = _ref2; + return id; + }); }, state => [state.blocks.parents]); /** * Given a block client ID, returns the root of the hierarchy from which the block is nested, return the block itself for root level blocks. @@ -19209,7 +19622,9 @@ function getLowestCommonAncestorWithSelectedBlock(state, clientId) { * @return {?string} Return the client ID of the block, or null if none exists. */ -function getAdjacentBlockClientId(state, startClientId, modifier = 1) { +function getAdjacentBlockClientId(state, startClientId) { + let modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; + // Default to selected block. if (startClientId === undefined) { startClientId = getSelectedBlockClientId(state); @@ -19565,7 +19980,8 @@ function isBlockSelected(state, clientId) { * @return {boolean} Whether the block as an inner block selected */ -function hasSelectedInnerBlock(state, clientId, deep = false) { +function hasSelectedInnerBlock(state, clientId) { + let deep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; return Object(external_lodash_["some"])(getBlockOrder(state, clientId), innerClientId => isBlockSelected(state, innerClientId) || isBlockMultiSelected(state, innerClientId) || deep && hasSelectedInnerBlock(state, innerClientId, deep)); } /** @@ -19819,7 +20235,9 @@ function getTemplateLock(state, rootClientId) { return blockListSettings.templateLock; } -const checkAllowList = (list, item, defaultResult = null) => { +const checkAllowList = function (list, item) { + let defaultResult = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; + if (Object(external_lodash_["isBoolean"])(list)) { return list; } @@ -19852,7 +20270,8 @@ const checkAllowList = (list, item, defaultResult = null) => { */ -const canInsertBlockTypeUnmemoized = (state, blockName, rootClientId = null) => { +const canInsertBlockTypeUnmemoized = function (state, blockName) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; let blockType; if (blockName && 'object' === typeof blockName) { @@ -19927,7 +20346,8 @@ const canInsertBlockType = Object(rememo["a" /* default */])(canInsertBlockTypeU * @return {boolean} Whether the given blocks are allowed to be inserted. */ -function canInsertBlocks(state, clientIds, rootClientId = null) { +function canInsertBlocks(state, clientIds) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; return clientIds.every(id => canInsertBlockType(state, getBlockName(state, id), rootClientId)); } /** @@ -19940,7 +20360,8 @@ function canInsertBlocks(state, clientIds, rootClientId = null) { * @return {boolean} Whether the given block is allowed to be removed. */ -function canRemoveBlock(state, clientId, rootClientId = null) { +function canRemoveBlock(state, clientId) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; const attributes = getBlockAttributes(state, clientId); // attributes can be null if the block is already deleted. if (attributes === null) { @@ -19969,7 +20390,8 @@ function canRemoveBlock(state, clientId, rootClientId = null) { * @return {boolean} Whether the given blocks are allowed to be removed. */ -function selectors_canRemoveBlocks(state, clientIds, rootClientId = null) { +function selectors_canRemoveBlocks(state, clientIds) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; return clientIds.every(clientId => canRemoveBlock(state, clientId, rootClientId)); } /** @@ -19982,7 +20404,8 @@ function selectors_canRemoveBlocks(state, clientIds, rootClientId = null) { * @return {boolean} Whether the given block is allowed to be moved. */ -function canMoveBlock(state, clientId, rootClientId = null) { +function canMoveBlock(state, clientId) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; const attributes = getBlockAttributes(state, clientId); if (attributes === null) { @@ -20011,7 +20434,8 @@ function canMoveBlock(state, clientId, rootClientId = null) { * @return {boolean} Whether the given blocks are allowed to be moved. */ -function selectors_canMoveBlocks(state, clientIds, rootClientId = null) { +function selectors_canMoveBlocks(state, clientIds) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; return clientIds.every(clientId => canMoveBlock(state, clientId, rootClientId)); } /** @@ -20127,41 +20551,44 @@ const calculateFrecency = (time, count) => { */ -const buildBlockTypeItem = (state, { - buildScope = 'inserter' -}) => blockType => { - const id = blockType.name; - let isDisabled = false; +const buildBlockTypeItem = (state, _ref3) => { + let { + buildScope = 'inserter' + } = _ref3; + return blockType => { + const id = blockType.name; + let isDisabled = false; - if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType.name, 'multiple', true)) { - isDisabled = Object(external_lodash_["some"])(getBlocksByClientId(state, getClientIdsWithDescendants(state)), { - name: blockType.name - }); - } + if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType.name, 'multiple', true)) { + isDisabled = Object(external_lodash_["some"])(getBlocksByClientId(state, getClientIdsWithDescendants(state)), { + name: blockType.name + }); + } - const { - time, - count = 0 - } = getInsertUsage(state, id) || {}; - const blockItemBase = { - id, - name: blockType.name, - title: blockType.title, - icon: blockType.icon, - isDisabled, - frecency: calculateFrecency(time, count) - }; - if (buildScope === 'transform') return blockItemBase; - const inserterVariations = Object(external_wp_blocks_["getBlockVariations"])(blockType.name, 'inserter'); - return { ...blockItemBase, - initialAttributes: {}, - description: blockType.description, - category: blockType.category, - keywords: blockType.keywords, - variations: inserterVariations, - example: blockType.example, - utility: 1 // deprecated + const { + time, + count = 0 + } = getInsertUsage(state, id) || {}; + const blockItemBase = { + id, + name: blockType.name, + title: blockType.title, + icon: blockType.icon, + isDisabled, + frecency: calculateFrecency(time, count) + }; + if (buildScope === 'transform') return blockItemBase; + const inserterVariations = Object(external_wp_blocks_["getBlockVariations"])(blockType.name, 'inserter'); + return { ...blockItemBase, + initialAttributes: {}, + description: blockType.description, + category: blockType.category, + keywords: blockType.keywords, + variations: inserterVariations, + example: blockType.example, + utility: 1 // deprecated + }; }; }; /** @@ -20195,7 +20622,8 @@ const buildBlockTypeItem = (state, { */ -const getInserterItems = Object(rememo["a" /* default */])((state, rootClientId = null) => { +const getInserterItems = Object(rememo["a" /* default */])(function (state) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; const buildBlockTypeInserterItem = buildBlockTypeItem(state, { buildScope: 'inserter' }); @@ -20267,11 +20695,17 @@ const getInserterItems = Object(rememo["a" /* default */])((state, rootClientId const reusableBlockInserterItems = canInsertBlockTypeUnmemoized(state, 'core/block', rootClientId) ? getReusableBlocks(state).map(buildReusableBlockInserterItem) : []; // Exclude any block type item that is to be replaced by a default // variation. - const visibleBlockTypeInserterItems = blockTypeInserterItems.filter(({ - variations = [] - }) => !variations.some(({ - isDefault - }) => isDefault)); + const visibleBlockTypeInserterItems = blockTypeInserterItems.filter(_ref4 => { + let { + variations = [] + } = _ref4; + return !variations.some(_ref5 => { + let { + isDefault + } = _ref5; + return isDefault; + }); + }); const blockVariations = []; // Show all available blocks with variations for (const item of blockTypeInserterItems) { @@ -20337,14 +20771,18 @@ const getInserterItems = Object(rememo["a" /* default */])((state, rootClientId * @property {number} frecency Heuristic that combines frequency and recency. */ -const getBlockTransformItems = Object(rememo["a" /* default */])((state, blocks, rootClientId = null) => { +const getBlockTransformItems = Object(rememo["a" /* default */])(function (state, blocks) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; const buildBlockTypeTransformItem = buildBlockTypeItem(state, { buildScope: 'transform' }); const blockTypeTransformItems = Object(external_wp_blocks_["getBlockTypes"])().filter(blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId)).map(buildBlockTypeTransformItem); - const itemsByName = Object(external_lodash_["mapKeys"])(blockTypeTransformItems, ({ - name - }) => name); + const itemsByName = Object(external_lodash_["mapKeys"])(blockTypeTransformItems, _ref6 => { + let { + name + } = _ref6; + return name; + }); const possibleTransforms = Object(external_wp_blocks_["getPossibleBlockTransformations"])(blocks).reduce((accumulator, block) => { if (itemsByName[block === null || block === void 0 ? void 0 : block.name]) { accumulator.push(itemsByName[block.name]); @@ -20364,7 +20802,8 @@ const getBlockTransformItems = Object(rememo["a" /* default */])((state, blocks, * @return {boolean} Items that appear in inserter. */ -const hasInserterItems = Object(rememo["a" /* default */])((state, rootClientId = null) => { +const hasInserterItems = Object(rememo["a" /* default */])(function (state) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; const hasBlockType = Object(external_lodash_["some"])(Object(external_wp_blocks_["getBlockTypes"])(), blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId)); if (hasBlockType) { @@ -20383,7 +20822,9 @@ const hasInserterItems = Object(rememo["a" /* default */])((state, rootClientId * @return {Array?} The list of allowed block types. */ -const __experimentalGetAllowedBlocks = Object(rememo["a" /* default */])((state, rootClientId = null) => { +const __experimentalGetAllowedBlocks = Object(rememo["a" /* default */])(function (state) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + if (!rootClientId) { return; } @@ -20399,9 +20840,11 @@ const __experimentalGetAllowedBlocks = Object(rememo["a" /* default */])((state, * @return {?Array} The block type to be directly inserted. */ -const __experimentalGetDirectInsertBlock = Object(rememo["a" /* default */])((state, rootClientId = null) => { +const __experimentalGetDirectInsertBlock = Object(rememo["a" /* default */])(function (state) { var _state$blockListSetti, _state$blockListSetti2; + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + if (!rootClientId) { return; } @@ -20447,9 +20890,12 @@ const checkAllowListRecursive = (blocks, allowedBlockTypes) => { const __experimentalGetParsedPattern = Object(rememo["a" /* default */])((state, patternName) => { const patterns = state.settings.__experimentalBlockPatterns; - const pattern = patterns.find(({ - name - }) => name === patternName); + const pattern = patterns.find(_ref7 => { + let { + name + } = _ref7; + return name === patternName; + }); if (!pattern) { return null; @@ -20464,14 +20910,23 @@ const getAllAllowedPatterns = Object(rememo["a" /* default */])(state => { const { allowedBlockTypes } = getSettings(state); - const parsedPatterns = patterns.filter(({ - inserter = true - }) => !!inserter).map(({ - name - }) => __experimentalGetParsedPattern(state, name)); - const allowedPatterns = parsedPatterns.filter(({ - blocks - }) => checkAllowListRecursive(blocks, allowedBlockTypes)); + const parsedPatterns = patterns.filter(_ref8 => { + let { + inserter = true + } = _ref8; + return !!inserter; + }).map(_ref9 => { + let { + name + } = _ref9; + return __experimentalGetParsedPattern(state, name); + }); + const allowedPatterns = parsedPatterns.filter(_ref10 => { + let { + blocks + } = _ref10; + return checkAllowListRecursive(blocks, allowedBlockTypes); + }); return allowedPatterns; }, state => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes]); /** @@ -20483,13 +20938,20 @@ const getAllAllowedPatterns = Object(rememo["a" /* default */])(state => { * @return {Array?} The list of allowed patterns. */ -const __experimentalGetAllowedPatterns = Object(rememo["a" /* default */])((state, rootClientId = null) => { +const __experimentalGetAllowedPatterns = Object(rememo["a" /* default */])(function (state) { + let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; const availableParsedPatterns = getAllAllowedPatterns(state); - const patternsAllowed = Object(external_lodash_["filter"])(availableParsedPatterns, ({ - blocks - }) => blocks.every(({ - name - }) => canInsertBlockType(state, name, rootClientId))); + const patternsAllowed = Object(external_lodash_["filter"])(availableParsedPatterns, _ref11 => { + let { + blocks + } = _ref11; + return blocks.every(_ref12 => { + let { + name + } = _ref12; + return canInsertBlockType(state, name, rootClientId); + }); + }); return patternsAllowed; }, (state, rootClientId) => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes, state.settings.templateLock, state.blockListSettings[rootClientId], state.blocks.byClientId[rootClientId]]); /** @@ -20506,7 +20968,8 @@ const __experimentalGetAllowedPatterns = Object(rememo["a" /* default */])((stat * @return {Array} The list of matched block patterns based on declared `blockTypes` and block name. */ -const __experimentalGetPatternsByBlockTypes = Object(rememo["a" /* default */])((state, blockNames, rootClientId = null) => { +const __experimentalGetPatternsByBlockTypes = Object(rememo["a" /* default */])(function (state, blockNames) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; if (!blockNames) return EMPTY_ARRAY; const patterns = __experimentalGetAllowedPatterns(state, rootClientId); @@ -20536,7 +20999,8 @@ const __experimentalGetPatternsByBlockTypes = Object(rememo["a" /* default */])( * @return {WPBlockPattern[]} Items that are eligible for a pattern transformation. */ -const __experimentalGetPatternTransformItems = Object(rememo["a" /* default */])((state, blocks, rootClientId = null) => { +const __experimentalGetPatternTransformItems = Object(rememo["a" /* default */])(function (state, blocks) { + let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; if (!blocks) return EMPTY_ARRAY; /** * For now we only handle blocks without InnerBlocks and take into account @@ -20546,17 +21010,23 @@ const __experimentalGetPatternTransformItems = Object(rememo["a" /* default */]) * to check for this case too. */ - if (blocks.some(({ - clientId, - innerBlocks - }) => innerBlocks.length || areInnerBlocksControlled(state, clientId))) { + if (blocks.some(_ref13 => { + let { + clientId, + innerBlocks + } = _ref13; + return innerBlocks.length || areInnerBlocksControlled(state, clientId); + })) { return EMPTY_ARRAY; } // Create a Set of the selected block names that is used in patterns filtering. - const selectedBlockNames = Array.from(new Set(blocks.map(({ - name - }) => name))); + const selectedBlockNames = Array.from(new Set(blocks.map(_ref14 => { + let { + name + } = _ref14; + return name; + }))); /** * Here we will return first set of possible eligible block patterns, * by checking the `blockTypes` property. We still have to recurse through @@ -20612,7 +21082,8 @@ function isLastBlockChangePersistent(state) { * a block list setting object. */ -const __experimentalGetBlockListSettingsForBlocks = Object(rememo["a" /* default */])((state, clientIds = []) => { +const __experimentalGetBlockListSettingsForBlocks = Object(rememo["a" /* default */])(function (state) { + let clientIds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; return clientIds.reduce((blockListSettingsForBlocks, clientId) => { if (!state.blockListSettings[clientId]) { return blockListSettingsForBlocks; @@ -20829,10 +21300,11 @@ var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external * replacement, etc). */ -const ensureDefaultBlock = () => ({ - select, - dispatch -}) => { +const ensureDefaultBlock = () => _ref => { + let { + select, + dispatch + } = _ref; // To avoid a focus loss when removing the last block, assure there is // always a default block if the last of the blocks have been removed. const count = select.getBlockCount(); @@ -20862,9 +21334,10 @@ const ensureDefaultBlock = () => ({ */ -const resetBlocks = blocks => ({ - dispatch -}) => { +const resetBlocks = blocks => _ref2 => { + let { + dispatch + } = _ref2; dispatch({ type: 'RESET_BLOCKS', blocks @@ -20880,10 +21353,11 @@ const resetBlocks = blocks => ({ * @param {Array} blocks Array of blocks. */ -const validateBlocksToTemplate = blocks => ({ - select, - dispatch -}) => { +const validateBlocksToTemplate = blocks => _ref3 => { + let { + select, + dispatch + } = _ref3; const template = select.getTemplate(); const templateLock = select.getTemplateLock(); // Unlocked templates are considered always valid because they act // as default values only. @@ -20962,7 +21436,8 @@ function receiveBlocks(blocks) { * @return {Object} Action object. */ -function updateBlockAttributes(clientIds, attributes, uniqueByBlock = false) { +function updateBlockAttributes(clientIds, attributes) { + let uniqueByBlock = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; return { type: 'UPDATE_BLOCK_ATTRIBUTES', clientIds: Object(external_lodash_["castArray"])(clientIds), @@ -21001,7 +21476,9 @@ function updateBlock(clientId, updates) { * @return {Object} Action object. */ -function selectBlock(clientId, initialPosition = 0) { +function selectBlock(clientId) { + let initialPosition = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + /* eslint-enable jsdoc/valid-types */ return { type: 'SELECT_BLOCK', @@ -21016,10 +21493,11 @@ function selectBlock(clientId, initialPosition = 0) { * @param {string} clientId Block client ID. */ -const selectPreviousBlock = clientId => ({ - select, - dispatch -}) => { +const selectPreviousBlock = clientId => _ref4 => { + let { + select, + dispatch + } = _ref4; const previousBlockClientId = select.getPreviousBlockClientId(clientId); if (previousBlockClientId) { @@ -21033,10 +21511,11 @@ const selectPreviousBlock = clientId => ({ * @param {string} clientId Block client ID. */ -const selectNextBlock = clientId => ({ - select, - dispatch -}) => { +const selectNextBlock = clientId => _ref5 => { + let { + select, + dispatch + } = _ref5; const nextBlockClientId = select.getNextBlockClientId(clientId); if (nextBlockClientId) { @@ -21072,10 +21551,11 @@ function stopMultiSelect() { * @param {string} end Last block of the multiselection. */ -const multiSelect = (start, end) => ({ - select, - dispatch -}) => { +const multiSelect = (start, end) => _ref6 => { + let { + select, + dispatch + } = _ref6; const startBlockRootClientId = select.getBlockRootClientId(start); const endBlockRootClientId = select.getBlockRootClientId(end); // Only allow block multi-selections at the same level. @@ -21113,7 +21593,8 @@ function clearSelectedBlock() { * @return {Object} Action object. */ -function toggleSelection(isSelectionEnabled = true) { +function toggleSelection() { + let isSelectionEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; return { type: 'TOGGLE_SELECTION', isSelectionEnabled @@ -21169,34 +21650,40 @@ function getBlocksWithDefaultStylesApplied(blocks, blockEditorSettings) { */ -const replaceBlocks = (clientIds, blocks, indexToSelect, initialPosition = 0, meta) => ({ - select, - dispatch -}) => { - /* eslint-enable jsdoc/valid-types */ - clientIds = Object(external_lodash_["castArray"])(clientIds); - blocks = getBlocksWithDefaultStylesApplied(Object(external_lodash_["castArray"])(blocks), select.getSettings()); - const rootClientId = select.getBlockRootClientId(Object(external_lodash_["first"])(clientIds)); // Replace is valid if the new blocks can be inserted in the root block. +const replaceBlocks = function (clientIds, blocks, indexToSelect) { + let initialPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0; + let meta = arguments.length > 4 ? arguments[4] : undefined; + return _ref7 => { + let { + select, + dispatch + } = _ref7; - for (let index = 0; index < blocks.length; index++) { - const block = blocks[index]; - const canInsertBlock = select.canInsertBlockType(block.name, rootClientId); + /* eslint-enable jsdoc/valid-types */ + clientIds = Object(external_lodash_["castArray"])(clientIds); + blocks = getBlocksWithDefaultStylesApplied(Object(external_lodash_["castArray"])(blocks), select.getSettings()); + const rootClientId = select.getBlockRootClientId(Object(external_lodash_["first"])(clientIds)); // Replace is valid if the new blocks can be inserted in the root block. - if (!canInsertBlock) { - return; + for (let index = 0; index < blocks.length; index++) { + const block = blocks[index]; + const canInsertBlock = select.canInsertBlockType(block.name, rootClientId); + + if (!canInsertBlock) { + return; + } } - } - dispatch({ - type: 'REPLACE_BLOCKS', - clientIds, - blocks, - time: Date.now(), - indexToSelect, - initialPosition, - meta - }); - dispatch(ensureDefaultBlock()); + dispatch({ + type: 'REPLACE_BLOCKS', + clientIds, + blocks, + time: Date.now(), + indexToSelect, + initialPosition, + meta + }); + dispatch(ensureDefaultBlock()); + }; }; /** * Action that replaces a single block with one or more replacement blocks. @@ -21219,10 +21706,11 @@ function replaceBlock(clientId, block) { * @return {Function} Action creator. */ -const createOnMove = type => (clientIds, rootClientId) => ({ - select, - dispatch -}) => { +const createOnMove = type => (clientIds, rootClientId) => _ref8 => { + let { + select, + dispatch + } = _ref8; // If one of the blocks is locked or the parent is locked, we cannot move any block. const canMoveBlocks = select.canMoveBlocks(clientIds, rootClientId); @@ -21248,39 +21736,45 @@ const moveBlocksUp = createOnMove('MOVE_BLOCKS_UP'); * @param {number} index The index to move the blocks to. */ -const moveBlocksToPosition = (clientIds, fromRootClientId = '', toRootClientId = '', index) => ({ - select, - dispatch -}) => { - const canMoveBlocks = select.canMoveBlocks(clientIds, fromRootClientId); // If one of the blocks is locked or the parent is locked, we cannot move any block. +const moveBlocksToPosition = function (clientIds) { + let fromRootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + let toRootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; + let index = arguments.length > 3 ? arguments[3] : undefined; + return _ref9 => { + let { + select, + dispatch + } = _ref9; + const canMoveBlocks = select.canMoveBlocks(clientIds, fromRootClientId); // If one of the blocks is locked or the parent is locked, we cannot move any block. - if (!canMoveBlocks) { - return; - } // If moving inside the same root block the move is always possible. - - - if (fromRootClientId !== toRootClientId) { - const canRemoveBlocks = select.canRemoveBlocks(clientIds, fromRootClientId); // If we're moving to another block, it means we're deleting blocks from - // the original block, so we need to check if removing is possible. - - if (!canRemoveBlocks) { + if (!canMoveBlocks) { return; + } // If moving inside the same root block the move is always possible. + + + if (fromRootClientId !== toRootClientId) { + const canRemoveBlocks = select.canRemoveBlocks(clientIds, fromRootClientId); // If we're moving to another block, it means we're deleting blocks from + // the original block, so we need to check if removing is possible. + + if (!canRemoveBlocks) { + return; + } + + const canInsertBlocks = select.canInsertBlocks(clientIds, toRootClientId); // If moving to other parent block, the move is possible if we can insert a block of the same type inside the new parent block. + + if (!canInsertBlocks) { + return; + } } - const canInsertBlocks = select.canInsertBlocks(clientIds, toRootClientId); // If moving to other parent block, the move is possible if we can insert a block of the same type inside the new parent block. - - if (!canInsertBlocks) { - return; - } - } - - dispatch({ - type: 'MOVE_BLOCKS_TO_POSITION', - fromRootClientId, - toRootClientId, - clientIds, - index - }); + dispatch({ + type: 'MOVE_BLOCKS_TO_POSITION', + fromRootClientId, + toRootClientId, + clientIds, + index + }); + }; }; /** * Action that moves given block to a new position. @@ -21291,7 +21785,10 @@ const moveBlocksToPosition = (clientIds, fromRootClientId = '', toRootClientId = * @param {number} index The index to move the block to. */ -function moveBlockToPosition(clientId, fromRootClientId = '', toRootClientId = '', index) { +function moveBlockToPosition(clientId) { + let fromRootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + let toRootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; + let index = arguments.length > 3 ? arguments[3] : undefined; return moveBlocksToPosition([clientId], fromRootClientId, toRootClientId, index); } /** @@ -21323,44 +21820,51 @@ function insertBlock(block, index, rootClientId, updateSelection, meta) { * @return {Object} Action object. */ -const insertBlocks = (blocks, index, rootClientId, updateSelection = true, initialPosition = 0, meta) => ({ - select, - dispatch -}) => { - /* eslint-enable jsdoc/valid-types */ - if (Object(external_lodash_["isObject"])(initialPosition)) { - meta = initialPosition; - initialPosition = 0; - external_wp_deprecated_default()("meta argument in wp.data.dispatch('core/block-editor')", { - since: '10.1', - plugin: 'Gutenberg', - hint: 'The meta argument is now the 6th argument of the function' - }); - } +const insertBlocks = function (blocks, index, rootClientId) { + let updateSelection = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; + let initialPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; + let meta = arguments.length > 5 ? arguments[5] : undefined; + return _ref10 => { + let { + select, + dispatch + } = _ref10; - blocks = getBlocksWithDefaultStylesApplied(Object(external_lodash_["castArray"])(blocks), select.getSettings()); - const allowedBlocks = []; - - for (const block of blocks) { - const isValid = select.canInsertBlockType(block.name, rootClientId); - - if (isValid) { - allowedBlocks.push(block); + /* eslint-enable jsdoc/valid-types */ + if (Object(external_lodash_["isObject"])(initialPosition)) { + meta = initialPosition; + initialPosition = 0; + external_wp_deprecated_default()("meta argument in wp.data.dispatch('core/block-editor')", { + since: '10.1', + plugin: 'Gutenberg', + hint: 'The meta argument is now the 6th argument of the function' + }); } - } - if (allowedBlocks.length) { - dispatch({ - type: 'INSERT_BLOCKS', - blocks: allowedBlocks, - index, - rootClientId, - time: Date.now(), - updateSelection, - initialPosition: updateSelection ? initialPosition : null, - meta - }); - } + blocks = getBlocksWithDefaultStylesApplied(Object(external_lodash_["castArray"])(blocks), select.getSettings()); + const allowedBlocks = []; + + for (const block of blocks) { + const isValid = select.canInsertBlockType(block.name, rootClientId); + + if (isValid) { + allowedBlocks.push(block); + } + } + + if (allowedBlocks.length) { + dispatch({ + type: 'INSERT_BLOCKS', + blocks: allowedBlocks, + index, + rootClientId, + time: Date.now(), + updateSelection, + initialPosition: updateSelection ? initialPosition : null, + meta + }); + } + }; }; /** * Action that shows the insertion point. @@ -21373,7 +21877,9 @@ const insertBlocks = (blocks, index, rootClientId, updateSelection = true, initi * @return {Object} Action object. */ -function showInsertionPoint(rootClientId, index, __unstableOptions = {}) { +function showInsertionPoint(rootClientId, index) { + let __unstableOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + const { __unstableWithInserter } = __unstableOptions; @@ -21415,10 +21921,11 @@ function setTemplateValidity(isValid) { * @return {Object} Action object. */ -const synchronizeTemplate = () => ({ - select, - dispatch -}) => { +const synchronizeTemplate = () => _ref11 => { + let { + select, + dispatch + } = _ref11; dispatch({ type: 'SYNCHRONIZE_TEMPLATE' }); @@ -21434,10 +21941,11 @@ const synchronizeTemplate = () => ({ * @param {string} secondBlockClientId Client ID of the second block to merge. */ -const mergeBlocks = (firstBlockClientId, secondBlockClientId) => ({ - select, - dispatch -}) => { +const mergeBlocks = (firstBlockClientId, secondBlockClientId) => _ref12 => { + let { + select, + dispatch + } = _ref12; const blocks = [firstBlockClientId, secondBlockClientId]; dispatch({ type: 'MERGE_BLOCKS', @@ -21555,33 +22063,38 @@ const mergeBlocks = (firstBlockClientId, secondBlockClientId) => ({ * selected when a block is removed. */ -const removeBlocks = (clientIds, selectPrevious = true) => ({ - select, - dispatch -}) => { - if (!clientIds || !clientIds.length) { - return; - } +const removeBlocks = function (clientIds) { + let selectPrevious = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + return _ref13 => { + let { + select, + dispatch + } = _ref13; - clientIds = Object(external_lodash_["castArray"])(clientIds); - const rootClientId = select.getBlockRootClientId(clientIds[0]); - const canRemoveBlocks = select.canRemoveBlocks(clientIds, rootClientId); + if (!clientIds || !clientIds.length) { + return; + } - if (!canRemoveBlocks) { - return; - } + clientIds = Object(external_lodash_["castArray"])(clientIds); + const rootClientId = select.getBlockRootClientId(clientIds[0]); + const canRemoveBlocks = select.canRemoveBlocks(clientIds, rootClientId); - if (selectPrevious) { - dispatch.selectPreviousBlock(clientIds[0]); - } + if (!canRemoveBlocks) { + return; + } - dispatch({ - type: 'REMOVE_BLOCKS', - clientIds - }); // To avoid a focus loss when removing the last block, assure there is - // always a default block if the last of the blocks have been removed. + if (selectPrevious) { + dispatch.selectPreviousBlock(clientIds[0]); + } - dispatch(ensureDefaultBlock()); + dispatch({ + type: 'REMOVE_BLOCKS', + clientIds + }); // To avoid a focus loss when removing the last block, assure there is + // always a default block if the last of the blocks have been removed. + + dispatch(ensureDefaultBlock()); + }; }; /** * Returns an action object used in signalling that the block with the @@ -21610,7 +22123,10 @@ function removeBlock(clientId, selectPrevious) { * @return {Object} Action object. */ -function replaceInnerBlocks(rootClientId, blocks, updateSelection = false, initialPosition = 0) { +function replaceInnerBlocks(rootClientId, blocks) { + let updateSelection = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + let initialPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0; + /* eslint-enable jsdoc/valid-types */ return { type: 'REPLACE_INNER_BLOCKS', @@ -21666,7 +22182,8 @@ function stopTyping() { * @return {Object} Action object. */ -function startDraggingBlocks(clientIds = []) { +function startDraggingBlocks() { + let clientIds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; return { type: 'START_DRAGGING_BLOCKS', clientIds @@ -21825,9 +22342,10 @@ function __unstableMarkNextChangeAsNotPersistent() { * selection changes have been recorded. */ -const __unstableMarkAutomaticChange = () => ({ - dispatch -}) => { +const __unstableMarkAutomaticChange = () => _ref14 => { + let { + dispatch + } = _ref14; dispatch({ type: 'MARK_AUTOMATIC_CHANGE' }); @@ -21846,19 +22364,23 @@ const __unstableMarkAutomaticChange = () => ({ * @param {string} isNavigationMode Enable/Disable navigation mode. */ -const setNavigationMode = (isNavigationMode = true) => ({ - dispatch -}) => { - dispatch({ - type: 'SET_NAVIGATION_MODE', - isNavigationMode - }); +const setNavigationMode = function () { + let isNavigationMode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + return _ref15 => { + let { + dispatch + } = _ref15; + dispatch({ + type: 'SET_NAVIGATION_MODE', + isNavigationMode + }); - if (isNavigationMode) { - Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('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.')); - } else { - Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('You are currently in edit mode. To return to the navigation mode, press Escape.')); - } + if (isNavigationMode) { + Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('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.')); + } else { + Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('You are currently in edit mode. To return to the navigation mode, press Escape.')); + } + }; }; /** * Action that enables or disables the block moving mode. @@ -21866,17 +22388,21 @@ const setNavigationMode = (isNavigationMode = true) => ({ * @param {string|null} hasBlockMovingClientId Enable/Disable block moving mode. */ -const setBlockMovingClientId = (hasBlockMovingClientId = null) => ({ - dispatch -}) => { - dispatch({ - type: 'SET_BLOCK_MOVING_MODE', - hasBlockMovingClientId - }); +const setBlockMovingClientId = function () { + let hasBlockMovingClientId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + return _ref16 => { + let { + dispatch + } = _ref16; + dispatch({ + type: 'SET_BLOCK_MOVING_MODE', + hasBlockMovingClientId + }); - if (hasBlockMovingClientId) { - Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('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.')); - } + if (hasBlockMovingClientId) { + Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('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.')); + } + }; }; /** * Action that duplicates a list of blocks. @@ -21885,38 +22411,43 @@ const setBlockMovingClientId = (hasBlockMovingClientId = null) => ({ * @param {boolean} updateSelection */ -const duplicateBlocks = (clientIds, updateSelection = true) => ({ - select, - dispatch -}) => { - if (!clientIds || !clientIds.length) { - return; - } // Return early if blocks don't exist. +const duplicateBlocks = function (clientIds) { + let updateSelection = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + return _ref17 => { + let { + select, + dispatch + } = _ref17; + + if (!clientIds || !clientIds.length) { + return; + } // Return early if blocks don't exist. - const blocks = select.getBlocksByClientId(clientIds); + const blocks = select.getBlocksByClientId(clientIds); - if (Object(external_lodash_["some"])(blocks, block => !block)) { - return; - } // Return early if blocks don't support multiple usage. + if (Object(external_lodash_["some"])(blocks, block => !block)) { + return; + } // Return early if blocks don't support multiple usage. - const blockNames = blocks.map(block => block.name); + const blockNames = blocks.map(block => block.name); - if (blockNames.some(blockName => !Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'multiple', true))) { - return; - } + if (blockNames.some(blockName => !Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'multiple', true))) { + return; + } - const rootClientId = select.getBlockRootClientId(clientIds[0]); - const lastSelectedIndex = select.getBlockIndex(Object(external_lodash_["last"])(Object(external_lodash_["castArray"])(clientIds)), rootClientId); - const clonedBlocks = blocks.map(block => Object(external_wp_blocks_["__experimentalCloneSanitizedBlock"])(block)); - dispatch.insertBlocks(clonedBlocks, lastSelectedIndex + 1, rootClientId, updateSelection); + const rootClientId = select.getBlockRootClientId(clientIds[0]); + const lastSelectedIndex = select.getBlockIndex(Object(external_lodash_["last"])(Object(external_lodash_["castArray"])(clientIds)), rootClientId); + const clonedBlocks = blocks.map(block => Object(external_wp_blocks_["__experimentalCloneSanitizedBlock"])(block)); + dispatch.insertBlocks(clonedBlocks, lastSelectedIndex + 1, rootClientId, updateSelection); - if (clonedBlocks.length > 1 && updateSelection) { - dispatch.multiSelect(Object(external_lodash_["first"])(clonedBlocks).clientId, Object(external_lodash_["last"])(clonedBlocks).clientId); - } + if (clonedBlocks.length > 1 && updateSelection) { + dispatch.multiSelect(Object(external_lodash_["first"])(clonedBlocks).clientId, Object(external_lodash_["last"])(clonedBlocks).clientId); + } - return clonedBlocks.map(block => block.clientId); + return clonedBlocks.map(block => block.clientId); + }; }; /** * Action that inserts an empty block before a given block. @@ -21924,10 +22455,12 @@ const duplicateBlocks = (clientIds, updateSelection = true) => ({ * @param {string} clientId */ -const insertBeforeBlock = clientId => ({ - select, - dispatch -}) => { +const insertBeforeBlock = clientId => _ref18 => { + let { + select, + dispatch + } = _ref18; + if (!clientId) { return; } @@ -21948,10 +22481,12 @@ const insertBeforeBlock = clientId => ({ * @param {string} clientId */ -const insertAfterBlock = clientId => ({ - select, - dispatch -}) => { +const insertAfterBlock = clientId => _ref19 => { + let { + select, + dispatch + } = _ref19; + if (!clientId) { return; } @@ -21986,9 +22521,10 @@ function toggleBlockHighlight(clientId, isHighlighted) { * @param {string} clientId Target block client ID. */ -const flashBlock = clientId => async ({ - dispatch -}) => { +const flashBlock = clientId => async _ref20 => { + let { + dispatch + } = _ref20; dispatch(toggleBlockHighlight(clientId, true)); await new Promise(resolve => setTimeout(resolve, 150)); dispatch(toggleBlockHighlight(clientId, false)); @@ -22163,14 +22699,16 @@ function FontAppearanceControl(props) { const combineOptions = () => { const combinedOptions = [defaultOption]; - FONT_STYLES.forEach(({ - name: styleName, - value: styleValue - }) => { - FONT_WEIGHTS.forEach(({ - name: weightName, - value: weightValue - }) => { + FONT_STYLES.forEach(_ref => { + let { + name: styleName, + value: styleValue + } = _ref; + FONT_WEIGHTS.forEach(_ref2 => { + let { + name: weightName, + value: weightValue + } = _ref2; const optionName = styleValue === 'normal' ? weightName : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["sprintf"])( /* translators: 1: Font weight name. 2: Font style name. */ Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('%1$s %2$s'), weightName, styleName); @@ -22190,10 +22728,11 @@ function FontAppearanceControl(props) { const styleOptions = () => { const combinedOptions = [defaultOption]; - FONT_STYLES.forEach(({ - name, - value - }) => { + FONT_STYLES.forEach(_ref3 => { + let { + name, + value + } = _ref3; combinedOptions.push({ key: value, name, @@ -22209,10 +22748,11 @@ function FontAppearanceControl(props) { const weightOptions = () => { const combinedOptions = [defaultOption]; - FONT_WEIGHTS.forEach(({ - name, - value - }) => { + FONT_WEIGHTS.forEach(_ref4 => { + let { + name, + value + } = _ref4; combinedOptions.push({ key: value, name, @@ -22262,9 +22802,12 @@ function FontAppearanceControl(props) { describedBy: getDescribedBy(), options: selectOptions, value: currentSelection, - onChange: ({ - selectedItem - }) => onChange(selectedItem.style) + onChange: _ref5 => { + let { + selectedItem + } = _ref5; + return onChange(selectedItem.style); + } }); } @@ -22324,9 +22867,10 @@ const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEleme const __experimentalGetMatchingVariation = (blockAttributes, variations) => { if (!variations || !blockAttributes) return; - const matches = variations.filter(({ - attributes - }) => { + const matches = variations.filter(_ref => { + let { + attributes + } = _ref; if (!attributes || !Object.keys(attributes).length) return false; return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isMatch"])(blockAttributes, attributes); }); @@ -22569,10 +23113,11 @@ function getGradientSlugByValue(gradients, value) { return gradient && gradient.slug; } -function __experimentalUseGradient({ - gradientAttribute = 'gradient', - customGradientAttribute = 'customGradient' -} = {}) { +function __experimentalUseGradient() { + let { + gradientAttribute = 'gradient', + customGradientAttribute = 'customGradient' + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const { clientId } = Object(_block_edit__WEBPACK_IMPORTED_MODULE_3__[/* useBlockEditContext */ "c"])(); @@ -22793,12 +23338,13 @@ const positionCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["c -function BlockPattern({ - isDraggable, - pattern, - onClick, - composite -}) { +function BlockPattern(_ref) { + let { + isDraggable, + pattern, + onClick, + composite + } = _ref; const { blocks, viewportWidth @@ -22808,31 +23354,34 @@ function BlockPattern({ return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_inserter_draggable_blocks__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], { isEnabled: isDraggable, blocks: blocks - }, ({ - draggable, - onDragStart, - onDragEnd - }) => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { - className: "block-editor-block-patterns-list__list-item", - "aria-label": pattern.title, - "aria-describedby": pattern.description ? descriptionId : undefined, - draggable: draggable, - onDragStart: onDragStart, - onDragEnd: onDragEnd - }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__unstableCompositeItem"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ - role: "option", - as: "div" - }, composite, { - className: "block-editor-block-patterns-list__item", - onClick: () => onClick(pattern, blocks) - }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_preview__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], { - blocks: blocks, - viewportWidth: viewportWidth - }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { - className: "block-editor-block-patterns-list__item-title" - }, pattern.title), !!pattern.description && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["VisuallyHidden"], { - id: descriptionId - }, pattern.description)))); + }, _ref2 => { + let { + draggable, + onDragStart, + onDragEnd + } = _ref2; + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { + className: "block-editor-block-patterns-list__list-item", + "aria-label": pattern.title, + "aria-describedby": pattern.description ? descriptionId : undefined, + draggable: draggable, + onDragStart: onDragStart, + onDragEnd: onDragEnd + }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__unstableCompositeItem"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ + role: "option", + as: "div" + }, composite, { + className: "block-editor-block-patterns-list__item", + onClick: () => onClick(pattern, blocks) + }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_preview__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], { + blocks: blocks, + viewportWidth: viewportWidth + }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { + className: "block-editor-block-patterns-list__item-title" + }, pattern.title), !!pattern.description && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["VisuallyHidden"], { + id: descriptionId + }, pattern.description))); + }); } function BlockPatternPlaceholder() { @@ -22841,14 +23390,15 @@ function BlockPatternPlaceholder() { }); } -function BlockPatternList({ - isDraggable, - blockPatterns, - shownPatterns, - onClickPattern, - orientation, - label = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Block Patterns') -}) { +function BlockPatternList(_ref3) { + let { + isDraggable, + blockPatterns, + shownPatterns, + onClickPattern, + orientation, + label = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Block Patterns') + } = _ref3; const composite = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__unstableUseCompositeState"])({ orientation }); @@ -23013,12 +23563,13 @@ function useScrollIntoView(clientId) { */ -function FontFamilyControl({ - value = '', - onChange, - fontFamilies, - ...props -}) { +function FontFamilyControl(_ref) { + let { + value = '', + onChange, + fontFamilies, + ...props + } = _ref; const blockLevelFontFamilies = Object(_use_setting__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])('typography.fontFamilies'); if (!fontFamilies) { @@ -23032,10 +23583,11 @@ function FontFamilyControl({ const options = [{ value: '', label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Default') - }, ...fontFamilies.map(({ - fontFamily, - name - }) => { + }, ...fontFamilies.map(_ref2 => { + let { + fontFamily, + name + } = _ref2; return { value: fontFamily, label: name || fontFamily @@ -23503,13 +24055,14 @@ function useToolbarFocus(ref, focusOnMount, isAccessibleToolbar, defaultIndex, o }, [initialIndex, initialFocusOnMount]); } -function NavigableToolbar({ - children, - focusOnMount, - __experimentalInitialIndex: initialIndex, - __experimentalOnIndexChange: onIndexChange, - ...props -}) { +function NavigableToolbar(_ref) { + let { + children, + focusOnMount, + __experimentalInitialIndex: initialIndex, + __experimentalOnIndexChange: onIndexChange, + ...props + } = _ref; const ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])(); const isAccessibleToolbar = useIsAccessibleToolbar(ref); useToolbarFocus(ref, focusOnMount, isAccessibleToolbar, initialIndex, onIndexChange); @@ -23554,12 +24107,14 @@ function NavigableToolbar({ -function BlockCard({ - title, - icon, - description, - blockType -}) { +function BlockCard(_ref) { + let { + title, + icon, + description, + blockType + } = _ref; + if (blockType) { _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default()('`blockType` property in `BlockCard component`', { since: '5.7', @@ -23722,23 +24277,25 @@ function useDisplayBlockControls() { -function ButtonBlockAppender({ - rootClientId, - className, - onFocus, - tabIndex -}, ref) { +function ButtonBlockAppender(_ref, ref) { + let { + rootClientId, + className, + onFocus, + tabIndex + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_inserter__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], { position: "bottom center", rootClientId: rootClientId, __experimentalIsQuick: true, - renderToggle: ({ - onToggle, - disabled, - isOpen, - blockTitle, - hasSingleBlockType - }) => { + renderToggle: _ref2 => { + let { + onToggle, + disabled, + isOpen, + blockTitle, + hasSingleBlockType + } = _ref2; let label; if (hasSingleBlockType) { @@ -23941,13 +24498,14 @@ function useNavModeExit(clientId) { * controlling sources do not become dirty. */ -function useBlockSync({ - clientId = null, - value: controlledBlocks, - selection: controlledSelection, - onChange = lodash__WEBPACK_IMPORTED_MODULE_0__["noop"], - onInput = lodash__WEBPACK_IMPORTED_MODULE_0__["noop"] -}) { +function useBlockSync(_ref) { + let { + clientId = null, + value: controlledBlocks, + selection: controlledSelection, + onChange = lodash__WEBPACK_IMPORTED_MODULE_0__["noop"], + onInput = lodash__WEBPACK_IMPORTED_MODULE_0__["noop"] + } = _ref; const registry = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useRegistry"])(); const { resetBlocks, @@ -24276,11 +24834,12 @@ function BlockEdit(props) { -function BlockContextualToolbar({ - focusOnMount, - isFixed, - ...props -}) { +function BlockContextualToolbar(_ref) { + let { + focusOnMount, + isFixed, + ...props + } = _ref; const { blockType, hasParents, @@ -24383,16 +24942,17 @@ function BlockContextualToolbar({ -function BlockMover({ - isFirst, - isLast, - clientIds, - canMove, - isHidden, - rootClientId, - orientation, - hideDragHandle -}) { +function BlockMover(_ref) { + let { + isFirst, + isLast, + clientIds, + canMove, + isHidden, + rootClientId, + orientation, + hideDragHandle + } = _ref; const [isFocused, setIsFocused] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(false); const onFocus = () => setIsFocused(true); @@ -24440,11 +25000,12 @@ function BlockMover({ }, itemProps))))); } -/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_7__["withSelect"])((select, { - clientIds -}) => { +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_7__["withSelect"])((select, _ref2) => { var _getBlockListSettings; + let { + clientIds + } = _ref2; const { getBlock, getBlockIndex, @@ -24519,7 +25080,9 @@ __unstableBlockSettingsMenuFirstItem.Slot = Slot; const DEFAULT_CONTROLS = ['none', 'left', 'center', 'right', 'wide', 'full']; const WIDE_CONTROLS = ['wide', 'full']; -function useAvailableAlignments(controls = DEFAULT_CONTROLS) { +function useAvailableAlignments() { + let controls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_CONTROLS; + // Always add the `none` option if not exists. if (!controls.includes('none')) { controls = ['none', ...controls]; @@ -24543,9 +25106,12 @@ function useAvailableAlignments(controls = DEFAULT_CONTROLS) { const layoutAlignments = layoutType.getAlignments(layout); if (themeSupportsLayout) { - const alignments = layoutAlignments.filter(({ - name: alignmentName - }) => controls.includes(alignmentName)); // While we treat `none` as an alignment, we shouldn't return it if no + const alignments = layoutAlignments.filter(_ref => { + let { + name: alignmentName + } = _ref; + return controls.includes(alignmentName); + }); // While we treat `none` as an alignment, we shouldn't return it if no // other alignments exist. if (alignments.length === 1 && alignments[0].name === 'none') { @@ -24657,9 +25223,10 @@ function useDarkThemeBodyClassName(styles) { }, [styles]); } -function EditorStyles({ - styles -}) { +function EditorStyles(_ref) { + let { + styles + } = _ref; const transformedStyles = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => Object(_utils_transform_styles__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(styles, EDITOR_STYLES_SELECTOR), [styles]); return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("style", { ref: useDarkThemeBodyClassName(styles) @@ -24727,12 +25294,13 @@ function InserterNoResults() { -function InserterListboxItem({ - isFirst, - as: Component, - children, - ...props -}, ref) { +function InserterListboxItem(_ref, ref) { + let { + isFirst, + as: Component, + children, + ...props + } = _ref; const state = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(_context__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"]); return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__unstableCompositeItem"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ ref: ref, @@ -24968,12 +25536,13 @@ const chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["crea -function InspectorControlsFill({ - __experimentalGroup: group = 'default', - children -}) { +function InspectorControlsFill(_ref) { var _groups$group; + let { + __experimentalGroup: group = 'default', + children + } = _ref; const isDisplayed = Object(_use_display_block_controls__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(); const Fill = (_groups$group = _groups__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"][group]) === null || _groups$group === void 0 ? void 0 : _groups$group.Fill; @@ -25341,7 +25910,8 @@ var external_wp_components_ = __webpack_require__("tI+e"); * * @return {string} - CSS selector. */ -function appendSelectors(selectors, append = '') { +function appendSelectors(selectors) { + let append = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; // Ideally we shouldn't need the `.editor-styles-wrapper` increased specificity here // The problem though is that we have a `.editor-styles-wrapper p { margin: reset; }` style // it's used to reset the default margin added by wp-admin to paragraphs @@ -25392,10 +25962,11 @@ const flexWrapOptions = ['wrap', 'nowrap']; /* harmony default export */ var flex = ({ name: 'flex', label: Object(external_wp_i18n_["__"])('Flex'), - inspectorControls: function FlexLayoutInspectorControls({ - layout = {}, - onChange - }) { + inspectorControls: function FlexLayoutInspectorControls(_ref) { + let { + layout = {}, + onChange + } = _ref; const { allowOrientation = true } = layout; @@ -25410,11 +25981,13 @@ const flexWrapOptions = ['wrap', 'nowrap']; onChange: onChange })); }, - toolBarControls: function FlexLayoutToolbarControls({ - layout = {}, - onChange, - layoutBlockSupport - }) { + toolBarControls: function FlexLayoutToolbarControls(_ref2) { + let { + layout = {}, + onChange, + layoutBlockSupport + } = _ref2; + if (layoutBlockSupport !== null && layoutBlockSupport !== void 0 && layoutBlockSupport.allowSwitching) { return null; } @@ -25428,10 +26001,11 @@ const flexWrapOptions = ['wrap', 'nowrap']; isToolbar: true })); }, - save: function FlexLayoutStyle({ - selector, - layout - }) { + save: function FlexLayoutStyle(_ref3) { + let { + selector, + layout + } = _ref3; const { orientation = 'horizontal', setCascadingProperties = false @@ -25500,11 +26074,12 @@ const flexWrapOptions = ['wrap', 'nowrap']; }); -function FlexLayoutJustifyContentControl({ - layout, - onChange, - isToolbar = false -}) { +function FlexLayoutJustifyContentControl(_ref4) { + let { + layout, + onChange, + isToolbar = false + } = _ref4; const { justifyContent = 'left', orientation = 'horizontal' @@ -25558,11 +26133,12 @@ function FlexLayoutJustifyContentControl({ return Object(external_wp_element_["createElement"])("fieldset", { className: "block-editor-hooks__flex-layout-justification-controls" - }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Justification')), Object(external_wp_element_["createElement"])("div", null, justificationOptions.map(({ - value, - icon, - label - }) => { + }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Justification')), Object(external_wp_element_["createElement"])("div", null, justificationOptions.map(_ref5 => { + let { + value, + icon, + label + } = _ref5; return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { key: value, label: label, @@ -25573,10 +26149,11 @@ function FlexLayoutJustifyContentControl({ }))); } -function FlexWrapControl({ - layout, - onChange -}) { +function FlexWrapControl(_ref6) { + let { + layout, + onChange + } = _ref6; const { flexWrap = 'wrap' } = layout; @@ -25591,10 +26168,11 @@ function FlexWrapControl({ }); } -function OrientationControl({ - layout, - onChange -}) { +function OrientationControl(_ref7) { + let { + layout, + onChange + } = _ref7; const { orientation = 'horizontal' } = layout; @@ -25644,10 +26222,11 @@ var stretch_wide = __webpack_require__("beZb"); /* harmony default export */ var flow = ({ name: 'default', label: Object(external_wp_i18n_["__"])('Flow'), - inspectorControls: function DefaultLayoutInspectorControls({ - layout, - onChange - }) { + inspectorControls: function DefaultLayoutInspectorControls(_ref) { + let { + layout, + onChange + } = _ref; const { wideSize, contentSize @@ -25707,10 +26286,11 @@ var stretch_wide = __webpack_require__("beZb"); toolBarControls: function DefaultLayoutToolbarControls() { return null; }, - save: function DefaultLayoutStyle({ - selector, - layout = {} - }) { + save: function DefaultLayoutStyle(_ref2) { + let { + selector, + layout = {} + } = _ref2; const { contentSize, wideSize @@ -25861,7 +26441,8 @@ const layoutTypes = [flow, flex]; * @return {Object} Layout type. */ -function getLayoutType(name = 'default') { +function getLayoutType() { + let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'default'; return layoutTypes.find(layoutType => layoutType.name === name); } /** @@ -25924,10 +26505,11 @@ function getLayoutTypes() { const InsertionPointOpenRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])(); -function InsertionPointPopover({ - __unstablePopoverSlot, - __unstableContentRef -}) { +function InsertionPointPopover(_ref) { + let { + __unstablePopoverSlot, + __unstableContentRef + } = _ref; const { selectBlock } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]); @@ -26206,11 +26788,12 @@ function InsertionPointPopover({ /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */ } -function InsertionPoint({ - children, - __unstablePopoverSlot, - __unstableContentRef -}) { +function InsertionPoint(_ref2) { + let { + children, + __unstablePopoverSlot, + __unstableContentRef + } = _ref2; const isVisible = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => { return select(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]).isBlockInsertionPointVisible(); }, []); @@ -26401,9 +26984,10 @@ var block_list = __webpack_require__("VyCT"); */ -function LiveBlockPreview({ - onClick -}) { +function LiveBlockPreview(_ref) { + let { + onClick + } = _ref; return Object(external_wp_element_["createElement"])("div", { tabIndex: 0, role: "button", @@ -26444,10 +27028,11 @@ var store = __webpack_require__("BhPs"); let MemoizedBlockList; -function AutoBlockPreview({ - viewportWidth, - __experimentalPadding -}) { +function AutoBlockPreview(_ref) { + let { + viewportWidth, + __experimentalPadding + } = _ref; const [containerResizeListener, { width: containerWidth }] = Object(external_wp_compose_["useResizeObserver"])(); @@ -26518,13 +27103,14 @@ function AutoBlockPreview({ -function BlockPreview({ - blocks, - __experimentalPadding = 0, - viewportWidth = 1200, - __experimentalLive = false, - __experimentalOnClick -}) { +function BlockPreview(_ref) { + let { + blocks, + __experimentalPadding = 0, + viewportWidth = 1200, + __experimentalLive = false, + __experimentalOnClick + } = _ref; const originalSettings = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getSettings(), []); const settings = Object(external_wp_element_["useMemo"])(() => { const _settings = { ...originalSettings @@ -27546,10 +28132,11 @@ function useWritingFlow() { }, [hasMultiSelection])]), after]; } -function WritingFlow({ - children, - ...props -}, forwardedRef) { +function WritingFlow(_ref, forwardedRef) { + let { + children, + ...props + } = _ref; const [before, ref, after] = useWritingFlow(); return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, before, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, { ref: Object(external_wp_compose_["useMergeRefs"])([ref, forwardedRef]), @@ -27600,10 +28187,11 @@ function WritingFlow({ */ -function BlockSettingsMenu({ - clientIds, - ...props -}) { +function BlockSettingsMenu(_ref) { + let { + clientIds, + ...props + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ToolbarGroup"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ToolbarItem"], null, toggleProps => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_settings_dropdown__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ clientIds: clientIds, toggleProps: toggleProps @@ -27727,16 +28315,18 @@ var store = __webpack_require__("BhPs"); -function BlockListAppender({ - blockClientIds, - rootClientId, - canInsertDefaultBlock, - isLocked, - renderAppender: CustomAppender, - className, - selectedBlockClientId, - tagName: TagName = 'div' -}) { +function BlockListAppender(_ref) { + let { + blockClientIds, + rootClientId, + canInsertDefaultBlock, + isLocked, + renderAppender: CustomAppender, + className, + selectedBlockClientId, + tagName: TagName = 'div' + } = _ref; + if (isLocked || CustomAppender === false) { return null; } @@ -27794,9 +28384,10 @@ function BlockListAppender({ }, appender); } -/* harmony default export */ var block_list_appender = (Object(external_wp_data_["withSelect"])((select, { - rootClientId -}) => { +/* harmony default export */ var block_list_appender = (Object(external_wp_data_["withSelect"])((select, _ref2) => { + let { + rootClientId + } = _ref2; const { getBlockOrder, canInsertBlockType, @@ -28041,9 +28632,10 @@ var block_popover = __webpack_require__("xCFn"); -function BlockToolsBackCompat({ - children -}) { +function BlockToolsBackCompat(_ref) { + let { + children + } = _ref; const openRef = Object(external_wp_element_["useContext"])(insertion_point["a" /* InsertionPointOpenRef */]); const isDisabled = Object(external_wp_element_["useContext"])(external_wp_components_["Disabled"].Context); // If context is set, `BlockTools` is a parent component. @@ -28101,10 +28693,11 @@ var context = __webpack_require__("ur0x"); const elementContext = Object(external_wp_element_["createContext"])(); const IntersectionObserver = Object(external_wp_element_["createContext"])(); -function Root({ - className, - ...settings -}) { +function Root(_ref) { + let { + className, + ...settings + } = _ref; const [element, setElement] = Object(external_wp_element_["useState"])(); const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium'); const { @@ -28147,13 +28740,14 @@ function BlockList(settings) { } BlockList.__unstableElementContext = elementContext; -function Items({ - placeholder, - rootClientId, - renderAppender, - __experimentalAppenderTagName, - __experimentalLayout: layout = block_list_layout["c" /* defaultLayout */] -}) { +function Items(_ref2) { + let { + placeholder, + rootClientId, + renderAppender, + __experimentalAppenderTagName, + __experimentalLayout: layout = block_list_layout["c" /* defaultLayout */] + } = _ref2; const [intersectingBlocks, setIntersectingBlocks] = Object(external_wp_element_["useState"])(new Set()); const intersectionObserver = Object(external_wp_element_["useMemo"])(() => { const { @@ -28306,20 +28900,21 @@ const INITIAL_INSERTER_RESULTS = 9; const EMPTY_ARRAY = []; -function InserterSearchResults({ - filterValue, - onSelect, - onHover, - rootClientId, - clientId, - isAppender, - __experimentalInsertionIndex, - maxBlockPatterns, - maxBlockTypes, - showBlockDirectory = false, - isDraggable = true, - shouldFocusBlock = true -}) { +function InserterSearchResults(_ref) { + let { + filterValue, + onSelect, + onHover, + rootClientId, + clientId, + isAppender, + __experimentalInsertionIndex, + maxBlockPatterns, + maxBlockTypes, + showBlockDirectory = false, + isDraggable = true, + shouldFocusBlock = true + } = _ref; const debouncedSpeak = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useDebounce"])(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_5__["speak"], 500); const [destinationRootClientId, onInsertBlocks] = Object(_hooks_use_insertion_point__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"])({ onSelect, @@ -28452,7 +29047,9 @@ function mode(inputArray) { * @return {string} Most common CSS unit in values. Default: `px`. */ -function getAllUnit(values = {}) { +function getAllUnit() { + let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + if (typeof values === 'string') { const [, unit] = Object(external_wp_components_["__experimentalParseUnit"])(values); return unit || 'px'; @@ -28471,7 +29068,9 @@ function getAllUnit(values = {}) { * @return {string} A value + unit for the 'all' input. */ -function getAllValue(values = {}) { +function getAllValue() { + let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + /** * Border radius support was originally a single pixel value. * @@ -28496,7 +29095,8 @@ function getAllValue(values = {}) { * @return {boolean} Whether values are mixed. */ -function hasMixedValues(values = {}) { +function hasMixedValues() { + let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const allValue = getAllValue(values); const isMixed = isNaN(parseFloat(allValue)); return isMixed; @@ -28540,11 +29140,12 @@ function hasDefinedValues(values) { */ -function AllInputControl({ - onChange, - values, - ...props -}) { +function AllInputControl(_ref) { + let { + onChange, + values, + ...props + } = _ref; const allValue = getAllValue(values); const hasValues = hasDefinedValues(values); const isMixed = hasValues && hasMixedValues(values); @@ -28574,11 +29175,13 @@ const CORNERS = { bottomLeft: Object(external_wp_i18n_["__"])('Bottom left'), bottomRight: Object(external_wp_i18n_["__"])('Bottom right') }; -function BoxInputControls({ - onChange, - values: valuesProp, - ...props -}) { +function BoxInputControls(_ref) { + let { + onChange, + values: valuesProp, + ...props + } = _ref; + const createHandleOnChange = corner => next => { if (!onChange) { return; @@ -28599,12 +29202,15 @@ function BoxInputControls({ return Object(external_wp_element_["createElement"])("div", { className: "components-border-radius-control__input-controls-wrapper" - }, Object.entries(CORNERS).map(([key, label]) => Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], Object(esm_extends["a" /* default */])({}, props, { - key: key, - "aria-label": label, - value: values[key], - onChange: createHandleOnChange(key) - })))); + }, Object.entries(CORNERS).map(_ref2 => { + let [key, label] = _ref2; + return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], Object(esm_extends["a" /* default */])({}, props, { + key: key, + "aria-label": label, + value: values[key], + onChange: createHandleOnChange(key) + })); + })); } // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js @@ -28623,10 +29229,11 @@ var link_off = __webpack_require__("Mp0b"); -function LinkedButton({ - isLinked, - ...props -}) { +function LinkedButton(_ref) { + let { + isLinked, + ...props + } = _ref; const label = isLinked ? Object(external_wp_i18n_["__"])('Unlink Radii') : Object(external_wp_i18n_["__"])('Link Radii'); return Object(external_wp_element_["createElement"])(external_wp_components_["Tooltip"], { text: label @@ -28684,10 +29291,11 @@ const MAX_BORDER_RADIUS_VALUES = { * @return {WPElement} Custom border radius control. */ -function BorderRadiusControl({ - onChange, - values -}) { +function BorderRadiusControl(_ref) { + let { + onChange, + values + } = _ref; const [isLinked, setIsLinked] = Object(external_wp_element_["useState"])(!hasDefinedValues(values) || !hasMixedValues(values)); const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({ availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['px', 'em', 'rem'] @@ -28843,12 +29451,13 @@ const getAbsolutePosition = element => { */ -function useMovingAnimation({ - isSelected, - adjustScrolling, - enableAnimation, - triggerAnimationOnChange -}) { +function useMovingAnimation(_ref) { + let { + isSelected, + adjustScrolling, + enableAnimation, + triggerAnimationOnChange + } = _ref; const ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])(); const prefersReducedMotion = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__["useReducedMotion"])() || !enableAnimation; const [triggeredAnimation, triggerAnimation] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useReducer"])(counterReducer, 0); @@ -28907,10 +29516,12 @@ function useMovingAnimation({ }); }, [triggerAnimationOnChange]); // Only called when either the x or y value changes. - function onFrameChange({ - x, - y - }) { + function onFrameChange(_ref2) { + let { + x, + y + } = _ref2; + if (!ref.current) { return; } @@ -28923,9 +29534,10 @@ function useMovingAnimation({ } // Called for every frame computed by useSpring. - function onChange({ - value - }) { + function onChange(_ref3) { + let { + value + } = _ref3; let { x, y @@ -29159,13 +29771,14 @@ var store = __webpack_require__("BhPs"); -const BlockDraggable = ({ - children, - clientIds, - cloneClassname, - onDragStart, - onDragEnd -}) => { +const BlockDraggable = _ref => { + let { + children, + clientIds, + cloneClassname, + onDragStart, + onDragEnd + } = _ref; const { srcRootClientId, isDraggable, @@ -29240,10 +29853,11 @@ const BlockDraggable = ({ count: clientIds.length, icon: icon }) - }, ({ - onDraggableStart, - onDraggableEnd - }) => { + }, _ref2 => { + let { + onDraggableStart, + onDraggableEnd + } = _ref2; return children({ draggable: true, onDragStart: onDraggableStart, @@ -29309,12 +29923,13 @@ const moreHorizontal = Object(external_wp_element_["createElement"])(external_wp -function Warning({ - className, - actions, - children, - secondaryActions -}) { +function Warning(_ref) { + let { + className, + actions, + children, + secondaryActions + } = _ref; return Object(external_wp_element_["createElement"])("div", { className: classnames_default()(className, 'block-editor-warning') }, Object(external_wp_element_["createElement"])("div", { @@ -29377,10 +29992,11 @@ function Warning({ */ -function BlockSupportSlotContainer({ - Slot, - ...props -}) { +function BlockSupportSlotContainer(_ref) { + let { + Slot, + ...props + } = _ref; const toolsPanelContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__experimentalToolsPanelContext"]); return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Slot, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, { fillProps: toolsPanelContext @@ -29561,9 +30177,12 @@ function getColorClassName(colorContextName, colorSlug) { function getMostReadableColor(colors, colorValue) { const colordColor = Object(colord__WEBPACK_IMPORTED_MODULE_1__[/* colord */ "a"])(colorValue); - return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["maxBy"])(colors, ({ - color - }) => colordColor.contrast(color)).color; + return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["maxBy"])(colors, _ref => { + let { + color + } = _ref; + return colordColor.contrast(color); + }).color; } @@ -29645,11 +30264,12 @@ const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["c -function BlockSupportToolsPanel({ - children, - group, - label -}) { +function BlockSupportToolsPanel(_ref) { + let { + children, + group, + label + } = _ref; const { clientId, attributes @@ -29668,7 +30288,8 @@ function BlockSupportToolsPanel({ updateBlockAttributes } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]); - const resetAll = (resetFilters = []) => { + const resetAll = function () { + let resetFilters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; const { style } = attributes; @@ -29724,9 +30345,10 @@ function BlockSupportToolsPanel({ */ const BlockRefs = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])(); -function BlockRefsProvider({ - children -}) { +function BlockRefsProvider(_ref) { + let { + children + } = _ref; const value = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => ({ refs: new Map(), callbacks: new Map() @@ -30617,9 +31239,10 @@ module.exports = isEventSupported; * @return {?string} Block title. */ -function BlockTitle({ - clientId -}) { +function BlockTitle(_ref) { + let { + clientId + } = _ref; const { attributes, name, @@ -30795,12 +31418,13 @@ function useBlockControlsFill(group, shareWithChildBlocks) { */ -function BlockControlsFill({ - group = 'default', - controls, - children, - __experimentalShareWithChildBlocks = false -}) { +function BlockControlsFill(_ref) { + let { + group = 'default', + controls, + children, + __experimentalShareWithChildBlocks = false + } = _ref; const Fill = useBlockControlsFill(group, __experimentalShareWithChildBlocks); if (!Fill) { @@ -30836,10 +31460,11 @@ function BlockControlsFill({ */ -function BlockControlsSlot({ - group = 'default', - ...props -}) { +function BlockControlsSlot(_ref) { + let { + group = 'default', + ...props + } = _ref; const accessibleToolbarState = Object(external_wp_element_["useContext"])(external_wp_components_["__experimentalToolbarContext"]); const Slot = block_controls_groups[group].Slot; const slot = Object(external_wp_components_["__experimentalUseSlot"])(Slot.__unstableName); @@ -31134,9 +31759,12 @@ function styleSheetsCompat(doc) { return; } - const isMatch = Array.from(cssRules).find(({ - selectorText - }) => selectorText && (selectorText.includes(`.${BODY_CLASS_NAME}`) || selectorText.includes(`.${BLOCK_PREFIX}`))); + const isMatch = Array.from(cssRules).find(_ref => { + let { + selectorText + } = _ref; + return selectorText && (selectorText.includes(`.${BODY_CLASS_NAME}`) || selectorText.includes(`.${BLOCK_PREFIX}`)); + }); if (isMatch && !doc.getElementById(ownerNode.id)) { // eslint-disable-next-line no-console @@ -31213,10 +31841,11 @@ function useParsedAssets(html) { }, [html]); } -async function loadScript(head, { - id, - src -}) { +async function loadScript(head, _ref2) { + let { + id, + src + } = _ref2; return new Promise((resolve, reject) => { const script = head.ownerDocument.createElement('script'); script.id = id; @@ -31235,15 +31864,16 @@ async function loadScript(head, { }); } -function Iframe({ - contentRef, - children, - head, - tabIndex = 0, - ...props -}, ref) { +function Iframe(_ref3, ref) { var _window$__editorAsset, _window$__editorAsset2; + let { + contentRef, + children, + head, + tabIndex = 0, + ...props + } = _ref3; const [, forceRender] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useReducer"])(() => ({})); const [iframeDocument, setIframeDocument] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(); const [bodyClasses, setBodyClasses] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])([]); @@ -31301,14 +31931,15 @@ function Iframe({ styleSheetsCompat(iframeDocument); } }, [iframeDocument]); - head = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("style", null, 'body{margin:0}'), styles.map(({ - tagName, - href, - id, - rel, - media, - textContent - }) => { + head = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("style", null, 'body{margin:0}'), styles.map(_ref4 => { + let { + tagName, + href, + id, + rel, + media, + textContent + } = _ref4; const TagName = tagName.toLowerCase(); if (TagName === 'style') { @@ -31383,21 +32014,22 @@ function Iframe({ const colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients']; -function ColorGradientControlInner({ - colors, - gradients, - disableCustomColors, - disableCustomGradients, - __experimentalHasMultipleOrigins, - className, - label, - onColorChange, - onGradientChange, - colorValue, - gradientValue, - clearable, - showTitle = true -}) { +function ColorGradientControlInner(_ref) { + let { + colors, + gradients, + disableCustomColors, + disableCustomGradients, + __experimentalHasMultipleOrigins, + className, + label, + onColorChange, + onGradientChange, + colorValue, + gradientValue, + clearable, + showTitle = true + } = _ref; const canChooseAColor = onColorChange && (!Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(colors) || !disableCustomColors); const canChooseAGradient = onGradientChange && (!Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(gradients) || !disableCustomGradients); const [currentTab, setCurrentTab] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(gradientValue ? 'gradient' : !!canChooseAColor && 'color'); @@ -31532,9 +32164,10 @@ function useMultiSelection(clientId) { let anchorElement; let rafId; - function onSelectionChange({ - isSelectionEnd - }) { + function onSelectionChange(_ref) { + let { + isSelectionEnd + } = _ref; const selection = defaultView.getSelection(); // If no selection is found, end multi selection and enable all rich // text areas. @@ -31589,9 +32222,11 @@ function useMultiSelection(clientId) { }); } - function onMouseLeave({ - buttons - }) { + function onMouseLeave(_ref2) { + let { + buttons + } = _ref2; + // The primary button must be pressed to initiate selection. // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons if (buttons !== 1) { @@ -31743,11 +32378,12 @@ function diffChars(oldStr, newStr, options) { * @return {JSX.Element} Icon component */ -function Icon({ - icon, - size = 24, - ...props -}) { +function Icon(_ref) { + let { + icon, + size = 24, + ...props + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, { width: size, height: size, @@ -31781,12 +32417,13 @@ function Icon({ -const InserterDraggableBlocks = ({ - isEnabled, - blocks, - icon, - children -}) => { +const InserterDraggableBlocks = _ref => { + let { + isEnabled, + blocks, + icon, + children + } = _ref; const transferData = { type: 'inserter', blocks @@ -31798,10 +32435,11 @@ const InserterDraggableBlocks = ({ count: blocks.length, icon: icon }) - }, ({ - onDraggableStart, - onDraggableEnd - }) => { + }, _ref2 => { + let { + onDraggableStart, + onDraggableEnd + } = _ref2; return children({ draggable: isEnabled, onDragStart: isEnabled ? onDraggableStart : undefined, @@ -32315,14 +32953,15 @@ var character = __webpack_require__("iA5R"); -function BlockView({ - title, - rawContent, - renderedContent, - action, - actionText, - className -}) { +function BlockView(_ref) { + let { + title, + rawContent, + renderedContent, + action, + actionText, + className + } = _ref; return Object(external_wp_element_["createElement"])("div", { className: className }, Object(external_wp_element_["createElement"])("div", { @@ -32365,13 +33004,15 @@ function BlockView({ -function BlockCompare({ - block, - onKeep, - onConvert, - convertor, - convertButtonText -}) { +function BlockCompare(_ref) { + let { + block, + onKeep, + onConvert, + convertor, + convertButtonText + } = _ref; + function getDifference(originalContent, newContent) { const difference = Object(character["diffChars"])(originalContent, newContent); return difference.map((item, pos) => { @@ -32439,13 +33080,14 @@ var store = __webpack_require__("BhPs"); -function BlockInvalidWarning({ - convertToHTML, - convertToBlocks, - convertToClassic, - attemptBlockRecovery, - block -}) { +function BlockInvalidWarning(_ref) { + let { + convertToHTML, + convertToBlocks, + convertToClassic, + attemptBlockRecovery, + block + } = _ref; const hasHTMLBlock = !!Object(external_wp_blocks_["getBlockType"])('core/html'); const [compare, setCompare] = Object(external_wp_element_["useState"])(false); const onCompare = Object(external_wp_element_["useCallback"])(() => setCompare(true), []); @@ -32495,19 +33137,26 @@ const blockToBlocks = block => Object(external_wp_blocks_["rawHandler"])({ HTML: block.originalContent }); -const recoverBlock = ({ - name, - attributes, - innerBlocks -}) => Object(external_wp_blocks_["createBlock"])(name, attributes, innerBlocks); +const recoverBlock = _ref2 => { + let { + name, + attributes, + innerBlocks + } = _ref2; + return Object(external_wp_blocks_["createBlock"])(name, attributes, innerBlocks); +}; -/* harmony default export */ var block_invalid_warning = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, { - clientId -}) => ({ - block: select(store["a" /* store */]).getBlock(clientId) -})), Object(external_wp_data_["withDispatch"])((dispatch, { - block -}) => { +/* harmony default export */ var block_invalid_warning = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref3) => { + let { + clientId + } = _ref3; + return { + block: select(store["a" /* store */]).getBlock(clientId) + }; +}), Object(external_wp_data_["withDispatch"])((dispatch, _ref4) => { + let { + block + } = _ref4; const { replaceBlock } = dispatch(store["a" /* store */]); @@ -32604,9 +33253,10 @@ var lib_default = /*#__PURE__*/__webpack_require__.n(lib); -function BlockHTML({ - clientId -}) { +function BlockHTML(_ref) { + let { + clientId + } = _ref; const [html, setHtml] = Object(external_wp_element_["useState"])(''); const block = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getBlock(clientId), [clientId]); const { @@ -32710,34 +33360,36 @@ function mergeWrapperProps(propsA, propsB) { return newProps; } -function Block({ - children, - isHtml, - ...props -}) { +function Block(_ref) { + let { + children, + isHtml, + ...props + } = _ref; return Object(external_wp_element_["createElement"])("div", Object(use_block_props["a" /* useBlockProps */])(props, { __unstableIsHtml: isHtml }), children); } -function BlockListBlock({ - mode, - isLocked, - canRemove, - clientId, - isSelected, - isSelectionEnabled, - className, - name, - isValid, - attributes, - wrapperProps, - setAttributes, - onReplace, - onInsertBlocksAfter, - onMerge, - toggleSelection -}) { +function BlockListBlock(_ref2) { + let { + mode, + isLocked, + canRemove, + clientId, + isSelected, + isSelectionEnabled, + className, + name, + isValid, + attributes, + wrapperProps, + setAttributes, + onReplace, + onInsertBlocksAfter, + onMerge, + toggleSelection + } = _ref2; const { removeBlock } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]); @@ -32818,10 +33470,11 @@ function BlockListBlock({ }, block)); } -const applyWithSelect = Object(external_wp_data_["withSelect"])((select, { - clientId, - rootClientId -}) => { +const applyWithSelect = Object(external_wp_data_["withSelect"])((select, _ref3) => { + let { + clientId, + rootClientId + } = _ref3; const { isBlockSelected, getBlockMode, @@ -32866,9 +33519,10 @@ const applyWithSelect = Object(external_wp_data_["withSelect"])((select, { isSelected }; }); -const applyWithDispatch = Object(external_wp_data_["withDispatch"])((dispatch, ownProps, { - select -}) => { +const applyWithDispatch = Object(external_wp_data_["withDispatch"])((dispatch, ownProps, _ref4) => { + let { + select + } = _ref4; const { updateBlockAttributes, insertBlocks, @@ -32952,9 +33606,12 @@ const applyWithDispatch = Object(external_wp_data_["withDispatch"])((dispatch, o /* harmony default export */ var block_list_block = __webpack_exports__["b"] = (Object(external_wp_compose_["compose"])(external_wp_compose_["pure"], applyWithSelect, applyWithDispatch, // block is sometimes not mounted at the right time, causing it be undefined // see issue for more info // https://github.com/WordPress/gutenberg/issues/17013 -Object(external_wp_compose_["ifCondition"])(({ - block -}) => !!block), Object(external_wp_components_["withFilters"])('editor.BlockListBlock'))(BlockListBlock)); +Object(external_wp_compose_["ifCondition"])(_ref5 => { + let { + block + } = _ref5; + return !!block; +}), Object(external_wp_components_["withFilters"])('editor.BlockListBlock'))(BlockListBlock)); /***/ }), @@ -33312,14 +33969,15 @@ module.exports = UserAgent_DEPRECATED; -function InspectorControlsSlot({ - __experimentalGroup: group = 'default', - bubblesVirtually = true, - label, - ...props -}) { +function InspectorControlsSlot(_ref) { var _groups$group; + let { + __experimentalGroup: group = 'default', + bubblesVirtually = true, + label, + ...props + } = _ref; const Slot = (_groups$group = _groups__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"][group]) === null || _groups$group === void 0 ? void 0 : _groups$group.Slot; const slot = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__experimentalUseSlot"])(Slot === null || Slot === void 0 ? void 0 : Slot.__unstableName); @@ -33480,10 +34138,11 @@ const TEXT_DECORATIONS = [{ * @return {WPElement} Text decoration control. */ -function TextDecorationControl({ - value, - onChange -}) { +function TextDecorationControl(_ref) { + let { + value, + onChange + } = _ref; return Object(external_wp_element_["createElement"])("fieldset", { className: "block-editor-text-decoration-control" }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Decoration')), Object(external_wp_element_["createElement"])("div", { @@ -36254,11 +36913,12 @@ const SETTINGS_DEFAULTS = { */ -function InserterPanel({ - title, - icon, - children -}) { +function InserterPanel(_ref) { + let { + title, + icon, + children + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", { className: "block-editor-inserter__panel-header" }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("h2", { @@ -37453,9 +38113,11 @@ const BLOCK_ANIMATION_THRESHOLD = 200; * @return {Object} Props to pass to the element to mark as a block. */ -function useBlockProps(props = {}, { - __unstableIsHtml -} = {}) { +function useBlockProps() { + let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let { + __unstableIsHtml + } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; const { clientId, className, @@ -37674,13 +38336,14 @@ const withClientId = Object(external_wp_compose_["createHigherOrderComponent"])( -const ButtonBlockAppender = ({ - clientId, - showSeparator, - isFloating, - onAddBlock, - isToggle -}) => { +const ButtonBlockAppender = _ref => { + let { + clientId, + showSeparator, + isFloating, + onAddBlock, + isToggle + } = _ref; return Object(external_wp_element_["createElement"])(button_block_appender["b" /* default */], { className: classnames_default()({ 'block-list-appender__toggle': isToggle @@ -37722,18 +38385,20 @@ var store = __webpack_require__("BhPs"); -const DefaultBlockAppender = ({ - clientId, - lastBlockClientId -}) => { +const DefaultBlockAppender = _ref => { + let { + clientId, + lastBlockClientId + } = _ref; return Object(external_wp_element_["createElement"])(default_block_appender["a" /* default */], { rootClientId: clientId, lastBlockClientId: lastBlockClientId }); }; -/* harmony default export */ var inner_blocks_default_block_appender = (Object(external_wp_compose_["compose"])([with_client_id, Object(external_wp_data_["withSelect"])((select, { - clientId -}) => { +/* harmony default export */ var inner_blocks_default_block_appender = (Object(external_wp_compose_["compose"])([with_client_id, Object(external_wp_data_["withSelect"])((select, _ref2) => { + let { + clientId + } = _ref2; const { getBlockOrder } = select(store["a" /* store */]); @@ -38031,13 +38696,14 @@ function getNearestBlockIndex(elements, position, orientation) { * @param {WPBlockDropZoneConfig} dropZoneConfig configuration data for the drop zone. */ -function useBlockDropZone({ - // An undefined value represents a top-level block. Default to an empty - // string for this so that `targetRootClientId` can be easily compared to - // values returned by the `getRootBlockClientId` selector, which also uses - // an empty string to represent top-level blocks. - rootClientId: targetRootClientId = '' -} = {}) { +function useBlockDropZone() { + let { + // An undefined value represents a top-level block. Default to an empty + // string for this so that `targetRootClientId` can be easily compared to + // values returned by the `getRootBlockClientId` selector, which also uses + // an empty string to represent top-level blocks. + rootClientId: targetRootClientId = '' + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const [targetBlockIndex, setTargetBlockIndex] = Object(external_wp_element_["useState"])(null); const isLockedAll = Object(external_wp_data_["useSelect"])(select => { const { @@ -38216,7 +38882,9 @@ const ForwardedInnerBlocks = Object(external_wp_element_["forwardRef"])((props, * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md */ -function useInnerBlocksProps(props = {}, options = {}) { +function useInnerBlocksProps() { + let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; const { clientId } = Object(block_edit_context["c" /* useBlockEditContext */])(); @@ -38311,7 +38979,8 @@ const defaultGetCollection = () => null; */ -function normalizeSearchInput(input = '') { +function normalizeSearchInput() { + let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; // Disregard diacritics. // Input: "média" input = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["deburr"])(input); // Accommodate leading slash, matching autocomplete expectations. @@ -38332,7 +39001,8 @@ function normalizeSearchInput(input = '') { */ -const getNormalizedSearchTerms = (input = '') => { +const getNormalizedSearchTerms = function () { + let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; // Extract words. return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["words"])(normalizeSearchInput(input)); }; @@ -38374,7 +39044,10 @@ const searchBlockItems = (items, categories, collections, searchInput) => { * @return {Array} Filtered item list. */ -const searchItems = (items = [], searchInput = '', config = {}) => { +const searchItems = function () { + let items = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + let searchInput = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + let config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; const normalizedSearchTerms = getNormalizedSearchTerms(searchInput); if (normalizedSearchTerms.length === 0) { @@ -38383,9 +39056,19 @@ const searchItems = (items = [], searchInput = '', config = {}) => { const rankedItems = items.map(item => { return [item, getItemSearchRank(item, searchInput, config)]; - }).filter(([, rank]) => rank > 0); - rankedItems.sort(([, rank1], [, rank2]) => rank2 - rank1); - return rankedItems.map(([item]) => item); + }).filter(_ref => { + let [, rank] = _ref; + return rank > 0; + }); + rankedItems.sort((_ref2, _ref3) => { + let [, rank1] = _ref2; + let [, rank2] = _ref3; + return rank2 - rank1; + }); + return rankedItems.map(_ref4 => { + let [item] = _ref4; + return item; + }); }; /** * Get the search rank for a given item and a specific search term. @@ -38399,7 +39082,8 @@ const searchItems = (items = [], searchInput = '', config = {}) => { * @return {number} Search Rank. */ -function getItemSearchRank(item, searchTerm, config = {}) { +function getItemSearchRank(item, searchTerm) { + let config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; const { getName = defaultGetName, getTitle = defaultGetTitle, @@ -38860,14 +39544,15 @@ var external_wp_i18n_ = __webpack_require__("l3Sj"); -function ConvertToGroupButton({ - clientIds, - isGroupable, - isUngroupable, - blocksSelection, - groupingBlockName, - onClose = () => {} -}) { +function ConvertToGroupButton(_ref) { + let { + clientIds, + isGroupable, + isUngroupable, + blocksSelection, + groupingBlockName, + onClose = () => {} + } = _ref; const { replaceBlocks } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]); @@ -38935,10 +39620,11 @@ const { Slot } = Object(external_wp_components_["createSlotFill"])('BlockSettingsMenuControls'); -const BlockSettingsMenuControlsSlot = ({ - fillProps, - clientIds = null -}) => { +const BlockSettingsMenuControlsSlot = _ref => { + let { + fillProps, + clientIds = null + } = _ref; const { selectedBlocks, selectedClientIds @@ -38982,8 +39668,9 @@ const BlockSettingsMenuControlsSlot = ({ */ -function BlockSettingsMenuControls({ ...props -}) { +function BlockSettingsMenuControls(_ref2) { + let { ...props + } = _ref2; return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalStyleProvider"], { document: document }, Object(external_wp_element_["createElement"])(Fill, props)); @@ -39046,10 +39733,11 @@ const alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["crea */ -function BlockDraggableChip({ - count, - icon -}) { +function BlockDraggableChip(_ref) { + let { + count, + icon + } = _ref; return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", { className: "block-editor-block-draggable-chip-wrapper" }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", { @@ -39160,12 +39848,13 @@ var store = __webpack_require__("BhPs"); const SEARCH_THRESHOLD = 6; const SHOWN_BLOCK_TYPES = 6; const SHOWN_BLOCK_PATTERNS = 2; -function QuickInserter({ - onSelect, - rootClientId, - clientId, - isAppender -}) { +function QuickInserter(_ref) { + let { + onSelect, + rootClientId, + clientId, + isAppender + } = _ref; const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])(''); const [destinationRootClientId, onInsertBlocks] = Object(use_insertion_point["a" /* default */])({ onSelect, @@ -39267,14 +39956,15 @@ function QuickInserter({ -const defaultRenderToggle = ({ - onToggle, - disabled, - isOpen, - blockTitle, - hasSingleBlockType, - toggleProps = {} -}) => { +const defaultRenderToggle = _ref => { + let { + onToggle, + disabled, + isOpen, + blockTitle, + hasSingleBlockType, + toggleProps = {} + } = _ref; let label; if (hasSingleBlockType) { @@ -39340,10 +40030,11 @@ class inserter_Inserter extends external_wp_element_["Component"] { */ - renderToggle({ - onToggle, - isOpen - }) { + renderToggle(_ref2) { + let { + onToggle, + isOpen + } = _ref2; const { disabled, blockTitle, @@ -39374,9 +40065,10 @@ class inserter_Inserter extends external_wp_element_["Component"] { */ - renderContent({ - onClose - }) { + renderContent(_ref3) { + let { + onClose + } = _ref3; const { rootClientId, clientId, @@ -39442,10 +40134,11 @@ class inserter_Inserter extends external_wp_element_["Component"] { } -/* harmony default export */ var inserter = __webpack_exports__["a"] = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, { - clientId, - rootClientId -}) => { +/* harmony default export */ var inserter = __webpack_exports__["a"] = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref4) => { + let { + clientId, + rootClientId + } = _ref4; const { getBlockRootClientId, hasInserterItems, @@ -39476,9 +40169,10 @@ class inserter_Inserter extends external_wp_element_["Component"] { directInsertBlock, rootClientId }; -}), Object(external_wp_data_["withDispatch"])((dispatch, ownProps, { - select -}) => { +}), Object(external_wp_data_["withDispatch"])((dispatch, ownProps, _ref5) => { + let { + select + } = _ref5; return { insertOnlyAllowedBlock() { const { @@ -39536,12 +40230,15 @@ class inserter_Inserter extends external_wp_element_["Component"] { }; }), // The global inserter should always be visible, we are using ( ! isAppender && ! rootClientId && ! clientId ) as // a way to detect the global Inserter. -Object(external_wp_compose_["ifCondition"])(({ - hasItems, - isAppender, - rootClientId, - clientId -}) => hasItems || !isAppender && !rootClientId && !clientId)])(inserter_Inserter)); +Object(external_wp_compose_["ifCondition"])(_ref6 => { + let { + hasItems, + isAppender, + rootClientId, + clientId + } = _ref6; + return hasItems || !isAppender && !rootClientId && !clientId; +})])(inserter_Inserter)); /***/ }), @@ -40218,7 +40915,9 @@ const WIDE_ALIGNMENTS = ['wide', 'full']; * @return {string[]} Valid alignments. */ -function getValidAlignments(blockAlign, hasWideBlockSupport = true, hasWideEnabled = true) { +function getValidAlignments(blockAlign) { + let hasWideBlockSupport = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + let hasWideEnabled = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; let validAlignments; if (Array.isArray(blockAlign)) { @@ -40282,9 +40981,12 @@ const withToolbarControls = Object(external_wp_compose_["createHigherOrderCompon // Slot. const blockAllowedAlignments = getValidAlignments(Object(external_wp_blocks_["getBlockSupport"])(blockName, 'align'), Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'alignWide', true)); - const validAlignments = Object(use_available_alignments["a" /* default */])(blockAllowedAlignments).map(({ - name - }) => name); + const validAlignments = Object(use_available_alignments["a" /* default */])(blockAllowedAlignments).map(_ref => { + let { + name + } = _ref; + return name; + }); const updateAlignment = nextAlign => { if (!nextAlign) { @@ -41174,7 +41876,9 @@ function BorderPanel(props) { * @return {boolean} Whether there is support. */ -function hasBorderSupport(blockName, feature = 'any') { +function hasBorderSupport(blockName) { + let feature = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'any'; + if (external_wp_element_["Platform"].OS !== 'web') { return false; } @@ -41247,12 +41951,13 @@ function getComputedStyle(node) { return node.ownerDocument.defaultView.getComputedStyle(node); } -function ColorPanel({ - settings, - clientId, - enableContrastChecking = true, - showTitle = true -}) { +function ColorPanel(_ref) { + let { + settings, + clientId, + enableContrastChecking = true, + showTitle = true + } = _ref; const [detectedBackgroundColor, setDetectedBackgroundColor] = Object(external_wp_element_["useState"])(); const [detectedColor, setDetectedColor] = Object(external_wp_element_["useState"])(); const ref = Object(use_block_refs["b" /* __unstableUseBlockRef */])(clientId); @@ -41732,9 +42437,10 @@ function LineHeightEdit(props) { * @return {boolean} Whether setting is disabled. */ -function useIsLineHeightDisabled({ - name: blockName -} = {}) { +function useIsLineHeightDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const isDisabled = !Object(use_setting["a" /* default */])('typography.lineHeight'); return !Object(external_wp_blocks_["hasBlockSupport"])(blockName, LINE_HEIGHT_SUPPORT_KEY) || isDisabled; } @@ -41760,10 +42466,11 @@ function hasLineHeightValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetLineHeight({ - attributes = {}, - setAttributes -}) { +function resetLineHeight(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -41853,9 +42560,10 @@ function FontAppearanceEdit(props) { * @return {boolean} Whether font style support has been disabled. */ -function useIsFontStyleDisabled({ - name: blockName -} = {}) { +function useIsFontStyleDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const styleSupport = Object(external_wp_blocks_["hasBlockSupport"])(blockName, FONT_STYLE_SUPPORT_KEY); const hasFontStyles = Object(use_setting["a" /* default */])('typography.fontStyle'); return !styleSupport || !hasFontStyles; @@ -41870,9 +42578,10 @@ function useIsFontStyleDisabled({ * @return {boolean} Whether font weight support has been disabled. */ -function useIsFontWeightDisabled({ - name: blockName -} = {}) { +function useIsFontWeightDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const weightSupport = Object(external_wp_blocks_["hasBlockSupport"])(blockName, FONT_WEIGHT_SUPPORT_KEY); const hasFontWeights = Object(use_setting["a" /* default */])('typography.fontWeight'); return !weightSupport || !hasFontWeights; @@ -41917,10 +42626,11 @@ function hasFontAppearanceValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetFontAppearance({ - attributes = {}, - setAttributes -}) { +function resetFontAppearance(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -42046,23 +42756,30 @@ function font_family_addEditProps(settings) { return settings; } -function FontFamilyEdit({ - setAttributes, - attributes: { - fontFamily - } -}) { +function FontFamilyEdit(_ref) { var _find; + let { + setAttributes, + attributes: { + fontFamily + } + } = _ref; const fontFamilies = Object(use_setting["a" /* default */])('typography.fontFamilies'); - const value = (_find = Object(external_lodash_["find"])(fontFamilies, ({ - slug - }) => fontFamily === slug)) === null || _find === void 0 ? void 0 : _find.fontFamily; + const value = (_find = Object(external_lodash_["find"])(fontFamilies, _ref2 => { + let { + slug + } = _ref2; + return fontFamily === slug; + })) === null || _find === void 0 ? void 0 : _find.fontFamily; function onChange(newValue) { - const predefinedFontFamily = Object(external_lodash_["find"])(fontFamilies, ({ - fontFamily: f - }) => f === newValue); + const predefinedFontFamily = Object(external_lodash_["find"])(fontFamilies, _ref3 => { + let { + fontFamily: f + } = _ref3; + return f === newValue; + }); setAttributes({ fontFamily: predefinedFontFamily === null || predefinedFontFamily === void 0 ? void 0 : predefinedFontFamily.slug }); @@ -42082,9 +42799,10 @@ function FontFamilyEdit({ * @return {boolean} Whether setting is disabled. */ -function useIsFontFamilyDisabled({ - name -}) { +function useIsFontFamilyDisabled(_ref4) { + let { + name + } = _ref4; const fontFamilies = Object(use_setting["a" /* default */])('typography.fontFamilies'); return !fontFamilies || fontFamilies.length === 0 || !Object(external_wp_blocks_["hasBlockSupport"])(name, FONT_FAMILY_SUPPORT_KEY); } @@ -42107,9 +42825,10 @@ function hasFontFamilyValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetFontFamily({ - setAttributes -}) { +function resetFontFamily(_ref5) { + let { + setAttributes + } = _ref5; setAttributes({ fontFamily: undefined }); @@ -42290,10 +43009,11 @@ function hasFontSizeValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetFontSize({ - attributes = {}, - setAttributes -}) { +function resetFontSize(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -42313,9 +43033,10 @@ function resetFontSize({ * @return {boolean} Whether setting is disabled. */ -function useIsFontSizeDisabled({ - name: blockName -} = {}) { +function useIsFontSizeDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const fontSizes = Object(use_setting["a" /* default */])('typography.fontSizes'); const hasFontSizes = !!(fontSizes !== null && fontSizes !== void 0 && fontSizes.length); return !Object(external_wp_blocks_["hasBlockSupport"])(blockName, FONT_SIZE_SUPPORT_KEY) || !hasFontSizes; @@ -42430,9 +43151,10 @@ function TextDecorationEdit(props) { * @return {boolean} Whether or not the setting is disabled. */ -function useIsTextDecorationDisabled({ - name: blockName -} = {}) { +function useIsTextDecorationDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const notSupported = !Object(external_wp_blocks_["hasBlockSupport"])(blockName, TEXT_DECORATION_SUPPORT_KEY); const hasTextDecoration = Object(use_setting["a" /* default */])('typography.textDecoration'); return notSupported || !hasTextDecoration; @@ -42459,10 +43181,11 @@ function hasTextDecorationValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetTextDecoration({ - attributes = {}, - setAttributes -}) { +function resetTextDecoration(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -42539,9 +43262,10 @@ function TextTransformEdit(props) { * @return {boolean} Whether or not the setting is disabled. */ -function useIsTextTransformDisabled({ - name: blockName -} = {}) { +function useIsTextTransformDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const notSupported = !Object(external_wp_blocks_["hasBlockSupport"])(blockName, TEXT_TRANSFORM_SUPPORT_KEY); const hasTextTransforms = Object(use_setting["a" /* default */])('typography.textTransform'); return notSupported || !hasTextTransforms; @@ -42568,10 +43292,11 @@ function hasTextTransformValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetTextTransform({ - attributes = {}, - setAttributes -}) { +function resetTextTransform(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -42647,9 +43372,10 @@ function LetterSpacingEdit(props) { * @return {boolean} Whether or not the setting is disabled. */ -function useIsLetterSpacingDisabled({ - name: blockName -} = {}) { +function useIsLetterSpacingDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const notSupported = !Object(external_wp_blocks_["hasBlockSupport"])(blockName, LETTER_SPACING_SUPPORT_KEY); const hasLetterSpacing = Object(use_setting["a" /* default */])('typography.letterSpacing'); return notSupported || !hasLetterSpacing; @@ -42676,10 +43402,11 @@ function hasLetterSpacingValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetLetterSpacing({ - attributes = {}, - setAttributes -}) { +function resetLetterSpacing(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -42833,7 +43560,8 @@ const hasTypographySupport = blockName => { return TYPOGRAPHY_SUPPORT_KEYS.some(key => Object(external_wp_blocks_["hasBlockSupport"])(blockName, key)); }; -function useIsTypographyDisabled(props = {}) { +function useIsTypographyDisabled() { + let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const configs = [useIsFontAppearanceDisabled(props), useIsFontSizeDisabled(props), useIsLineHeightDisabled(props), useIsFontFamilyDisabled(props), useIsTextDecorationDisabled(props), useIsTextTransformDisabled(props), useIsLetterSpacingDisabled(props)]; return configs.filter(Boolean).length === configs.length; } @@ -42888,10 +43616,11 @@ function hasGapValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetGap({ - attributes = {}, - setAttributes -}) { +function resetGap(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -42910,9 +43639,10 @@ function resetGap({ * @return {boolean} Whether the gap setting is disabled. */ -function useIsGapDisabled({ - name: blockName -} = {}) { +function useIsGapDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const isDisabled = !Object(use_setting["a" /* default */])('spacing.blockGap'); return !hasGapSupport(blockName) || isDisabled; } @@ -43029,10 +43759,11 @@ function hasMarginValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetMargin({ - attributes = {}, - setAttributes -}) { +function resetMargin(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -43052,9 +43783,10 @@ function resetMargin({ * @return {boolean} Whether margin setting is disabled. */ -function useIsMarginDisabled({ - name: blockName -} = {}) { +function useIsMarginDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const isDisabled = !Object(use_setting["a" /* default */])('spacing.margin'); const isInvalid = !useIsDimensionsSupportValid(blockName, 'margin'); return !hasMarginSupport(blockName) || isDisabled || isInvalid; @@ -43174,10 +43906,11 @@ function hasPaddingValue(props) { * @param {Object} props.setAttributes Function to set block's attributes. */ -function resetPadding({ - attributes = {}, - setAttributes -}) { +function resetPadding(_ref) { + let { + attributes = {}, + setAttributes + } = _ref; const { style } = attributes; @@ -43197,9 +43930,10 @@ function resetPadding({ * @return {boolean} Whether padding setting is disabled. */ -function useIsPaddingDisabled({ - name: blockName -} = {}) { +function useIsPaddingDisabled() { + let { + name: blockName + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const isDisabled = !Object(use_setting["a" /* default */])('spacing.padding'); const isInvalid = !useIsDimensionsSupportValid(blockName, 'padding'); return !hasPaddingSupport(blockName) || isDisabled || isInvalid; @@ -43371,7 +44105,8 @@ function hasDimensionsSupport(blockName) { * @return {boolean} If spacing support is completely disabled. */ -const useIsDimensionsDisabled = (props = {}) => { +const useIsDimensionsDisabled = function () { + let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const gapDisabled = useIsGapDisabled(props); const paddingDisabled = useIsPaddingDisabled(props); const marginDisabled = useIsMarginDisabled(props); @@ -43478,7 +44213,8 @@ function compileStyleValue(uncompiledValue) { */ -function getInlineStyles(styles = {}) { +function getInlineStyles() { + let styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const output = {}; Object.keys(external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"]).forEach(propKey => { const path = external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][propKey].value; @@ -43506,7 +44242,8 @@ function getInlineStyles(styles = {}) { return output; } -function compileElementsStyles(selector, elements = {}) { +function compileElementsStyles(selector) { + let elements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; return Object(external_lodash_["map"])(elements, (styles, element) => { const elementStyles = getInlineStyles(styles); @@ -43584,7 +44321,9 @@ const skipSerializationPathsSave = { ...skipSerializationPathsEdit, * @return {Object} Filtered props applied to save element. */ -function style_addSaveProps(props, blockType, attributes, skipPaths = skipSerializationPathsSave) { +function style_addSaveProps(props, blockType, attributes) { + let skipPaths = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : skipSerializationPathsSave; + if (!hasStyleSupport(blockType)) { return props; } @@ -43715,7 +44454,8 @@ Object(colord["b" /* extend */])([names["a" /* default */]]); * @return {Object} R, G, and B values. */ -function getValuesFromColors(colors = []) { +function getValuesFromColors() { + let colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; const values = { r: [], g: [], @@ -43752,11 +44492,12 @@ function getValuesFromColors(colors = []) { * @return {WPElement} Duotone element. */ -function DuotoneFilter({ - selector, - id, - values -}) { +function DuotoneFilter(_ref) { + let { + selector, + id, + values + } = _ref; const stylesheet = ` ${selector} { filter: url( #${id} ); @@ -43809,12 +44550,13 @@ ${selector} { })); } -function DuotonePanel({ - attributes, - setAttributes -}) { +function DuotonePanel(_ref2) { var _style$color; + let { + attributes, + setAttributes + } = _ref2; const style = attributes === null || attributes === void 0 ? void 0 : attributes.style; const duotone = style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.duotone; const duotonePalette = Object(use_setting["a" /* default */])('color.duotone') || duotone_EMPTY_ARRAY; @@ -43999,11 +44741,12 @@ var layouts = __webpack_require__("PPMp"); const layoutBlockSupportKey = '__experimentalLayout'; -function LayoutPanel({ - setAttributes, - attributes, - name: blockName -}) { +function LayoutPanel(_ref) { + let { + setAttributes, + attributes, + name: blockName + } = _ref; const { layout } = attributes; @@ -44077,14 +44820,16 @@ function LayoutPanel({ })); } -function LayoutTypeSwitcher({ - type, - onChange -}) { - return Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], null, Object(layouts["b" /* getLayoutTypes */])().map(({ - name, - label - }) => { +function LayoutTypeSwitcher(_ref2) { + let { + type, + onChange + } = _ref2; + return Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], null, Object(layouts["b" /* getLayoutTypes */])().map(_ref3 => { + let { + name, + label + } = _ref3; return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { key: name, isPressed: type === name, @@ -44200,12 +44945,13 @@ const use_border_props_EMPTY_ARRAY = []; * @return {Object} Border block support derived CSS classes & styles. */ -function getBorderClassesAndStyles({ - borderColor, - style -}) { +function getBorderClassesAndStyles(_ref) { var _style$border; + let { + borderColor, + style + } = _ref; const borderStyles = (style === null || style === void 0 ? void 0 : style.border) || {}; const borderClass = Object(utils["a" /* getColorClassName */])('border-color', borderColor); const className = classnames_default()({ @@ -44479,10 +45225,11 @@ const Context = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createCo * @param {BlockContextProviderProps} props */ -function BlockContextProvider({ - value, - children -}) { +function BlockContextProvider(_ref) { + let { + value, + children + } = _ref; const context = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(Context); const nextValue = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => ({ ...context, ...value @@ -44760,7 +45507,8 @@ function getDistanceFromPointToEdge(point, rect, edge) { * and a second is the edge name. */ -function getDistanceToNearestEdge(point, rect, allowedEdges = ['top', 'bottom', 'left', 'right']) { +function getDistanceToNearestEdge(point, rect) { + let allowedEdges = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ['top', 'bottom', 'left', 'right']; let candidateDistance; let candidateEdge; allowedEdges.forEach(edge => { @@ -46119,36 +46867,39 @@ const IS_ROOT_TAG = /^(body|html|:root).*$/; * @return {(node: Object) => Object} Callback to wrap selectors. */ -const wrap = (namespace, ignore = []) => node => { - /** - * Updates selector if necessary. - * - * @param {string} selector Selector to modify. - * - * @return {string} Updated selector. - */ - const updateSelector = selector => { - if (ignore.includes(selector.trim())) { - return selector; - } // Anything other than a root tag is always prefixed. +const wrap = function (namespace) { + let ignore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + return node => { + /** + * Updates selector if necessary. + * + * @param {string} selector Selector to modify. + * + * @return {string} Updated selector. + */ + const updateSelector = selector => { + if (ignore.includes(selector.trim())) { + return selector; + } // Anything other than a root tag is always prefixed. - { - if (!selector.match(IS_ROOT_TAG)) { - return namespace + ' ' + selector; - } - } // HTML and Body elements cannot be contained within our container so lets extract their styles. + { + if (!selector.match(IS_ROOT_TAG)) { + return namespace + ' ' + selector; + } + } // HTML and Body elements cannot be contained within our container so lets extract their styles. - return selector.replace(/^(body|html|:root)/, namespace); - }; - - if (node.type === 'rule') { - return { ...node, - selectors: node.selectors.map(updateSelector) + return selector.replace(/^(body|html|:root)/, namespace); }; - } - return node; + if (node.type === 'rule') { + return { ...node, + selectors: node.selectors.map(updateSelector) + }; + } + + return node; + }; }; /* harmony default export */ var transforms_wrap = (wrap); @@ -46178,12 +46929,14 @@ const wrap = (namespace, ignore = []) => node => { * @return {Array} converted rules. */ -const transformStyles = (styles, wrapperClassName = '') => { - return Object(external_lodash_["map"])(styles, ({ - css, - baseURL, - __experimentalNoWrapper = false - }) => { +const transformStyles = function (styles) { + let wrapperClassName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + return Object(external_lodash_["map"])(styles, _ref => { + let { + css, + baseURL, + __experimentalNoWrapper = false + } = _ref; const transforms = []; if (wrapperClassName && !__experimentalNoWrapper) { @@ -46344,13 +47097,14 @@ const POPOVER_PROPS = { isAlternate: true }; -function BlockAlignmentUI({ - value, - onChange, - controls, - isToolbar, - isCollapsed = true -}) { +function BlockAlignmentUI(_ref) { + let { + value, + onChange, + controls, + isToolbar, + isCollapsed = true + } = _ref; const enabledControls = Object(use_available_alignments["a" /* default */])(controls); const hasEnabledControls = !!enabledControls.length; @@ -46375,9 +47129,10 @@ function BlockAlignmentUI({ }; const extraProps = isToolbar || external_wp_element_["Platform"].isNative ? { isCollapsed: isToolbar ? isCollapsed : undefined, - controls: enabledControls.map(({ - name: controlName - }) => { + controls: enabledControls.map(_ref2 => { + let { + name: controlName + } = _ref2; return { ...BLOCK_ALIGNMENTS_CONTROLS[controlName], isActive: value === controlName || !value && controlName === 'none', role: isCollapsed ? 'menuitemradio' : undefined, @@ -46385,15 +47140,17 @@ function BlockAlignmentUI({ }; }) } : { - children: ({ - onClose - }) => { + children: _ref3 => { + let { + onClose + } = _ref3; return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { className: "block-editor-block-alignment-control__menu-group" - }, enabledControls.map(({ - name: controlName, - info - }) => { + }, enabledControls.map(_ref4 => { + let { + name: controlName, + info + } = _ref4; const { icon, title @@ -46485,10 +47242,11 @@ const LayoutProvider = Layout.Provider; function useLayout() { return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(Layout); } -function LayoutStyle({ - layout = {}, - ...props -}) { +function LayoutStyle(_ref) { + let { + layout = {}, + ...props + } = _ref; const layoutType = Object(_layouts__WEBPACK_IMPORTED_MODULE_2__[/* getLayoutType */ "a"])(layout.type); if (layoutType) { @@ -46678,10 +47436,11 @@ function isLineHeightDefined(lineHeight) { */ -function LineHeightControl({ - value: lineHeight, - onChange -}) { +function LineHeightControl(_ref) { + let { + value: lineHeight, + onChange + } = _ref; const isDefined = isLineHeightDefined(lineHeight); const handleOnKeyDown = event => { @@ -46774,9 +47533,10 @@ function LineHeightControl({ -function InserterListbox({ - children -}) { +function InserterListbox(_ref) { + let { + children + } = _ref; const compositeState = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["__unstableUseCompositeState"])({ shift: true, wrap: 'horizontal' @@ -46876,11 +47636,12 @@ const stack = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElem * @return {WPElement} Letter-spacing control. */ -function LetterSpacingControl({ - value, - onChange, - __unstableInputWidth = '60px' -}) { +function LetterSpacingControl(_ref) { + let { + value, + onChange, + __unstableInputWidth = '60px' + } = _ref; const units = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["__experimentalUseCustomUnits"])({ availableUnits: Object(_components_use_setting__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])('spacing.units') || ['px', 'em', 'rem'], defaultValues: { @@ -47008,11 +47769,12 @@ var use_block_display_information = __webpack_require__("wC17"); * @return {WPComponent} The component to be rendered. */ -function BlockSelectionButton({ - clientId, - rootClientId, - blockElement -}) { +function BlockSelectionButton(_ref) { + let { + clientId, + rootClientId, + blockElement + } = _ref; const blockInformation = Object(use_block_display_information["a" /* default */])(clientId); const selected = Object(external_wp_data_["useSelect"])(select => { var _getBlockListSettings; @@ -47268,15 +48030,16 @@ function selector(select) { }; } -function BlockPopover({ - clientId, - rootClientId, - isValid, - isEmptyDefaultBlock, - capturingClientId, - __unstablePopoverSlot, - __unstableContentRef -}) { +function BlockPopover(_ref) { + let { + clientId, + rootClientId, + isValid, + isEmptyDefaultBlock, + capturingClientId, + __unstablePopoverSlot, + __unstableContentRef + } = _ref; const { isNavigationMode, isMultiSelecting, @@ -47488,10 +48251,11 @@ function wrapperSelector(select) { }; } -function WrappedBlockPopover({ - __unstablePopoverSlot, - __unstableContentRef -}) { +function WrappedBlockPopover(_ref2) { + let { + __unstablePopoverSlot, + __unstableContentRef + } = _ref2; const selected = Object(external_wp_data_["useSelect"])(wrapperSelector, []); if (!selected) { @@ -47626,11 +48390,12 @@ var block_preview = __webpack_require__("REKd"); -function InserterPreviewPanel({ - item -}) { +function InserterPreviewPanel(_ref) { var _hoveredItemBlockType, _hoveredItemBlockType2; + let { + item + } = _ref; const { name, title, @@ -47718,12 +48483,13 @@ const MAX_SUGGESTED_ITEMS = 6; */ const EMPTY_ARRAY = []; -function BlockTypesTab({ - rootClientId, - onInsert, - onHover, - showMostUsedBlocks -}) { +function BlockTypesTab(_ref) { + let { + rootClientId, + onInsert, + onHover, + showMostUsedBlocks + } = _ref; const [items, categories, collections, onSelectItem] = Object(use_block_types_state["a" /* default */])(rootClientId, onInsert); const suggestedItems = Object(external_wp_element_["useMemo"])(() => { return Object(external_lodash_["orderBy"])(items, ['frecency'], ['desc']).slice(0, MAX_SUGGESTED_ITEMS); @@ -47795,7 +48561,8 @@ function BlockTypesTab({ onSelect: onSelectItem, onHover: onHover, label: Object(external_wp_i18n_["__"])('Uncategorized') - })), Object(external_lodash_["map"])(currentlyRenderedCollections, ([namespace, collection]) => { + })), Object(external_lodash_["map"])(currentlyRenderedCollections, _ref2 => { + let [namespace, collection] = _ref2; const collectionItems = itemsPerCollection[namespace]; if (!collectionItems || !collectionItems.length) { @@ -47835,12 +48602,13 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -function PatternInserterPanel({ - selectedCategory, - patternCategories, - onClickCategory, - openPatternExplorer -}) { +function PatternInserterPanel(_ref) { + let { + selectedCategory, + patternCategories, + onClickCategory, + openPatternExplorer + } = _ref; const isMobile = Object(external_wp_compose_["useViewportMatch"])('medium', '<'); const categoryOptions = () => { @@ -47909,18 +48677,20 @@ var block_patterns_list = __webpack_require__("Fmc1"); -function PatternCategoriesList({ - selectedCategory, - patternCategories, - onClickCategory -}) { +function PatternCategoriesList(_ref) { + let { + selectedCategory, + patternCategories, + onClickCategory + } = _ref; const baseClassName = 'block-editor-block-patterns-explorer__sidebar'; return Object(external_wp_element_["createElement"])("div", { className: `${baseClassName}__categories-list` - }, patternCategories.map(({ - name, - label - }) => { + }, patternCategories.map(_ref2 => { + let { + name, + label + } = _ref2; return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { key: name, label: label, @@ -47933,10 +48703,11 @@ function PatternCategoriesList({ })); } -function PatternsExplorerSearch({ - filterValue, - setFilterValue -}) { +function PatternsExplorerSearch(_ref3) { + let { + filterValue, + setFilterValue + } = _ref3; const baseClassName = 'block-editor-block-patterns-explorer__search'; return Object(external_wp_element_["createElement"])("div", { className: baseClassName @@ -47948,13 +48719,14 @@ function PatternsExplorerSearch({ })); } -function PatternExplorerSidebar({ - selectedCategory, - patternCategories, - onClickCategory, - filterValue, - setFilterValue -}) { +function PatternExplorerSidebar(_ref4) { + let { + selectedCategory, + patternCategories, + onClickCategory, + filterValue, + setFilterValue + } = _ref4; const baseClassName = 'block-editor-block-patterns-explorer__sidebar'; return Object(external_wp_element_["createElement"])("div", { className: baseClassName @@ -48005,10 +48777,12 @@ var search_items = __webpack_require__("pOGT"); const INITIAL_INSERTER_RESULTS = 2; -function PatternsListHeader({ - filterValue, - filteredBlockPatternsLength -}) { +function PatternsListHeader(_ref) { + let { + filterValue, + filteredBlockPatternsLength + } = _ref; + if (!filterValue) { return null; } @@ -48022,11 +48796,12 @@ function PatternsListHeader({ Object(external_wp_i18n_["_n"])('%1$d pattern found for "%2$s"', '%1$d patterns found for "%2$s"', filteredBlockPatternsLength), filteredBlockPatternsLength, filterValue)); } -function PatternList({ - filterValue, - selectedCategory, - patternCategories -}) { +function PatternList(_ref2) { + let { + filterValue, + selectedCategory, + patternCategories + } = _ref2; const debouncedSpeak = Object(external_wp_compose_["useDebounce"])(external_wp_a11y_["speak"], 500); const [destinationRootClientId, onInsertBlocks] = Object(use_insertion_point["a" /* default */])({ shouldFocusBlock: true @@ -48091,10 +48866,11 @@ function PatternList({ -function PatternsExplorer({ - initialCategory, - patternCategories -}) { +function PatternsExplorer(_ref) { + let { + initialCategory, + patternCategories + } = _ref; const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])(''); const [selectedCategory, setSelectedCategory] = Object(external_wp_element_["useState"])(initialCategory === null || initialCategory === void 0 ? void 0 : initialCategory.name); return Object(external_wp_element_["createElement"])("div", { @@ -48112,10 +48888,11 @@ function PatternsExplorer({ })); } -function PatternsExplorerModal({ - onModalClose, - ...restProps -}) { +function PatternsExplorerModal(_ref2) { + let { + onModalClose, + ...restProps + } = _ref2; return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], { title: Object(external_wp_i18n_["__"])('Patterns'), closeLabel: Object(external_wp_i18n_["__"])('Close'), @@ -48144,12 +48921,13 @@ function PatternsExplorerModal({ -function BlockPatternsCategory({ - rootClientId, - onInsert, - selectedCategory, - populatedCategories -}) { +function BlockPatternsCategory(_ref) { + let { + rootClientId, + onInsert, + selectedCategory, + populatedCategories + } = _ref; const [allPatterns,, onClick] = Object(use_patterns_state["a" /* default */])(onInsert, rootClientId); const getPatternIndex = Object(external_wp_element_["useCallback"])(pattern => { var _pattern$categories; @@ -48158,9 +48936,10 @@ function BlockPatternsCategory({ return Infinity; } - const indexedCategories = populatedCategories.reduce((accumulator, { - name - }, index) => { + const indexedCategories = populatedCategories.reduce((accumulator, _ref2, index) => { + let { + name + } = _ref2; accumulator[name] = index; return accumulator; }, {}); @@ -48195,12 +48974,13 @@ function BlockPatternsCategory({ })); } -function BlockPatternsTabs({ - rootClientId, - onInsert, - onClickCategory, - selectedCategory -}) { +function BlockPatternsTabs(_ref3) { + let { + rootClientId, + onInsert, + onClickCategory, + selectedCategory + } = _ref3; const [showPatternsExplorer, setShowPatternsExplorer] = Object(external_wp_element_["useState"])(false); const [allPatterns, allCategories] = Object(use_patterns_state["a" /* default */])(); const hasRegisteredCategory = Object(external_wp_element_["useCallback"])(pattern => { @@ -48216,11 +48996,14 @@ function BlockPatternsTabs({ var _pattern$categories3; return (_pattern$categories3 = pattern.categories) === null || _pattern$categories3 === void 0 ? void 0 : _pattern$categories3.includes(category.name); - })).sort(({ - name: currentName - }, { - name: nextName - }) => { + })).sort((_ref4, _ref5) => { + let { + name: currentName + } = _ref4; + let { + name: nextName + } = _ref5; + if (![currentName, nextName].includes('featured')) { return 0; } @@ -48278,16 +49061,20 @@ var external_wp_url_ = __webpack_require__("Mmq9"); -function ReusableBlocksList({ - onHover, - onInsert, - rootClientId -}) { +function ReusableBlocksList(_ref) { + let { + onHover, + onInsert, + rootClientId + } = _ref; const [items,,, onSelectItem] = Object(use_block_types_state["a" /* default */])(rootClientId, onInsert); const filteredItems = Object(external_wp_element_["useMemo"])(() => { - return items.filter(({ - category - }) => category === 'reusable'); + return items.filter(_ref2 => { + let { + category + } = _ref2; + return category === 'reusable'; + }); }, [items]); if (filteredItems.length === 0) { @@ -48316,11 +49103,12 @@ function ReusableBlocksList({ */ -function ReusableBlocksTab({ - rootClientId, - onInsert, - onHover -}) { +function ReusableBlocksTab(_ref3) { + let { + rootClientId, + onInsert, + onHover + } = _ref3; return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ReusableBlocksList, { onHover: onHover, onInsert: onInsert, @@ -48367,12 +49155,13 @@ const tabs_reusableBlocksTab = { title: Object(external_wp_i18n_["__"])('Reusable') }; -function InserterTabs({ - children, - showPatterns = false, - showReusableBlocks = false, - onSelect -}) { +function InserterTabs(_ref) { + let { + children, + showPatterns = false, + showReusableBlocks = false, + onSelect + } = _ref; const tabs = Object(external_wp_element_["useMemo"])(() => { const tempTabs = [tabs_blocksTab]; @@ -48422,17 +49211,18 @@ var store = __webpack_require__("BhPs"); -function InserterMenu({ - rootClientId, - clientId, - isAppender, - __experimentalInsertionIndex, - onSelect, - showInserterHelpPanel, - showMostUsedBlocks, - __experimentalFilterValue = '', - shouldFocusBlock = true -}) { +function InserterMenu(_ref) { + let { + rootClientId, + clientId, + isAppender, + __experimentalInsertionIndex, + onSelect, + showInserterHelpPanel, + showMostUsedBlocks, + __experimentalFilterValue = '', + shouldFocusBlock = true + } = _ref; const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])(__experimentalFilterValue); const [hoveredItem, setHoveredItem] = Object(external_wp_element_["useState"])(null); const [selectedPatternCategory, setSelectedPatternCategory] = Object(external_wp_element_["useState"])(null); @@ -48646,18 +49436,21 @@ const gradientIndicatorAriaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODU const colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients']; -const Indicators = ({ - colors, - gradients, - settings -}) => { - return settings.map(({ - colorValue, - gradientValue, - label, - colors: availableColors, - gradients: availableGradients - }, index) => { +const Indicators = _ref => { + let { + colors, + gradients, + settings + } = _ref; + return settings.map((_ref2, index) => { + let { + colorValue, + gradientValue, + label, + colors: availableColors, + gradients: availableGradients + } = _ref2; + if (!colorValue && !gradientValue) { return null; } @@ -48681,19 +49474,21 @@ const Indicators = ({ }); }; -const PanelColorGradientSettingsInner = ({ - className, - colors, - gradients, - disableCustomColors, - disableCustomGradients, - children, - settings, - title, - showTitle = true, - __experimentalHasMultipleOrigins, - ...props -}) => { +const PanelColorGradientSettingsInner = _ref3 => { + let { + className, + colors, + gradients, + disableCustomColors, + disableCustomGradients, + children, + settings, + title, + showTitle = true, + __experimentalHasMultipleOrigins, + ...props + } = _ref3; + if (Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(colors) && Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(gradients) && disableCustomColors && disableCustomGradients && Object(lodash__WEBPACK_IMPORTED_MODULE_3__["every"])(settings, setting => Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(setting.colors) && Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(setting.gradients) && (setting.disableCustomColors === undefined || setting.disableCustomColors) && (setting.disableCustomGradients === undefined || setting.disableCustomGradients))) { return null; } diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 804ddff963..af8bbd05c4 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,15 +1,15 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="tr0p")}({"+0ps":function(e,t,n){"use strict";n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return p}));var o=n("GRId"),r=n("HSyU"),c=n("1CF3"),i=n("1ZqX"),l=n("l3Sj"),a=n("onLe"),s=n("K9lf"),u=n("xTGt");var d=n("BhPs");function b(){const{getBlockName:e}=Object(i.useSelect)(d.a),{getBlockType:t}=Object(i.useSelect)(r.store),{createSuccessNotice:n}=Object(i.useDispatch)(a.store);return Object(o.useCallback)((o,r)=>{let c="";if(1===r.length){var i;const n=r[0],a=null===(i=t(e(n)))||void 0===i?void 0:i.title;c="copy"===o?Object(l.sprintf)(Object(l.__)('Copied "%s" to clipboard.'),a):Object(l.sprintf)(Object(l.__)('Moved "%s" to clipboard.'),a)}else c="copy"===o?Object(l.sprintf)(Object(l._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",r.length),r.length):Object(l.sprintf)(Object(l._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",r.length),r.length);n(c,{type:"snackbar"})},[])}function p(){const{getBlocksByClientId:e,getSelectedBlockClientIds:t,hasMultiSelection:n,getSettings:o}=Object(i.useSelect)(d.a),{flashBlock:l,removeBlocks:a,replaceBlocks:p}=Object(i.useDispatch)(d.a),m=b();return Object(s.useRefEffect)(i=>{function s(s){const d=t();if(0===d.length)return;if(!n()){const{target:e}=s,{ownerDocument:t}=e;if("copy"===s.type||"cut"===s.type?Object(c.documentHasUncollapsedSelection)(t):Object(c.documentHasSelection)(t))return}if(!i.contains(s.target.ownerDocument.activeElement))return;const b=s.defaultPrevented;if(s.preventDefault(),"copy"===s.type||"cut"===s.type){1===d.length&&l(d[0]),m(s.type,d);const t=e(d),n=Object(r.serialize)(t);s.clipboardData.setData("text/plain",n),s.clipboardData.setData("text/html",n)}if("cut"===s.type)a(d);else if("paste"===s.type){if(b)return;const{__experimentalCanUserUseUnfilteredHTML:e}=o(),{plainText:t,html:n}=function({clipboardData:e}){let t="",n="";try{t=e.getData("text/plain"),n=e.getData("text/html")}catch(t){try{n=e.getData("Text")}catch(e){return}}const o=Object(c.getFilesFromDataTransfer)(e).filter(({type:e})=>/^image\/(?:jpe?g|png|gif)$/.test(e));return o.length&&!n&&(n=o.map(e=>``).join(""),t=""),{html:n,plainText:t}}(s),i=Object(r.pasteHandler)({HTML:n,plainText:t,mode:"BLOCKS",canUserUseUnfilteredHTML:e});p(d,i,i.length-1,-1)}}return i.ownerDocument.addEventListener("copy",s),i.ownerDocument.addEventListener("cut",s),i.ownerDocument.addEventListener("paste",s),()=>{i.ownerDocument.removeEventListener("copy",s),i.ownerDocument.removeEventListener("cut",s),i.ownerDocument.removeEventListener("paste",s)}},[])}t.a=function({children:e}){return Object(o.createElement)("div",{ref:p()},e)}},"+6d5":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("TSYQ"),r=n.n(o),c=n("1ZqX"),i=n("BhPs");function l(e){return Object(c.useSelect)(t=>{const{hasBlockMovingClientId:n,canInsertBlockType:o,getBlockName:c,getBlockRootClientId:l,isBlockSelected:a}=t(i.a);if(!a(e))return;const s=n();return s?r()("is-block-moving-mode",{"can-insert-moving-block":o(c(s),l(e))}):void 0},[e])}},"+DUQ":function(e,t,n){"use strict";n.d(t,"animated",(function(){return y}));var o=n("kmrn");n.o(o,"useSpring")&&n.d(t,"useSpring",(function(){return o.useSpring}));var r=n("faye"),c=n("nEW0"),i=n("dfZa");function l(e,t){if(null==e)return{};var n,o,r={},c=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}const a=["style","children","scrollTop","scrollLeft"],s=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||s.test(e)||b.hasOwnProperty(e)&&b[e]?(""+t).trim():t+"px"}const d={};let b={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const p=["Webkit","Ms","Moz","O"];b=Object.keys(b).reduce((e,t)=>(p.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),b);const m=["x","y","z"],f=/^(matrix|translate|scale|rotate|skew)/,h=/^(translate)/,g=/^(rotate|skew)/,O=(e,t)=>c.s.num(e)&&0!==e?e+t:e,v=(e,t)=>c.s.arr(e)?e.every(e=>v(e,t)):c.s.num(e)?e===t:parseFloat(e)===t;class j extends i.a{constructor(e){let{x:t,y:n,z:o}=e,r=l(e,m);const i=[],a=[];(t||n||o)&&(i.push([t||0,n||0,o||0]),a.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,v(e,0)])),Object(c.l)(r,(e,t)=>{if("transform"===t)i.push([e||""]),a.push(e=>[e,""===e]);else if(f.test(t)){if(delete r[t],c.s.und(e))return;const n=h.test(t)?"px":g.test(t)?"deg":"";i.push(Object(c.y)(e)),a.push("rotate3d"===t?([e,t,o,r])=>[`rotate3d(${e},${t},${o},${O(r,n)})`,v(r,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,v(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new k(i,a)),super(r)}}class k extends c.a{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Object(c.k)(this.inputs,(n,o)=>{const r=Object(c.q)(n[0]),[i,l]=this.transforms[o](c.s.arr(r)?r:n.map(c.q));e+=" "+i,t=t&&l}),t?"none":e}observerAdded(e){1==e&&Object(c.k)(this.inputs,e=>Object(c.k)(e,e=>Object(c.r)(e)&&Object(c.c)(e,this)))}observerRemoved(e){0==e&&Object(c.k)(this.inputs,e=>Object(c.k)(e,e=>Object(c.r)(e)&&Object(c.x)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Object(c.d)(this,e)}}const _=["scrollTop","scrollLeft"];o.Globals.assign({batchedUpdates:r.unstable_batchedUpdates,createStringInterpolator:c.g,colors:c.e});const y=Object(i.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,o=t,{style:r,children:c,scrollTop:i,scrollLeft:b}=o,p=l(o,a),m=Object.values(p),f=Object.keys(p).map(t=>n||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==c&&(e.textContent=c);for(let t in r)if(r.hasOwnProperty(t)){const n=u(t,r[t]);s.test(t)?e.style.setProperty(t,n):e.style[t]=n}f.forEach((t,n)=>{e.setAttribute(t,m[n])}),void 0!==i&&(e.scrollTop=i),void 0!==b&&(e.scrollLeft=b)},createAnimatedStyle:e=>new j(e),getComponentProps:e=>l(e,_)}).animated},"+G0a":function(e,t,n){"use strict";var o=n("HSyU"),r=n("1ZqX"),c=n("GRId"),i=n("BhPs");t.a=(e,t)=>{const{categories:n,collections:l,items:a}=Object(r.useSelect)(t=>{const{getInserterItems:n}=t(i.a),{getCategories:r,getCollections:c}=t(o.store);return{categories:r(),collections:c(),items:n(e)}},[e]);return[a,n,l,Object(c.useCallback)(({name:e,initialAttributes:n,innerBlocks:r},c)=>{const i=Object(o.createBlock)(e,n,Object(o.createBlocksFromInnerBlocksTemplate)(r));t(i,void 0,c)},[t])]}},"+WrK":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"}));t.a=c},"+gtr":function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("1ZqX"),a=n("K9lf"),s=n("HSyU"),u=n("tI+e"),d=n("JygI"),b=n("l3Sj"),p=n("wC17"),m=n("7SSY"),f=n("YLtl");const{clearTimeout:h,setTimeout:g}=window;function O({ref:e,isFocused:t,debounceTimeout:n=200,onChange:o=f.noop}){const[c,i]=Object(r.useState)(!1),l=Object(r.useRef)(),a=t=>{null!=e&&e.current&&i(t),o(t)},s=()=>{const n=(null==e?void 0:e.current)&&e.current.matches(":hover");return!t&&!n},u=()=>{const e=l.current;e&&h&&h(e)};return Object(r.useEffect)(()=>()=>u(),[]),{showMovers:c,debouncedShowMovers:e=>{e&&e.stopPropagation(),u(),c||a(!0)},debouncedHideMovers:e=>{e&&e.stopPropagation(),u(),l.current=g(()=>{s()&&a(!1)},n)}}}function v({ref:e,debounceTimeout:t=200,onChange:n=f.noop}){const[o,c]=Object(r.useState)(!1),{showMovers:i,debouncedShowMovers:l,debouncedHideMovers:a}=O({ref:e,debounceTimeout:t,isFocused:o,onChange:n}),s=Object(r.useRef)(!1),u=()=>(null==e?void 0:e.current)&&e.current.contains(e.current.ownerDocument.activeElement);return Object(r.useEffect)(()=>{const t=e.current,n=()=>{u()&&(c(!0),l())},o=()=>{u()||(c(!1),a())};return t&&!s.current&&(t.addEventListener("focus",n,!0),t.addEventListener("blur",o,!0),s.current=!0),()=>{t&&(t.removeEventListener("focus",n),t.removeEventListener("blur",o))}},[e,s,c,l,a]),{showMovers:i,gestures:{onMouseMove:l,onMouseLeave:a}}}var j=n("BhPs");function k(){const{selectBlock:e,toggleBlockHighlight:t}=Object(l.useDispatch)(j.a),{firstParentClientId:n,shouldHide:c,hasReducedUI:i}=Object(l.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientId:o,getSettings:r}=e(j.a),{hasBlockSupport:c}=e(s.store),i=n(o()),l=i[i.length-1],a=t(l),u=Object(s.getBlockType)(a),d=r();return{firstParentClientId:l,shouldHide:!c(u,"__experimentalParentSelector",!0),hasReducedUI:d.hasReducedUI}},[]),a=Object(p.a)(n),d=Object(r.useRef)(),{gestures:f}=v({ref:d,onChange(e){e&&i||t(n,e)}});return c||void 0===n?null:Object(r.createElement)("div",Object(o.a)({className:"block-editor-block-parent-selector",key:n,ref:d},f),Object(r.createElement)(u.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:()=>e(n),label:Object(b.sprintf)(Object(b.__)("Select %s"),a.title),showTooltip:!0,icon:Object(r.createElement)(m.a,{icon:a.icon})}))}var _=n("wzfx"),y=n("f8JO"),E=n("REKd");function C({blocks:e}){return Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(r.createElement)(u.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right",focusOnMount:!1},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(b.__)("Preview")),Object(r.createElement)(E.a,{viewportWidth:500,blocks:e})))))}var S=({className:e,possibleBlockTransformations:t,onSelect:n,blocks:o})=>{const[c,i]=Object(r.useState)();return Object(r.createElement)(u.MenuGroup,{label:Object(b.__)("Transform to"),className:e},c&&Object(r.createElement)(C,{blocks:Object(s.switchToBlockType)(o,c)}),t.map(e=>{const{name:t,icon:o,title:c,isDisabled:l}=e;return Object(r.createElement)(u.MenuItem,{key:t,className:Object(s.getBlockMenuDefaultClassName)(t),onClick:e=>{e.preventDefault(),n(t)},disabled:l,onMouseLeave:()=>i(null),onMouseEnter:()=>i(t)},Object(r.createElement)(m.a,{icon:o,showColors:!0}),c)}))},w=n("7NR9");function B({hoveredBlock:e,onSwitch:t}){const{name:n,clientId:o}=e,[c,i]=Object(r.useState)(),a=Object(l.useSelect)(e=>e(s.store).getBlockType(n),[n]);return Object(r.createElement)(u.MenuGroup,{label:Object(b.__)("Styles"),className:"block-editor-block-switcher__styles__menugroup"},c&&Object(r.createElement)(C,{blocks:a&&a.example?Object(s.getBlockFromExample)(a.name,{attributes:{...a.example.attributes,className:c},innerBlocks:a.example.innerBlocks}):Object(s.cloneBlock)(e,{className:c})}),Object(r.createElement)(w.a,{clientId:o,onSwitch:t,onHoverClassName:i,itemRole:"menuitem"}))}var I=n("1iEr");const x=(e,t,n=new Set)=>{const{clientId:o,name:r,innerBlocks:c=[]}=e;if(!n.has(o)){if(r===t)return e;for(const e of c){const o=x(e,t,n);if(o)return o}}},T=(e,t)=>{const n=((e,t)=>{const n=Object(s.__experimentalGetBlockAttributesNamesByRole)(e,"content");return null!=n&&n.length?n.reduce((e,n)=>(t[n]&&(e[n]=t[n]),e),{}):t})(t.name,t.attributes);e.attributes={...e.attributes,...n}};var P=(e,t)=>Object(r.useMemo)(()=>e.reduce((e,n)=>{const o=((e,t)=>{const n=t.map(e=>Object(s.cloneBlock)(e)),o=new Set;for(const t of e){let e=!1;for(const r of n){const n=x(r,t.name,o);if(n){e=!0,o.add(n.clientId),T(n,t);break}}if(!e)return}return n})(t,n.blocks);return o&&e.push({...n,transformedBlocks:o}),e},[]),[e,t]);function R({patterns:e,onSelect:t}){return Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(r.createElement)(u.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right"},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(b.__)("Preview")),Object(r.createElement)(N,{patterns:e,onSelect:t})))))}function N({patterns:e,onSelect:t}){const n=Object(u.__unstableUseCompositeState)();return Object(r.createElement)(u.__unstableComposite,Object(o.a)({},n,{role:"listbox",className:"block-editor-block-switcher__preview-patterns-container","aria-label":Object(b.__)("Patterns list")}),e.map(e=>Object(r.createElement)(L,{key:e.name,pattern:e,onSelect:t,composite:n})))}function L({pattern:e,onSelect:t,composite:n}){const c="block-editor-block-switcher__preview-patterns-container",i=Object(a.useInstanceId)(L,c+"-list__item-description");return Object(r.createElement)("div",{className:c+"-list__list-item","aria-label":e.title,"aria-describedby":e.description?i:void 0},Object(r.createElement)(u.__unstableCompositeItem,Object(o.a)({role:"option",as:"div"},n,{className:c+"-list__item",onClick:()=>t(e.transformedBlocks)}),Object(r.createElement)(E.a,{blocks:e.transformedBlocks,viewportWidth:e.viewportWidth||500}),Object(r.createElement)("div",{className:c+"-list__item-title"},e.title)),!!e.description&&Object(r.createElement)(u.VisuallyHidden,{id:i},e.description))}var M=function({blocks:e,patterns:t,onSelect:n}){const[o,c]=Object(r.useState)(!1),i=P(t,e);return i.length?Object(r.createElement)(u.MenuGroup,{className:"block-editor-block-switcher__pattern__transforms__menugroup"},o&&Object(r.createElement)(R,{patterns:i,onSelect:n}),Object(r.createElement)(u.MenuItem,{onClick:e=>{e.preventDefault(),c(!o)},icon:I.a},Object(b.__)("Patterns"))):null};const A=({clientIds:e,blocks:t})=>{const{replaceBlocks:n}=Object(l.useDispatch)(j.a),o=Object(p.a)(t[0].clientId),{possibleBlockTransformations:c,canRemove:i,hasBlockStyles:a,icon:d,blockTitle:h,patterns:g}=Object(l.useSelect)(n=>{var r;const{getBlockRootClientId:c,getBlockTransformItems:i,__experimentalGetPatternTransformItems:l}=n(j.a),{getBlockStyles:a,getBlockType:u}=n(s.store),{canRemoveBlocks:d}=n(j.a),b=c(Object(f.castArray)(e)[0]),[{name:p}]=t,m=1===t.length,h=m&&a(p);let g;if(m)g=null==o?void 0:o.icon;else{var O;g=1===Object(f.uniq)(t.map(({name:e})=>e)).length?null===(O=u(p))||void 0===O?void 0:O.icon:_.a}return{possibleBlockTransformations:i(t,b),canRemove:d(e,b),hasBlockStyles:!(null==h||!h.length),icon:g,blockTitle:null===(r=u(p))||void 0===r?void 0:r.title,patterns:l(t,b)}},[e,t,null==o?void 0:o.icon]),O=1===t.length&&Object(s.isReusableBlock)(t[0]),v=1===t.length&&Object(s.isTemplatePart)(t[0]),k=!!c.length&&i,E=!(null==g||!g.length)&&i;if(!a&&!k)return Object(r.createElement)(u.ToolbarGroup,null,Object(r.createElement)(u.ToolbarButton,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",title:h,icon:Object(r.createElement)(m.a,{icon:d,showColors:!0})}));const C=h,w=1===t.length?Object(b.sprintf)(Object(b.__)("%s: Change block type or style"),h):Object(b.sprintf)(Object(b._n)("Change type of %d block","Change type of %d blocks",t.length),t.length),I=a||k||E;return Object(r.createElement)(u.ToolbarGroup,null,Object(r.createElement)(u.ToolbarItem,null,o=>Object(r.createElement)(u.DropdownMenu,{className:"block-editor-block-switcher",label:C,popoverProps:{position:"bottom right",isAlternate:!0,className:"block-editor-block-switcher__popover"},icon:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.a,{icon:d,className:"block-editor-block-switcher__toggle",showColors:!0}),(O||v)&&Object(r.createElement)("span",{className:"block-editor-block-switcher__toggle-text"},Object(r.createElement)(y.a,{clientId:e}))),toggleProps:{describedBy:w,...o},menuProps:{orientation:"both"}},({onClose:o})=>I&&Object(r.createElement)("div",{className:"block-editor-block-switcher__container"},E&&Object(r.createElement)(M,{blocks:t,patterns:g,onSelect:t=>{(t=>{n(e,t)})(t),o()}}),k&&Object(r.createElement)(S,{className:"block-editor-block-switcher__transforms__menugroup",possibleBlockTransformations:c,blocks:t,onSelect:r=>{(o=>{n(e,Object(s.switchToBlockType)(t,o))})(r),o()}}),a&&Object(r.createElement)(B,{hoveredBlock:t[0],onSwitch:o})))))};var D=({clientIds:e})=>{const t=Object(l.useSelect)(t=>t(j.a).getBlocksByClientId(e),[e]);return!t.length||t.some(e=>!e)?null:Object(r.createElement)(A,{clientIds:e,blocks:t})},F=n("fOYa"),z=n("U1WI");function H({hideDragHandle:e}){const{blockClientIds:t,blockClientId:n,blockType:c,hasFixedToolbar:b,hasReducedUI:p,isValid:m,isVisual:f}=Object(l.useSelect)(e=>{const{getBlockName:t,getBlockMode:n,getSelectedBlockClientIds:o,isBlockValid:r,getBlockRootClientId:c,getSettings:i}=e(j.a),l=o(),a=l[0],u=c(a),d=i();return{blockClientIds:l,blockClientId:a,blockType:a&&Object(s.getBlockType)(t(a)),hasFixedToolbar:d.hasFixedToolbar,hasReducedUI:d.hasReducedUI,rootClientId:u,isValid:l.every(e=>r(e)),isVisual:l.every(e=>"visual"===n(e))}},[]),{toggleBlockHighlight:h}=Object(l.useDispatch)(j.a),g=Object(r.useRef)(),{showMovers:O,gestures:_}=v({ref:g,onChange(e){e&&p||h(n,e)}}),y=Object(a.useViewportMatch)("medium","<")||b;if(c&&!Object(s.hasBlockSupport)(c,"__experimentalToolbar",!0))return null;const E=y||O;if(0===t.length)return null;const C=m&&f,S=t.length>1,w=i()("block-editor-block-toolbar",E&&"is-showing-movers");return Object(r.createElement)("div",{className:w},!S&&!y&&Object(r.createElement)(k,{clientIds:t}),Object(r.createElement)("div",Object(o.a)({ref:g},_),(C||S)&&Object(r.createElement)(u.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},Object(r.createElement)(D,{clientIds:t}),Object(r.createElement)(d.a,{clientIds:t,hideDragHandle:e||p}))),C&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(F.b.Slot,{group:"parent",className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(F.b.Slot,{group:"block",className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(F.b.Slot,{className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(F.b.Slot,{group:"inline",className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(F.b.Slot,{group:"other",className:"block-editor-block-toolbar__slot"})),Object(r.createElement)(z.a,{clientIds:t}))}},"//Lo":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=c},"/Hvg":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),i=n("Tqx9");var l=Object(o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(i.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"}));var a=Object(o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(i.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"}));var s=Object(o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(i.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"}));const u=[{name:Object(c.__)("Uppercase"),value:"uppercase",icon:l},{name:Object(c.__)("Lowercase"),value:"lowercase",icon:a},{name:Object(c.__)("Capitalize"),value:"capitalize",icon:s}];function d({value:e,onChange:t}){return Object(o.createElement)("fieldset",{className:"block-editor-text-transform-control"},Object(o.createElement)("legend",null,Object(c.__)("Letter case")),Object(o.createElement)("div",{className:"block-editor-text-transform-control__buttons"},u.map(n=>Object(o.createElement)(r.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:e===n.value,"aria-label":n.name,onClick:()=>t(e===n.value?void 0:n.value)}))))}},"/QNa":function(e,t,n){"use strict";var o=n("GRId"),r=n("1ZqX"),c=n("wx14"),i=n("K9lf"),l=n("BhPs"),a=n("AHN3");var s=Object(i.createHigherOrderComponent)(e=>Object(r.withRegistry)(({useSubRegistry:t=!0,registry:n,...i})=>{if(!t)return Object(o.createElement)(e,Object(c.a)({registry:n},i));const[s,u]=Object(o.useState)(null);return Object(o.useEffect)(()=>{const e=Object(r.createRegistry)({},n);e.registerStore(a.a,l.b),u(e)},[n]),s?Object(o.createElement)(r.RegistryProvider,{value:s},Object(o.createElement)(e,Object(c.a)({registry:s},i))):null}),"withRegistryProvider"),u=n("JGYp"),d=n("cDhi");t.a=s((function(e){const{children:t,settings:n}=e,{updateSettings:c}=Object(r.useDispatch)(l.a);return Object(o.useEffect)(()=>{c(n)},[n]),Object(u.a)(e),Object(o.createElement)(d.b,null,t)}))},"/lNF":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("HSyU"),r=n("1ZqX"),c=n("1CF3"),i=n("BhPs");function l(e,t,n,r,c,i,l){return a=>{const{srcRootClientId:s,srcClientIds:u,type:d,blocks:b}=function(e){let t={srcRootClientId:null,srcClientIds:null,srcIndex:null,type:null,blocks:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("wp-blocks")))}catch(e){return t}return t}(a);if("inserter"===d){l();const n=b.map(e=>Object(o.cloneBlock)(e));i(n,t,e,!0,null)}if("block"===d){const o=n(u[0],s);if(s===e&&o===t)return;if(u.includes(e)||r(u).some(t=>t===e))return;const i=s===e,l=u.length;c(u,s,e,i&&oe(i.a).getSettings().mediaUpload,[]),{canInsertBlockType:a,getBlockIndex:s,getClientIdsOfDescendants:u}=Object(r.useSelect)(i.a),{insertBlocks:d,moveBlocksToPosition:b,updateBlockAttributes:p,clearSelectedBlock:m}=Object(r.useDispatch)(i.a),f=l(e,t,s,u,b,d,m),h=function(e,t,n,r,c,i){return l=>{if(!n)return;const a=Object(o.findTransform)(Object(o.getBlockTransforms)("from"),t=>"files"===t.type&&c(t.blockName,e)&&t.isMatch(l));if(a){const n=a.transform(l,r);i(n,t,e)}}}(e,t,n,p,a,d),g=function(e,t,n){return r=>{const c=Object(o.pasteHandler)({HTML:r,mode:"BLOCKS"});c.length&&n(c,t,e)}}(e,t,d);return e=>{const t=Object(c.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length?h(t):n?g(n):f(e)}}},"0E5u":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=n("kWXm"),l=n("DmX/"),a=n("suLj"),s=n("bTSr"),u=n("l3Sj");const d={left:i.a,center:l.a,right:a.a,"space-between":s.a};var b=function({allowedControls:e=["left","center","right","space-between"],isCollapsed:t=!0,onChange:n,value:b,popoverProps:p,isToolbar:m}){const f=e=>{n(e===b?void 0:e)},h=b?d[b]:d.left,g=[{name:"left",icon:i.a,title:Object(u.__)("Justify items left"),isActive:"left"===b,onClick:()=>f("left")},{name:"center",icon:l.a,title:Object(u.__)("Justify items center"),isActive:"center"===b,onClick:()=>f("center")},{name:"right",icon:a.a,title:Object(u.__)("Justify items right"),isActive:"right"===b,onClick:()=>f("right")},{name:"space-between",icon:s.a,title:Object(u.__)("Space between items"),isActive:"space-between"===b,onClick:()=>f("space-between")}],O=m?c.ToolbarGroup:c.ToolbarDropdownMenu,v=m?{isCollapsed:t}:{};return Object(r.createElement)(O,Object(o.a)({icon:h,popoverProps:p,label:Object(u.__)("Change items justification"),controls:g.filter(t=>e.includes(t.name))},v))};function p(e){return Object(r.createElement)(b,Object(o.a)({},e,{isToolbar:!1}))}function m(e){return Object(r.createElement)(b,Object(o.a)({},e,{isToolbar:!0}))}},"14PQ":function(e,t,n){"use strict";n.d(t,"gc",(function(){return o.b})),n.d(t,"hc",(function(){return o.c})),n.d(t,"ic",(function(){return o.d})),n.d(t,"fc",(function(){return o.a})),n.d(t,"uc",(function(){return o.e})),n.d(t,"xb",(function(){return r.a})),n.d(t,"nc",(function(){return r.e})),n.d(t,"yb",(function(){return r.b})),n.d(t,"mc",(function(){return r.d})),n.d(t,"Rb",(function(){return r.c})),n.d(t,"jc",(function(){return c.b})),n.d(t,"kc",(function(){return c.c})),n.d(t,"lc",(function(){return c.d})),n.d(t,"I",(function(){return c.a})),n.d(t,"vc",(function(){return c.e})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return T.a})),n.d(t,"e",(function(){return T.b})),n.d(t,"nb",(function(){return N})),n.d(t,"lb",(function(){return M})),n.d(t,"f",(function(){return z})),n.d(t,"mb",(function(){return G})),n.d(t,"h",(function(){return U.a})),n.d(t,"i",(function(){return W.b})),n.d(t,"m",(function(){return W.a})),n.d(t,"g",(function(){return Y})),n.d(t,"j",(function(){return X.a})),n.d(t,"pc",(function(){return k.c})),n.d(t,"n",(function(){return C.a})),n.d(t,"r",(function(){return Be})),n.d(t,"pb",(function(){return xe})),n.d(t,"ob",(function(){return We})),n.d(t,"qb",(function(){return $e})),n.d(t,"A",(function(){return nt})),n.d(t,"z",(function(){return tt})),n.d(t,"rb",(function(){return ot.a})),n.d(t,"sb",(function(){return rt.a})),n.d(t,"C",(function(){return ct.a})),n.d(t,"B",(function(){return ct.b})),n.d(t,"D",(function(){return at})),n.d(t,"E",(function(){return ut})),n.d(t,"F",(function(){return dt.a})),n.d(t,"ub",(function(){return bt.a})),n.d(t,"vb",(function(){return pt.a})),n.d(t,"wb",(function(){return mt.a})),n.d(t,"Eb",(function(){return ft.a})),n.d(t,"Ob",(function(){return ht.a})),n.d(t,"Pb",(function(){return gt.a})),n.d(t,"tb",(function(){return st.a})),n.d(t,"Lb",(function(){return Ot.a})),n.d(t,"Ab",(function(){return on})),n.d(t,"zb",(function(){return qt})),n.d(t,"Bb",(function(){return cn})),n.d(t,"J",(function(){return ln.a})),n.d(t,"rc",(function(){return ln.b})),n.d(t,"M",(function(){return an.b})),n.d(t,"L",(function(){return an.a})),n.d(t,"O",(function(){return sn.b})),n.d(t,"N",(function(){return sn.a})),n.d(t,"Gb",(function(){return Hn})),n.d(t,"Hb",(function(){return xn})),n.d(t,"Jb",(function(){return yn})),n.d(t,"Ib",(function(){return kn})),n.d(t,"P",(function(){return Vn.a})),n.d(t,"Kb",(function(){return Se})),n.d(t,"R",(function(){return $n})),n.d(t,"Q",(function(){return to})),n.d(t,"S",(function(){return qn})),n.d(t,"T",(function(){return Kn})),n.d(t,"X",(function(){return no})),n.d(t,"Y",(function(){return Ro})),n.d(t,"Nb",(function(){return Lo})),n.d(t,"ab",(function(){return xo})),n.d(t,"bb",(function(){return Mo})),n.d(t,"cb",(function(){return Ao})),n.d(t,"Yb",(function(){return Do})),n.d(t,"eb",(function(){return zo})),n.d(t,"Qb",(function(){return Ho})),n.d(t,"gb",(function(){return gn})),n.d(t,"hb",(function(){return Wo})),n.d(t,"ib",(function(){return Jn})),n.d(t,"Cb",(function(){return Yo})),n.d(t,"tc",(function(){return lt})),n.d(t,"Ub",(function(){return Xo.a})),n.d(t,"Xb",(function(){return Zo.a})),n.d(t,"Mb",(function(){return Qo})),n.d(t,"Tb",(function(){return Jo})),n.d(t,"o",(function(){return ur})),n.d(t,"p",(function(){return dr.c})),n.d(t,"qc",(function(){return br.a})),n.d(t,"Db",(function(){return pr.b})),n.d(t,"q",(function(){return mr.a})),n.d(t,"s",(function(){return Te.a})),n.d(t,"t",(function(){return fr.a})),n.d(t,"Zb",(function(){return fr.b})),n.d(t,"u",(function(){return hr.a})),n.d(t,"v",(function(){return gr.a})),n.d(t,"w",(function(){return F.a})),n.d(t,"x",(function(){return Or.a})),n.d(t,"y",(function(){return Er})),n.d(t,"G",(function(){return Cr.a})),n.d(t,"bc",(function(){return Cr.b})),n.d(t,"H",(function(){return Sr.a})),n.d(t,"Vb",(function(){return wr.a})),n.d(t,"K",(function(){return Br.a})),n.d(t,"Fb",(function(){return xr})),n.d(t,"k",(function(){return Pr})),n.d(t,"U",(function(){return Rr})),n.d(t,"V",(function(){return Nr.a})),n.d(t,"W",(function(){return Dr})),n.d(t,"ec",(function(){return Ar})),n.d(t,"cc",(function(){return Mr})),n.d(t,"Z",(function(){return Fr})),n.d(t,"db",(function(){return tr})),n.d(t,"fb",(function(){return Gr})),n.d(t,"dc",(function(){return Vr})),n.d(t,"jb",(function(){return Ur.a})),n.d(t,"kb",(function(){return Wr.a})),n.d(t,"ac",(function(){return Kr})),n.d(t,"oc",(function(){return ce.a})),n.d(t,"Wb",(function(){return $r.a})),n.d(t,"Sb",(function(){return Xr})),n.d(t,"l",(function(){return Zr.a})),n.d(t,"sc",(function(){return it.a}));var o=n("5gPN"),r=n("zmSX"),c=n("9XVa"),i=n("wx14"),l=n("GRId"),a=n("YLtl"),s=n("l3Sj"),u=n("tI+e"),d=n("fPbg"),b=n("plpT"),p=n("ziDm");const m=[{icon:d.a,title:Object(s.__)("Align text left"),align:"left"},{icon:b.a,title:Object(s.__)("Align text center"),align:"center"},{icon:p.a,title:Object(s.__)("Align text right"),align:"right"}],f={position:"bottom right",isAlternate:!0};var h=function({value:e,onChange:t,alignmentControls:n=m,label:o=Object(s.__)("Align"),describedBy:r=Object(s.__)("Change text alignment"),isCollapsed:c=!0,isToolbar:b}){function h(n){return()=>t(e===n?void 0:n)}const g=Object(a.find)(n,t=>t.align===e),O=b?u.ToolbarGroup:u.ToolbarDropdownMenu,v=b?{isCollapsed:c}:{};return Object(l.createElement)(O,Object(i.a)({icon:g?g.icon:Object(s.isRTL)()?p.a:d.a,label:o,toggleProps:{describedBy:r},popoverProps:f,controls:n.map(t=>{const{align:n}=t,o=e===n;return{...t,isActive:o,role:c?"menuitemradio":void 0,onClick:h(n)}})},v))};function g(e){return Object(l.createElement)(h,Object(i.a)({},e,{isToolbar:!1}))}function O(e){return Object(l.createElement)(h,Object(i.a)({},e,{isToolbar:!0}))}var v=n("g56x"),j=n("HSyU"),k=n("ur0x"),_=n("1ZqX"),y=n("pOGT"),E=n("+G0a"),C=n("7SSY"),S=n("BhPs");var w={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockName:n}=Object(_.useSelect)(e=>{const{getSelectedBlockClientId:t,getBlockName:n,getBlockInsertionPoint:o}=e(S.a),r=t();return{selectedBlockName:r?n(r):null,rootClientId:o().rootClientId}},[]),[o,r,c]=Object(E.a)(t,a.noop),i=Object(l.useMemo)(()=>(e.trim()?Object(y.a)(o,r,c,e):Object(a.orderBy)(o,["frecency"],["desc"])).filter(e=>e.name!==n).slice(0,9),[e,n,o,r,c]);return[Object(l.useMemo)(()=>i.map(e=>{const{title:t,icon:n,isDisabled:o}=e;return{key:"block-"+e.id,value:e,label:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.a,{key:"icon",icon:n,showColors:!0}),t),isDisabled:o}}),[i])]},allowContext:(e,t)=>!(/\S/.test(e)||/\S/.test(t)),getOptionCompletion(e){const{name:t,initialAttributes:n,innerBlocks:o}=e;return{action:"replace",value:Object(j.createBlock)(t,n,Object(j.createBlocksFromInnerBlocksTemplate)(o))}}};const B=[];function I({completers:e=B}){const{name:t}=Object(k.c)();return Object(l.useMemo)(()=>{let n=e;return(t===Object(j.getDefaultBlockName)()||Object(j.getBlockSupport)(t,"__experimentalSlashInserter",!1))&&(n=n.concat([w])),Object(v.hasFilter)("editor.Autocomplete.completers")&&(n===e&&(n=n.map(a.clone)),n=Object(v.applyFilters)("editor.Autocomplete.completers",n,t)),n},[e,t])}var x=function(e){return Object(l.createElement)(u.Autocomplete,Object(i.a)({},e,{completers:I(e)}))},T=n("vtO0"),P=n("Tqx9");var R=Object(l.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(P.Path,{d:"M4.2 9h1.5V5.8H9V4.2H4.2V9zm14 9.2H15v1.5h4.8V15h-1.5v3.2zM15 4.2v1.5h3.2V9h1.5V4.2H15zM5.8 15H4.2v4.8H9v-1.5H5.8V15z"}));var N=function({isActive:e,label:t=Object(s.__)("Toggle full height"),onToggle:n,isDisabled:o}){return Object(l.createElement)(u.ToolbarButton,{isActive:e,icon:R,label:t,onClick:()=>n(!e),disabled:o})},L=n("RxS6");var M=function(e){const{label:t=Object(s.__)("Change matrix alignment"),onChange:n=a.noop,value:o="center",isDisabled:r}=e,c=Object(l.createElement)(u.__experimentalAlignmentMatrixControl.Icon,{value:o}),i="block-editor-block-alignment-matrix-control";return Object(l.createElement)(u.Dropdown,{position:"bottom right",className:i,popoverProps:{className:"block-editor-block-alignment-matrix-control__popover",isAlternate:!0},renderToggle:({onToggle:e,isOpen:n})=>Object(l.createElement)(u.ToolbarButton,{onClick:e,"aria-haspopup":"true","aria-expanded":n,onKeyDown:t=>{n||t.keyCode!==L.DOWN||(t.preventDefault(),e())},label:t,icon:c,showTooltip:!0,disabled:r}),renderContent:()=>Object(l.createElement)(u.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:n,value:o})})},A=n("iClF");var D=Object(l.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(P.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})),F=n("f8JO");var z=function({rootLabelText:e}){const{selectBlock:t,clearSelectedBlock:n}=Object(_.useDispatch)(S.a),{clientId:o,parents:r,hasSelection:c}=Object(_.useSelect)(e=>{const{getSelectionStart:t,getSelectedBlockClientId:n,getBlockParents:o}=e(S.a),r=n();return{parents:o(r),clientId:r,hasSelection:!!t().clientId}},[]),i=e||Object(s.__)("Document");return Object(l.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":Object(s.__)("Block breadcrumb")},Object(l.createElement)("li",{className:c?void 0:"block-editor-block-breadcrumb__current","aria-current":c?void 0:"true"},c&&Object(l.createElement)(u.Button,{className:"block-editor-block-breadcrumb__button",variant:"tertiary",onClick:n},i),!c&&i,!!o&&Object(l.createElement)(A.a,{icon:D,className:"block-editor-block-breadcrumb__separator"})),r.map(e=>Object(l.createElement)("li",{key:e},Object(l.createElement)(u.Button,{className:"block-editor-block-breadcrumb__button",variant:"tertiary",onClick:()=>t(e)},Object(l.createElement)(F.a,{clientId:e})),Object(l.createElement)(A.a,{icon:D,className:"block-editor-block-breadcrumb__separator"}))),!!o&&Object(l.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(l.createElement)(F.a,{clientId:o})))},H=n("TSYQ"),V=n.n(H);function G({clientId:e,tagName:t="div",wrapperProps:n,className:o}){const[r,c]=Object(l.useState)(!0),[a,s]=Object(l.useState)(!1),{isParentSelected:u,hasChildSelected:d,isDraggingBlocks:b,isParentHighlighted:p}=Object(_.useSelect)(t=>{const{isBlockSelected:n,hasSelectedInnerBlock:o,isDraggingBlocks:r,isBlockHighlighted:c}=t(S.a);return{isParentSelected:n(e),hasChildSelected:o(e,!0),isDraggingBlocks:r(),isParentHighlighted:c(e)}},[e]),m=V()("block-editor-block-content-overlay",null==n?void 0:n.className,o,{"overlay-active":r,"parent-highlighted":p,"is-dragging-blocks":b});return Object(l.useEffect)(()=>{u||d||r||c(!0),u&&!a&&r&&c(!1),d&&r&&c(!1)},[u,d,r,a]),Object(l.createElement)(t,Object(i.a)({},n,{className:m,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onMouseUp:r?()=>c(!1):void 0}),null==n?void 0:n.children)}var U=n("uoCR"),W=n("fOYa");const q=()=>Object(l.createElement)(u.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)(u.Path,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"})),K=({style:e,className:t})=>Object(l.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(l.createElement)("div",{className:t+" block-library-colors-selector__state-selection",style:e},Object(l.createElement)(q,null))),$=({TextColor:e,BackgroundColor:t})=>({onToggle:n,isOpen:o})=>Object(l.createElement)(u.ToolbarGroup,null,Object(l.createElement)(u.ToolbarButton,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(s.__)("Open Colors Selector"),onClick:n,onKeyDown:e=>{o||e.keyCode!==L.DOWN||(e.preventDefault(),n())},icon:Object(l.createElement)(t,null,Object(l.createElement)(e,null,Object(l.createElement)(K,null)))}));var Y=({children:e,...t})=>Object(l.createElement)(u.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:$(t),renderContent:()=>e}),X=n("JRTi"),Z=n("OzlF"),Q=n("K9lf"),J=n("VKE3"),ee=n("+DUQ"),te=n("Xkls");const ne=Object(ee.animated)(u.__experimentalTreeGridRow);function oe({isSelected:e,position:t,level:n,rowCount:o,children:r,className:c,path:a,...s}){const u=Object(te.a)({isSelected:e,adjustScrolling:!1,enableAnimation:!0,triggerAnimationOnChange:a});return Object(l.createElement)(ne,Object(i.a)({ref:u,className:V()("block-editor-list-view-leaf",c),level:n,positionInSet:t,setSize:o},s),r)}var re=n("9Ma0"),ce=n("wC17");function ie({onClick:e}){return Object(l.createElement)("span",{className:"block-editor-list-view__expander",onClick:t=>e(t,{forceToggle:!0}),"aria-hidden":"true"},Object(l.createElement)(A.a,{icon:D}))}var le=Object(l.forwardRef)((function e({className:t,block:{clientId:n},isSelected:o,onClick:r,onToggleExpanded:c,position:i,siblingBlockCount:a,level:d,tabIndex:b,onFocus:p,onDragStart:m,onDragEnd:f,draggable:h},g){const O=Object(ce.a)(n),v="list-view-block-select-button__"+Object(Q.useInstanceId)(e),j=((e,t,n)=>Object(s.sprintf)(Object(s.__)("Block %1$d of %2$d, Level %3$d"),e,t,n))(i,a,d);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.Button,{className:V()("block-editor-list-view-block-select-button",t),onClick:r,"aria-describedby":v,ref:g,tabIndex:b,onFocus:p,onDragStart:m,onDragEnd:f,draggable:h},Object(l.createElement)(ie,{onClick:c}),Object(l.createElement)(C.a,{icon:null==O?void 0:O.icon,showColors:!0}),Object(l.createElement)(F.a,{clientId:n}),(null==O?void 0:O.anchor)&&Object(l.createElement)("span",{className:"block-editor-list-view-block-select-button__anchor"},O.anchor),o&&Object(l.createElement)(u.VisuallyHidden,null,Object(s.__)("(selected block)"))),Object(l.createElement)("div",{className:"block-editor-list-view-block-select-button__description",id:v},j))})),ae=n("ZAjO");var se=Object(l.forwardRef)(({onClick:e,onToggleExpanded:t,block:n,isSelected:o,position:r,siblingBlockCount:c,level:a,...s},u)=>{const{clientId:d}=n,{blockMovingClientId:b,selectedBlockInBlockEditor:p}=Object(_.useSelect)(e=>{const{getBlockRootClientId:t,hasBlockMovingClientId:n,getSelectedBlockClientId:o}=e(S.a);return{rootClientId:t(d)||"",blockMovingClientId:n(),selectedBlockInBlockEditor:o()}},[d]),m=b&&p===d,f=V()("block-editor-list-view-block-contents",{"is-dropping-before":m});return Object(l.createElement)(ae.a,{clientIds:[n.clientId]},({draggable:d,onDragStart:b,onDragEnd:p})=>Object(l.createElement)(le,Object(i.a)({ref:u,className:f,block:n,onClick:e,onToggleExpanded:t,isSelected:o,position:r,siblingBlockCount:c,level:a,draggable:d,onDragStart:b,onDragEnd:p},s)))}),ue=n("1eGn");const de=Object(l.createContext)({__experimentalFeatures:!1,__experimentalPersistentListViewFeatures:!1}),be=()=>Object(l.useContext)(de);var pe=Object(l.memo)((function({block:e,isDragged:t,isSelected:n,isBranchSelected:o,selectBlock:r,position:c,level:i,rowCount:a,siblingBlockCount:s,showBlockMovers:d,path:b,isExpanded:p}){const m=Object(l.useRef)(null),[f,h]=Object(l.useState)(!1),{clientId:g}=e,{toggleBlockHighlight:O}=Object(_.useDispatch)(S.a),{__experimentalFeatures:v,__experimentalPersistentListViewFeatures:j,__experimentalHideContainerBlockActions:k,isTreeGridMounted:y,expand:E,collapse:C}=be(),w=d&&s>0,B=V()("block-editor-list-view-block__mover-cell",{"is-visible":f||n}),I=V()("block-editor-list-view-block__menu-cell",{"is-visible":f||n});Object(l.useEffect)(()=>{j&&!y&&n&&m.current.focus()},[]);const x=j?O:()=>{},T=Object(l.useCallback)(()=>{h(!0),x(g,!0)},[g,h,x]),P=Object(l.useCallback)(()=>{h(!1),x(g,!1)},[g,h,x]),R=Object(l.useCallback)(e=>{e.stopPropagation(),r(g)},[g,r]),N=Object(l.useCallback)(e=>{e.stopPropagation(),!0===p?C(g):!1===p&&E(g)},[g,E,C,p]),L=v&&(!k||k&&i>1),M=v&&!L;let A;w?A=2:M&&(A=3);const D=V()({"is-selected":n,"is-branch-selected":j&&o,"is-dragging":t,"has-single-cell":M});return Object(l.createElement)(oe,{className:D,onMouseEnter:T,onMouseLeave:P,onFocus:T,onBlur:P,level:i,position:c,rowCount:a,path:b,id:"list-view-block-"+g,"data-block":g,isExpanded:p},Object(l.createElement)(u.__experimentalTreeGridCell,{className:"block-editor-list-view-block__contents-cell",colSpan:A,ref:m},({ref:t,tabIndex:o,onFocus:r})=>Object(l.createElement)("div",{className:"block-editor-list-view-block__contents-container"},Object(l.createElement)(se,{block:e,onClick:R,onToggleExpanded:N,isSelected:n,position:c,siblingBlockCount:s,level:i,ref:t,tabIndex:o,onFocus:r}))),w&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.__experimentalTreeGridCell,{className:B,withoutGridItem:!0},Object(l.createElement)(u.__experimentalTreeGridItem,null,({ref:e,tabIndex:t,onFocus:n})=>Object(l.createElement)(re.b,{orientation:"vertical",clientIds:[g],ref:e,tabIndex:t,onFocus:n})),Object(l.createElement)(u.__experimentalTreeGridItem,null,({ref:e,tabIndex:t,onFocus:n})=>Object(l.createElement)(re.a,{orientation:"vertical",clientIds:[g],ref:e,tabIndex:t,onFocus:n})))),L&&Object(l.createElement)(u.__experimentalTreeGridCell,{className:I},({ref:e,tabIndex:t,onFocus:n})=>Object(l.createElement)(ue.a,{clientIds:[g],icon:J.a,toggleProps:{ref:e,className:"block-editor-list-view-block__menu",tabIndex:t,onFocus:n},disableOpenOnArrowDown:!0,__experimentalSelectBlock:R})))}));function me(e,t,n){var o;if(null==n?void 0:n.includes(e.clientId))return 0;return null===(o=t[e.clientId])||void 0===o||o?1+e.innerBlocks.reduce(fe(t,n),0):1}const fe=(e,t)=>(n,o)=>{var r;if(null==t?void 0:t.includes(o.clientId))return n;return(null===(r=e[o.clientId])||void 0===r||r)&&o.innerBlocks.length>0?n+me(o,e,t):n+1};function he(e){const{blocks:t,selectBlock:n,showBlockMovers:o,showNestedBlocks:r,selectedClientIds:c,level:i=1,path:s="",isBranchSelected:u=!1,listPosition:d=0,fixedListWindow:b}=e,{expandedState:p,draggedClientIds:m,__experimentalPersistentListViewFeatures:f}=be(),h=Object(a.compact)(t),g=h.length;let O=d;return Object(l.createElement)(l.Fragment,null,h.map((e,t)=>{var d;const{clientId:v,innerBlocks:j}=e;t>0&&(O+=me(h[t-1],p,m));const k=f,{itemInView:y}=b,E=!k||y(O),C=t+1,S=s.length>0?`${s}_${C}`:""+C,w=r&&!!j&&!!j.length,B=w?null===(d=p[v])||void 0===d||d:void 0,I=!(null==m||!m.includes(v)),x=I||E,T=((e,t)=>Object(a.isArray)(t)&&t.length?-1!==t.indexOf(e):t===e)(v,c),P=u||T&&w;return Object(l.createElement)(_.AsyncModeProvider,{key:v,value:!T},x&&Object(l.createElement)(pe,{block:e,selectBlock:n,isSelected:T,isBranchSelected:P,isDragged:I,level:i,position:C,rowCount:g,siblingBlockCount:g,showBlockMovers:o,path:S,isExpanded:B,listPosition:O}),!x&&Object(l.createElement)("tr",null,Object(l.createElement)("td",{className:"block-editor-list-view-placeholder"})),w&&B&&!I&&Object(l.createElement)(he,{blocks:j,selectBlock:n,showBlockMovers:o,showNestedBlocks:r,level:i+1,path:S,listPosition:O+1,fixedListWindow:b,isBranchSelected:P,selectedClientIds:c}))}))}he.defaultProps={selectBlock:()=>{}};var ge=Object(l.memo)(he);function Oe({listViewRef:e,blockDropTarget:t}){const{rootClientId:n,clientId:o,dropPosition:r}=t||{},[c,i]=Object(l.useMemo)(()=>{if(!e.current)return[];return[n?e.current.querySelector(`[data-block="${n}"]`):void 0,o?e.current.querySelector(`[data-block="${o}"]`):void 0]},[n,o]),a=i||c,s=Object(l.useCallback)(()=>{if(!c)return 0;const e=a.getBoundingClientRect();return c.querySelector(".block-editor-block-icon").getBoundingClientRect().right-e.left},[c,a]),d=Object(l.useMemo)(()=>{if(!a)return{};const e=s();return{width:a.offsetWidth-e}},[s,a]),b=Object(l.useCallback)(()=>{if(!a)return{};const e=a.ownerDocument,t=a.getBoundingClientRect(),n=s(),o={left:t.left+n,right:t.right,width:0,height:t.height,ownerDocument:e};return"top"===r?{...o,top:t.top,bottom:t.top}:"bottom"===r||"inside"===r?{...o,top:t.bottom,bottom:t.bottom}:{}},[a,r,s]);return a?Object(l.createElement)(u.Popover,{noArrow:!0,animate:!1,getAnchorRect:b,focusOnMount:!1,className:"block-editor-list-view-drop-indicator"},Object(l.createElement)("div",{style:d,className:"block-editor-list-view-drop-indicator__line"})):null}var ve=n("vIlp"),je=n("/lNF");function ke(e,t){return t.left<=e.x&&t.right>=e.x&&t.top<=e.y&&t.bottom>=e.y}const _e=["top","bottom"];function ye(){const{getBlockRootClientId:e,getBlockIndex:t,getBlockCount:n,getDraggedBlockClientIds:o,canInsertBlocks:r}=Object(_.useSelect)(S.a),[c,i]=Object(l.useState)(),{rootClientId:a,blockIndex:s}=c||{},u=Object(je.a)(a,s),d=o(),b=Object(Q.useThrottle)(Object(l.useCallback)((o,c)=>{const l={x:o.clientX,y:o.clientY},a=!(null==d||!d.length),s=function(e,t){let n,o,r,c;for(const i of e){if(i.isDraggedBlock)continue;const l=i.element.getBoundingClientRect(),[a,s]=Object(ve.a)(t,l,_e),u=ke(t,l);if(void 0===r||a0||function(e,t){const n=t.left+t.width/2;return e.x>n}(t,c)))return{rootClientId:o.clientId,blockIndex:0,dropPosition:"inside"};if(!o.canInsertDraggedBlocksAsSibling)return;const l=i?1:0;return{rootClientId:o.rootClientId,clientId:o.clientId,blockIndex:o.blockIndex+l,dropPosition:n}}(Array.from(c.querySelectorAll("[data-block]")).map(o=>{const c=o.dataset.block,i=e(c);return{clientId:c,rootClientId:i,blockIndex:t(c,i),element:o,isDraggedBlock:!!a&&d.includes(c),innerBlockCount:n(c),canInsertDraggedBlocksAsSibling:!a||r(d,i),canInsertDraggedBlocksAsChild:!a||r(d,c)}}),l);s&&i(s)},[d]),200);return{ref:Object(Q.__experimentalUseDropZone)({onDrop:u,onDragOver(e){b(e,e.currentTarget)},onDragEnd(){b.cancel(),i(null)}}),target:c}}const Ee=()=>{},Ce=(e,t)=>{switch(t.type){case"expand":return{...e,[t.clientId]:!0};case"collapse":return{...e,[t.clientId]:!1};default:return e}};var Se=Object(l.forwardRef)((function({blocks:e,onSelect:t=Ee,__experimentalFeatures:n,__experimentalPersistentListViewFeatures:o,__experimentalHideContainerBlockActions:r,showNestedBlocks:c,showBlockMovers:a,...d},b){const{clientIdsTree:p,draggedClientIds:m,selectedClientIds:f}=function(e){return Object(_.useSelect)(t=>{const{getDraggedBlockClientIds:n,getSelectedBlockClientIds:o,__unstableGetClientIdsTree:r}=t(S.a);return{selectedClientIds:o(),draggedClientIds:n(),clientIdsTree:e||r()}},[e])}(e),{selectBlock:h}=Object(_.useDispatch)(S.a),{visibleBlockCount:g}=Object(_.useSelect)(e=>{const{getGlobalBlockCount:t,getClientIdsOfDescendants:n}=e(S.a),o=(null==m?void 0:m.length)>0?n(m).length+1:0;return{visibleBlockCount:t()-o}},[m]),O=Object(l.useCallback)(e=>{h(e),t(e)},[h,t]),[v,j]=Object(l.useReducer)(Ce,{}),{ref:k,target:y}=ye(),E=Object(l.useRef)(),C=Object(Q.useMergeRefs)([E,k,b]),w=Object(l.useRef)(!1);Object(l.useEffect)(()=>{w.current=!0},[]);const[B]=Object(Q.__experimentalUseFixedWindowList)(E,36,g,{useWindowing:o,windowOverscan:40}),I=Object(l.useCallback)(e=>{e&&j({type:"expand",clientId:e})},[j]),x=Object(l.useCallback)(e=>{e&&j({type:"collapse",clientId:e})},[j]),T=Object(l.useCallback)(e=>{var t;I(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)},[I]),P=Object(l.useCallback)(e=>{var t;x(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)},[x]),R=Object(l.useMemo)(()=>({__experimentalFeatures:n,__experimentalPersistentListViewFeatures:o,__experimentalHideContainerBlockActions:r,isTreeGridMounted:w.current,draggedClientIds:m,expandedState:v,expand:I,collapse:x}),[n,o,r,w.current,m,v,I,x]);return Object(l.createElement)(_.AsyncModeProvider,{value:!0},Object(l.createElement)(Oe,{listViewRef:E,blockDropTarget:y}),Object(l.createElement)(u.__experimentalTreeGrid,{className:"block-editor-list-view-tree","aria-label":Object(s.__)("Block navigation structure"),ref:C,onCollapseRow:P,onExpandRow:T},Object(l.createElement)(de.Provider,{value:R},Object(l.createElement)(ge,Object(i.a)({blocks:p,selectBlock:O,showNestedBlocks:c,showBlockMovers:a,fixedListWindow:B,selectedClientIds:f},d)))))}));function we({isEnabled:e,onToggle:t,isOpen:n,innerRef:o,...r}){return Object(l.createElement)(u.Button,Object(i.a)({},r,{ref:o,icon:Z.a,"aria-expanded":n,"aria-haspopup":"true",onClick:e?t:void 0,label:Object(s.__)("List view"),className:"block-editor-block-navigation","aria-disabled":!e}))}var Be=Object(l.forwardRef)((function({isDisabled:e,__experimentalFeatures:t,...n},o){const r=Object(_.useSelect)(e=>!!e(S.a).getBlockCount(),[])&&!e;return Object(l.createElement)(u.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:({isOpen:e,onToggle:t})=>Object(l.createElement)(we,Object(i.a)({},n,{innerRef:o,isOpen:e,onToggle:t,isEnabled:r})),renderContent:()=>Object(l.createElement)("div",{className:"block-editor-block-navigation__container"},Object(l.createElement)("p",{className:"block-editor-block-navigation__label"},Object(s.__)("List view")),Object(l.createElement)(Se,{showNestedBlocks:!0,__experimentalFeatures:t}))})})),Ie=n("Civd");var xe=function({icon:e=Ie.a,label:t=Object(s.__)("Choose variation"),instructions:n=Object(s.__)("Select a variation to start with."),variations:o,onSelect:r,allowSkip:c}){const i=V()("block-editor-block-variation-picker",{"has-many-variations":o.length>4});return Object(l.createElement)(u.Placeholder,{icon:e,label:t,instructions:n,className:i},Object(l.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(s.__)("Block variations")},o.map(e=>Object(l.createElement)("li",{key:e.name},Object(l.createElement)(u.Button,{variant:"secondary",icon:e.icon,iconSize:48,onClick:()=>r(e),className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),Object(l.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title)))),c&&Object(l.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(l.createElement)(u.Button,{variant:"link",onClick:()=>r()},Object(s.__)("Skip"))))},Te=n("REKd"),Pe=n("2gm7"),Re=n("1iEr"),Ne=n("XNw2"),Le=n("b2RC");const Me="carousel",Ae="grid",De=({onStartBlank:e,onBlockPatternSelect:t})=>Object(l.createElement)("div",{className:"block-editor-block-pattern-setup__actions"},Object(l.createElement)(u.Button,{onClick:e},Object(s.__)("Start blank")),Object(l.createElement)(u.Button,{variant:"primary",onClick:t},Object(s.__)("Choose"))),Fe=({handlePrevious:e,handleNext:t,activeSlide:n,totalSlides:o})=>Object(l.createElement)("div",{className:"block-editor-block-pattern-setup__navigation"},Object(l.createElement)(u.Button,{icon:Pe.a,label:Object(s.__)("Previous pattern"),onClick:e,disabled:0===n}),Object(l.createElement)(u.Button,{icon:Re.a,label:Object(s.__)("Next pattern"),onClick:t,disabled:n===o-1}));var ze=({viewMode:e,setViewMode:t,handlePrevious:n,handleNext:o,activeSlide:r,totalSlides:c,onBlockPatternSelect:i,onStartBlank:a})=>{const d=e===Me,b=Object(l.createElement)("div",{className:"block-editor-block-pattern-setup__display-controls"},Object(l.createElement)(u.Button,{icon:Ne.a,label:Object(s.__)("Carousel view"),onClick:()=>t(Me),isPressed:d}),Object(l.createElement)(u.Button,{icon:Le.a,label:Object(s.__)("Grid view"),onClick:()=>t(Ae),isPressed:e===Ae}));return Object(l.createElement)("div",{className:"block-editor-block-pattern-setup__toolbar"},d&&Object(l.createElement)(Fe,{handlePrevious:n,handleNext:o,activeSlide:r,totalSlides:c}),b,d&&Object(l.createElement)(De,{onBlockPatternSelect:i,onStartBlank:a}))};var He=function(e,t,n){return Object(_.useSelect)(o=>{const{getBlockRootClientId:r,__experimentalGetPatternsByBlockTypes:c,__experimentalGetAllowedPatterns:i}=o(S.a),l=r(e);return n?i(l).filter(n):c(t,l)},[e,t,n])};const Ve=({viewMode:e,activeSlide:t,patterns:n,onBlockPatternSelect:o})=>{const r=Object(u.__unstableUseCompositeState)(),c="block-editor-block-pattern-setup__container";if(e===Me){const e=new Map([[t,"active-slide"],[t-1,"previous-slide"],[t+1,"next-slide"]]);return Object(l.createElement)("div",{className:c},Object(l.createElement)("ul",{className:"carousel-container"},n.map((t,n)=>Object(l.createElement)(Ue,{className:e.get(n)||"",key:t.name,pattern:t}))))}return Object(l.createElement)(u.__unstableComposite,Object(i.a)({},r,{role:"listbox",className:c,"aria-label":Object(s.__)("Patterns list")}),n.map(e=>Object(l.createElement)(Ge,{key:e.name,pattern:e,onSelect:o,composite:r})))};function Ge({pattern:e,onSelect:t,composite:n}){const o="block-editor-block-pattern-setup-list",{blocks:r,title:c,description:a,viewportWidth:s=700}=e,d=Object(Q.useInstanceId)(Ge,o+"__item-description");return Object(l.createElement)("div",{className:o+"__list-item","aria-label":e.title,"aria-describedby":e.description?d:void 0},Object(l.createElement)(u.__unstableCompositeItem,Object(i.a)({role:"option",as:"div"},n,{className:o+"__item",onClick:()=>t(r)}),Object(l.createElement)(Te.a,{blocks:r,viewportWidth:s}),Object(l.createElement)("div",{className:o+"__item-title"},c)),!!a&&Object(l.createElement)(u.VisuallyHidden,{id:d},a))}function Ue({className:e,pattern:t}){const{blocks:n,title:o,description:r}=t,c=Object(Q.useInstanceId)(Ue,"block-editor-block-pattern-setup-list__item-description");return Object(l.createElement)("li",{className:"pattern-slide "+e,"aria-label":o,"aria-describedby":r?c:void 0},Object(l.createElement)(Te.a,{blocks:n,__experimentalLive:!0}),!!r&&Object(l.createElement)(u.VisuallyHidden,{id:c},r))}var We=({clientId:e,blockName:t,filterPatternsFn:n,startBlankComponent:o,onBlockPatternSelect:r})=>{const[c,i]=Object(l.useState)(Me),[a,s]=Object(l.useState)(0),[u,d]=Object(l.useState)(!1),{replaceBlock:b}=Object(_.useDispatch)(S.a),p=He(e,t,n);if(null==p||!p.length||u)return o;const m=r||(t=>{const n=t.map(e=>Object(j.cloneBlock)(e));b(e,n)});return Object(l.createElement)("div",{className:"block-editor-block-pattern-setup view-mode-"+c},Object(l.createElement)(ze,{viewMode:c,setViewMode:i,activeSlide:a,totalSlides:p.length,handleNext:()=>{s(e=>e+1)},handlePrevious:()=>{s(e=>e-1)},onBlockPatternSelect:()=>{m(p[a].blocks)},onStartBlank:()=>{d(!0)}}),Object(l.createElement)(Ve,{viewMode:c,activeSlide:a,patterns:p,onBlockPatternSelect:m}))},qe=n("NWDH"),Ke=n("Btt3");var $e=function({blockClientId:e}){const[t,n]=Object(l.useState)(),{updateBlockAttributes:o}=Object(_.useDispatch)(S.a),{variations:r,blockAttributes:c}=Object(_.useSelect)(t=>{const{getBlockVariations:n}=t(j.store),{getBlockName:o,getBlockAttributes:r}=t(S.a),c=e&&o(e);return{variations:c&&n(c,"transform"),blockAttributes:r(e)}},[e]);if(Object(l.useEffect)(()=>{var e;n(null===(e=Object(Ke.a)(c,r))||void 0===e?void 0:e.name)},[c,r]),null==r||!r.length)return null;const i=r.map(({name:e,title:t,description:n})=>({value:e,label:t,info:n})),a=t=>{o(e,{...r.find(({name:e})=>e===t).attributes})},d="block-editor-block-variation-transforms";return Object(l.createElement)(u.DropdownMenu,{className:d,label:Object(s.__)("Transform to variation"),text:Object(s.__)("Transform to variation"),popoverProps:{position:"bottom center",className:d+"__popover"},icon:qe.a,toggleProps:{iconPosition:"right"}},()=>Object(l.createElement)("div",{className:d+"__container"},Object(l.createElement)(u.MenuGroup,null,Object(l.createElement)(u.MenuItemsChoice,{choices:i,value:t,onSelect:a}))))};const Ye=Object(l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(u.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Xe=Object(l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(u.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),Ze={top:{icon:Object(l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(u.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:Object(s._x)("Align top","Block vertical alignment setting")},center:{icon:Xe,title:Object(s._x)("Align middle","Block vertical alignment setting")},bottom:{icon:Ye,title:Object(s._x)("Align bottom","Block vertical alignment setting")}},Qe=["top","center","bottom"],Je={isAlternate:!0};var et=function({value:e,onChange:t,controls:n=Qe,isCollapsed:o=!0,isToolbar:r}){const c=Ze[e],a=Ze.top,d=r?u.ToolbarGroup:u.ToolbarDropdownMenu,b=r?{isCollapsed:o}:{};return Object(l.createElement)(d,Object(i.a)({popoverProps:Je,icon:c?c.icon:a.icon,label:Object(s._x)("Change vertical alignment","Block vertical alignment setting label"),controls:n.map(n=>{return{...Ze[n],isActive:e===n,role:o?"menuitemradio":void 0,onClick:(r=n,()=>t(e===r?void 0:r))};var r})},b))};function tt(e){return Object(l.createElement)(et,Object(i.a)({},e,{isToolbar:!1}))}function nt(e){return Object(l.createElement)(et,Object(i.a)({},e,{isToolbar:!0}))}var ot=n("Wy3j"),rt=n("2YCo"),ct=n("I5Hl"),it=n("v5LD"),lt=Object(Q.createHigherOrderComponent)(e=>t=>{const n=Object(it.a)("color.palette"),o=!Object(it.a)("color.custom"),r=void 0===t.colors?n:t.colors,c=void 0===t.disableCustomColors?o:t.disableCustomColors,s=!Object(a.isEmpty)(r)||!c;return Object(l.createElement)(e,Object(i.a)({},t,{colors:r,disableCustomColors:c,hasColorsToChoose:s}))},"withColorContext"),at=lt(u.ColorPalette),st=n("hMaJ");function ut({onChange:e,value:t,...n}){return Object(l.createElement)(st.a,Object(i.a)({},n,{onColorChange:e,colorValue:t,gradients:[],disableCustomGradients:!0}))}var dt=n("6c9H"),bt=n("1uGa"),pt=n("Bo0k"),mt=n("GKUk"),ft=n("xBDm"),ht=n("kVRd"),gt=n("/Hvg"),Ot=n("yU1v"),vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var jt=function(){return(jt=Object.assign||function(e){for(var t,n=1,o=arguments.length;nu*r?{width:u*r,height:u}:{width:s,height:s/r}}function St(e,t,n,o,r){void 0===r&&(r=0);var c=Mt(t.width,t.height,r),i=c.width,l=c.height;return{x:wt(e.x,i,n.width,o),y:wt(e.y,l,n.height,o)}}function wt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function Bt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function It(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function xt(e,t,n,o,r,c,i){void 0===c&&(c=0),void 0===i&&(i=!0);var l=i&&0===c?Tt:Pt,a={x:l(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:l(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:l(100,n.width/t.width*100/r),height:l(100,n.height/t.height*100/r)},s=Math.round(l(t.naturalWidth,a.width*t.naturalWidth/100)),u=Math.round(l(t.naturalHeight,a.height*t.naturalHeight/100)),d=t.naturalWidth>=t.naturalHeight*o?{width:Math.round(u*o),height:u}:{width:s,height:Math.round(s/o)};return{croppedAreaPercentages:a,croppedAreaPixels:jt(jt({},d),{x:Math.round(l(t.naturalWidth-d.width,a.x*t.naturalWidth/100)),y:Math.round(l(t.naturalHeight-d.height,a.y*t.naturalHeight/100))})}}function Tt(e,t){return Math.min(e,Math.max(0,t))}function Pt(e,t){return t}function Rt(e,t,n){var o=t.width/t.naturalWidth,r=function(e,t,n){var o=t.width/t.naturalWidth;if(n)return n.height>n.width?n.height/o/e.height:n.width/o/e.width;var r=e.width/e.height;return t.naturalWidth>=t.naturalHeight*r?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,n),c=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*c,y:((t.naturalHeight-e.height)/2-e.y)*c},zoom:r}}function Nt(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function Lt(e,t,n,o,r){var c=Math.cos,i=Math.sin,l=r*Math.PI/180;return[(e-n)*c(l)-(t-o)*i(l)+n,(e-n)*i(l)+(t-o)*c(l)+o]}function Mt(e,t,n){var o=e/2,r=t/2,c=[Lt(0,0,o,r,n),Lt(e,0,o,r,n),Lt(e,t,o,r,n),Lt(0,t,o,r,n)],i=Math.min.apply(Math,c.map((function(e){return e[0]}))),l=Math.max.apply(Math,c.map((function(e){return e[0]}))),a=Math.min.apply(Math,c.map((function(e){return e[1]})));return{width:l-i,height:Math.max.apply(Math,c.map((function(e){return e[1]})))-a}}function At(){for(var e=[],t=0;t0})).join(" ").trim()}var Dt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.imageRef=null,n.videoRef=null,n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.state={cropSize:null,hasWheelJustStarted:!1},n.preventZoomSafari=function(e){return e.preventDefault()},n.cleanEvents=function(){document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onDragStopped),document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onDragStopped)},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){n.computeSizes(),n.emitCropData(),n.setInitialCrop(),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(){var e=n.props,t=e.initialCroppedAreaPixels,o=e.cropSize;if(t){var r=Rt(t,n.mediaSize,o),c=r.crop,i=r.zoom;n.props.onCropChange(c),n.props.onZoomChange&&n.props.onZoomChange(i)}},n.computeSizes=function(){var e,t,o,r,c,i,l=n.imageRef||n.videoRef;if(l&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.mediaSize={width:l.offsetWidth,height:l.offsetHeight,naturalWidth:(null===(e=n.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(o=n.imageRef)||void 0===o?void 0:o.naturalHeight)||(null===(r=n.videoRef)||void 0===r?void 0:r.videoHeight)||0};var a=n.props.cropSize?n.props.cropSize:Ct(l.offsetWidth,l.offsetHeight,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);(null===(c=n.state.cropSize)||void 0===c?void 0:c.height)===a.height&&(null===(i=n.state.cropSize)||void 0===i?void 0:i.width)===a.width||n.props.onCropSizeChange&&n.props.onCropSizeChange(a),n.setState({cropSize:a},n.recomputeCropPosition)}},n.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",n.onMouseMove),document.addEventListener("mouseup",n.onDragStopped),n.onDragStart(t.getMousePoint(e))},n.onMouseMove=function(e){return n.onDrag(t.getMousePoint(e))},n.onTouchStart=function(e){document.addEventListener("touchmove",n.onTouchMove,{passive:!1}),document.addEventListener("touchend",n.onDragStopped),2===e.touches.length?n.onPinchStart(e):1===e.touches.length&&n.onDragStart(t.getTouchPoint(e.touches[0]))},n.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?n.onPinchMove(e):1===e.touches.length&&n.onDrag(t.getTouchPoint(e.touches[0]))},n.onDragStart=function(e){var t,o,r=e.x,c=e.y;n.dragStartPosition={x:r,y:c},n.dragStartCrop=jt({},n.props.crop),null===(o=(t=n.props).onInteractionStart)||void 0===o||o.call(t)},n.onDrag=function(e){var t=e.x,o=e.y;n.rafDragTimeout&&window.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=window.requestAnimationFrame((function(){if(n.state.cropSize&&void 0!==t&&void 0!==o){var e=t-n.dragStartPosition.x,r=o-n.dragStartPosition.y,c={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},i=n.props.restrictPosition?St(c,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):c;n.props.onCropChange(i)}}))},n.onDragStopped=function(){var e,t;n.cleanEvents(),n.emitCropData(),null===(t=(e=n.props).onInteractionEnd)||void 0===t||t.call(e)},n.onWheel=function(e){e.preventDefault();var o=t.getMousePoint(e),r=Et()(e).pixelY,c=n.props.zoom-r*n.props.zoomSpeed/200;n.setNewZoom(c,o),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=n.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=window.setTimeout((function(){return n.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=n.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},n.getPointOnContainer=function(e){var t=e.x,o=e.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(t-n.containerRect.left),y:n.containerRect.height/2-(o-n.containerRect.top)}},n.getPointOnMedia=function(e){var t=e.x,o=e.y,r=n.props,c=r.crop,i=r.zoom;return{x:(t+c.x)/i,y:(o+c.y)/i}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),c=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),i={x:r.x*c-o.x,y:r.y*c-o.y},l=n.props.restrictPosition?St(i,n.mediaSize,n.state.cropSize,c,n.props.rotation):i;n.props.onCropChange(l),n.props.onZoomChange(c)}},n.getCropData=function(){return n.state.cropSize?xt(n.props.restrictPosition?St(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition):null},n.emitCropData=function(){var e=n.getCropData();if(e){var t=e.croppedAreaPercentages,o=e.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(t,o),n.props.onCropAreaChange&&n.props.onCropAreaChange(t,o)}},n.emitCropAreaChange=function(){var e=n.getCropData();if(e){var t=e.croppedAreaPercentages,o=e.croppedAreaPixels;n.props.onCropAreaChange&&n.props.onCropAreaChange(t,o)}},n.recomputeCropPosition=function(){if(n.state.cropSize){var e=n.props.restrictPosition?St(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;n.props.onCropChange(e),n.emitCropData()}},n}return function(e,t){function n(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_Contain {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n.reactEasyCrop_Cover_Horizontal {\n width: 100%;\n height: auto;\n}\n.reactEasyCrop_Cover_Vertical {\n width: auto;\n height: 100%;\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){var e;window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&(null===(e=this.styleRef.parentNode)||void 0===e||e.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){var t,n,o,r,c,i,l,a,s;e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(t=e.cropSize)||void 0===t?void 0:t.height)!==(null===(n=this.props.cropSize)||void 0===n?void 0:n.height)||(null===(o=e.cropSize)||void 0===o?void 0:o.width)!==(null===(r=this.props.cropSize)||void 0===r?void 0:r.width)?this.computeSizes():(null===(c=e.crop)||void 0===c?void 0:c.x)===(null===(i=this.props.crop)||void 0===i?void 0:i.x)&&(null===(l=e.crop)||void 0===l?void 0:l.y)===(null===(a=this.props.crop)||void 0===a?void 0:a.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),e.video!==this.props.video&&(null===(s=this.videoRef)||void 0===s||s.load())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,n=e.aspect;return t?t.width/t.height:n},t.prototype.onPinchStart=function(e){var n=t.getTouchPoint(e.touches[0]),o=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=Bt(n,o),this.lastPinchRotation=It(n,o),this.onDragStart(Nt(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),c=Nt(o,r);this.onDrag(c),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=Bt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,c),n.lastPinchDistance=e;var i=It(o,r),l=n.props.rotation+(i-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(l),n.lastPinchRotation=i}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,c=t.transform,i=t.crop,l=i.x,a=i.y,s=t.rotation,u=t.zoom,d=t.cropShape,b=t.showGrid,p=t.style,m=p.containerStyle,f=p.cropAreaStyle,h=p.mediaStyle,g=t.classes,O=g.containerClassName,v=g.cropAreaClassName,j=g.mediaClassName,k=t.objectFit;return _t.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:m,className:At("reactEasyCrop_Container",O)},n?_t.a.createElement("img",jt({alt:"",className:At("reactEasyCrop_Image","contain"===k&&"reactEasyCrop_Contain","horizontal-cover"===k&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===k&&"reactEasyCrop_Cover_Vertical",j)},r,{src:n,ref:function(t){return e.imageRef=t},style:jt(jt({},h),{transform:c||"translate("+l+"px, "+a+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):o&&_t.a.createElement("video",jt({autoPlay:!0,loop:!0,muted:!0,className:At("reactEasyCrop_Video","contain"===k&&"reactEasyCrop_Contain","horizontal-cover"===k&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===k&&"reactEasyCrop_Cover_Vertical",j)},r,{ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:jt(jt({},h),{transform:c||"translate("+l+"px, "+a+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1}),(Array.isArray(o)?o:[{src:o}]).map((function(e){return _t.a.createElement("source",jt({key:e.src},e))}))),this.state.cropSize&&_t.a.createElement("div",{style:jt(jt({},f),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:At("reactEasyCrop_CropArea","round"===d&&"reactEasyCrop_CropAreaRound",b&&"reactEasyCrop_CropAreaGrid",v)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(_t.a.Component);const Ft={position:"bottom right",isAlternate:!0};var zt=n("ywyh"),Ht=n.n(zt),Vt=n("onLe");function Gt(e,t){const n=function({url:e,naturalWidth:t,naturalHeight:n}){const[o,r]=Object(l.useState)(),[c,i]=Object(l.useState)(),[a,s]=Object(l.useState)({x:0,y:0}),[u,d]=Object(l.useState)(),[b,p]=Object(l.useState)(),[m,f]=Object(l.useState)(),[h,g]=Object(l.useState)(),O=Object(l.useCallback)(()=>{s({x:0,y:0}),d(100),p(0),f(t/n),g(t/n)},[t,n,s,d,p,f,g]),j=Object(l.useCallback)(()=>{const o=(b+90)%360;let c=t/n;if(b%180==90&&(c=n/t),0===o)return r(),p(o),f(1/m),void s({x:-a.y*c,y:a.x*c});const i=new window.Image;i.src=e,i.onload=function(e){const t=document.createElement("canvas");let n=0,i=0;o%180?(t.width=e.target.height,t.height=e.target.width):(t.width=e.target.width,t.height=e.target.height),90!==o&&180!==o||(n=t.width),270!==o&&180!==o||(i=t.height);const l=t.getContext("2d");l.translate(n,i),l.rotate(o*Math.PI/180),l.drawImage(e.target,0,0),t.toBlob(e=>{r(URL.createObjectURL(e)),p(o),f(1/m),s({x:-a.y*c,y:a.x*c})})};const l=Object(v.applyFilters)("media.crossOrigin",void 0,e);"string"==typeof l&&(i.crossOrigin=l)},[b,t,n,r,p,f,s]);return Object(l.useMemo)(()=>({editedUrl:o,setEditedUrl:r,crop:c,setCrop:i,position:a,setPosition:s,zoom:u,setZoom:d,rotation:b,setRotation:p,rotateClockwise:j,aspect:m,setAspect:f,defaultAspect:h,initializeTransformValues:O}),[o,r,c,i,a,s,u,d,b,p,j,m,f,h,O])}(e),{initializeTransformValues:o}=n;return Object(l.useEffect)(()=>{t&&o()},[t,o]),n}const Ut=Object(l.createContext)({}),Wt=()=>Object(l.useContext)(Ut);function qt({id:e,url:t,naturalWidth:n,naturalHeight:o,isEditing:r,onFinishEditing:c,onSaveImage:i,children:a}){const u=Gt({url:t,naturalWidth:n,naturalHeight:o},r),d=function({crop:e,rotation:t,height:n,width:o,aspect:r,url:c,id:i,onSaveImage:a,onFinishEditing:u}){const{createErrorNotice:d}=Object(_.useDispatch)(Vt.store),[b,p]=Object(l.useState)(!1),m=Object(l.useCallback)(()=>{p(!1),u()},[p,u]),f=Object(l.useCallback)(()=>{p(!0);let l={};(e.width<99.9||e.height<99.9)&&(l=e),t>0&&(l.rotation=t),l.src=c,Ht()({path:`/wp/v2/media/${i}/edit`,method:"POST",data:l}).then(e=>{a({id:e.id,url:e.source_url,height:n&&o?o/r:void 0})}).catch(e=>{d(Object(s.sprintf)(Object(s.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})}).finally(()=>{p(!1),u()})},[p,e,t,n,o,r,c,a,d,p,u]);return Object(l.useMemo)(()=>({isInProgress:b,apply:f,cancel:m}),[b,f,m])}({id:e,url:t,onSaveImage:i,onFinishEditing:c,...u}),b=Object(l.useMemo)(()=>({...u,...d}),[u,d]);return Object(l.createElement)(Ut.Provider,{value:b},a)}function Kt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:c}){const{isInProgress:i,editedUrl:a,position:s,zoom:d,aspect:b,setPosition:p,setCrop:m,setZoom:f,rotation:h}=Wt();let g=n||o*r/c;return h%180==90&&(g=o*c/r),Object(l.createElement)("div",{className:V()("wp-block-image__crop-area",{"is-applying":i}),style:{width:t||o,height:g}},Object(l.createElement)(Dt,{image:a||e,disabled:i,minZoom:1,maxZoom:3,crop:s,zoom:d/100,aspect:b,onCropChange:p,onCropComplete:e=>{m(e)},onZoomChange:e=>{f(100*e)}}),i&&Object(l.createElement)(u.Spinner,null))}var $t=n("cGtP");function Yt(){const{isInProgress:e,zoom:t,setZoom:n}=Wt();return Object(l.createElement)(u.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:Ft,renderToggle:({isOpen:t,onToggle:n})=>Object(l.createElement)(u.ToolbarButton,{icon:$t.a,label:Object(s.__)("Zoom"),onClick:n,"aria-expanded":t,disabled:e}),renderContent:()=>Object(l.createElement)(u.RangeControl,{label:Object(s.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var Xt=n("RMJe");var Zt=Object(l.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(P.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function Qt({aspectRatios:e,isDisabled:t,label:n,onClick:o,value:r}){return Object(l.createElement)(u.MenuGroup,{label:n},e.map(({title:e,aspect:n})=>Object(l.createElement)(u.MenuItem,{key:n,disabled:t,onClick:()=>{o(n)},role:"menuitemradio",isSelected:n===r,icon:n===r?Xt.a:void 0},e)))}function Jt({toggleProps:e}){const{isInProgress:t,aspect:n,setAspect:o,defaultAspect:r}=Wt();return Object(l.createElement)(u.DropdownMenu,{icon:Zt,label:Object(s.__)("Aspect Ratio"),popoverProps:Ft,toggleProps:e,className:"wp-block-image__aspect-ratio"},({onClose:e})=>Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Qt,{isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(s.__)("Original"),aspect:r},{title:Object(s.__)("Square"),aspect:1}]}),Object(l.createElement)(Qt,{label:Object(s.__)("Landscape"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(s.__)("16:10"),aspect:1.6},{title:Object(s.__)("16:9"),aspect:16/9},{title:Object(s.__)("4:3"),aspect:4/3},{title:Object(s.__)("3:2"),aspect:1.5}]}),Object(l.createElement)(Qt,{label:Object(s.__)("Portrait"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(s.__)("10:16"),aspect:.625},{title:Object(s.__)("9:16"),aspect:9/16},{title:Object(s.__)("3:4"),aspect:3/4},{title:Object(s.__)("2:3"),aspect:2/3}]})))}var en=Object(l.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(P.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function tn(){const{isInProgress:e,rotateClockwise:t}=Wt();return Object(l.createElement)(u.ToolbarButton,{icon:en,label:Object(s.__)("Rotate"),onClick:t,disabled:e})}function nn(){const{isInProgress:e,apply:t,cancel:n}=Wt();return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.ToolbarButton,{onClick:t,disabled:e},Object(s.__)("Apply")),Object(l.createElement)(u.ToolbarButton,{onClick:n},Object(s.__)("Cancel")))}function on({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:c}){return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Kt,{url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:c}),Object(l.createElement)(W.b,null,Object(l.createElement)(u.ToolbarGroup,null,Object(l.createElement)(Yt,null),Object(l.createElement)(u.ToolbarItem,null,e=>Object(l.createElement)(Jt,{toggleProps:e})),Object(l.createElement)(tn,null)),Object(l.createElement)(u.ToolbarGroup,null,Object(l.createElement)(nn,null))))}const rn=[25,50,75,100];function cn({imageWidth:e,imageHeight:t,imageSizeOptions:n=[],isResizable:o=!0,slug:r,width:c,height:i,onChange:d,onChangeImage:b=a.noop}){const{currentHeight:p,currentWidth:m,updateDimension:f,updateDimensions:h}=function(e,t,n,o,r){var c,i;const[a,s]=Object(l.useState)(null!==(c=null!=t?t:o)&&void 0!==c?c:""),[u,d]=Object(l.useState)(null!==(i=null!=e?e:n)&&void 0!==i?i:"");return Object(l.useEffect)(()=>{void 0===t&&void 0!==o&&s(o),void 0===e&&void 0!==n&&d(n)},[o,n]),Object(l.useEffect)(()=>{void 0!==t&&Number.parseInt(t)!==Number.parseInt(a)&&s(t),void 0!==e&&Number.parseInt(e)!==Number.parseInt(u)&&d(e)},[t,e]),{currentHeight:u,currentWidth:a,updateDimension:(e,t)=>{"width"===e?s(t):d(t),r({[e]:""===t?void 0:parseInt(t,10)})},updateDimensions:(e,t)=>{d(null!=e?e:n),s(null!=t?t:o),r({height:e,width:t})}}}(i,c,t,e,d);return Object(l.createElement)(l.Fragment,null,!Object(a.isEmpty)(n)&&Object(l.createElement)(u.SelectControl,{label:Object(s.__)("Image size"),value:r,options:n,onChange:b}),o&&Object(l.createElement)("div",{className:"block-editor-image-size-control"},Object(l.createElement)("p",{className:"block-editor-image-size-control__row"},Object(s.__)("Image dimensions")),Object(l.createElement)("div",{className:"block-editor-image-size-control__row"},Object(l.createElement)(u.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(s.__)("Width"),value:m,min:1,onChange:e=>f("width",e)}),Object(l.createElement)(u.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(s.__)("Height"),value:p,min:1,onChange:e=>f("height",e)})),Object(l.createElement)("div",{className:"block-editor-image-size-control__row"},Object(l.createElement)(u.ButtonGroup,{"aria-label":Object(s.__)("Image size presets")},rn.map(n=>{const o=Math.round(e*(n/100)),r=Math.round(t*(n/100)),c=m===o&&p===r;return Object(l.createElement)(u.Button,{key:n,isSmall:!0,variant:c?"primary":void 0,isPressed:c,onClick:()=>h(r,o)},n,"%")})),Object(l.createElement)(u.Button,{isSmall:!0,onClick:()=>h()},Object(s.__)("Reset")))))}var ln=n("p3NJ"),an=n("1oY3"),sn=n("0E5u"),un=n("btIw"),dn=n("1CF3");var bn=({value:e,onChange:t=a.noop,settings:n})=>{if(!n||!n.length)return null;const o=n=>o=>{t({...e,[n.id]:o})},r=n.map(t=>Object(l.createElement)(u.ToggleControl,{className:"block-editor-link-control__setting",key:t.id,label:t.title,onChange:o(t),checked:!!e&&!!e[t.id]}));return Object(l.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(l.createElement)(u.VisuallyHidden,{as:"legend"},Object(s.__)("Currently selected link settings")),r)},pn=n("9Do8"),mn=n.n(pn),fn=n("Mmq9");class hn extends l.Component{constructor(e){super(e),this.onChange=this.onChange.bind(this),this.onFocus=this.onFocus.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.selectLink=this.selectLink.bind(this),this.handleOnClick=this.handleOnClick.bind(this),this.bindSuggestionNode=this.bindSuggestionNode.bind(this),this.autocompleteRef=e.autocompleteRef||Object(l.createRef)(),this.inputRef=Object(l.createRef)(),this.updateSuggestions=Object(a.debounce)(this.updateSuggestions.bind(this),200),this.suggestionNodes=[],this.isUpdatingSuggestions=!1,this.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null,suggestionsListboxId:"",suggestionOptionIdPrefix:""}}componentDidUpdate(e){const{showSuggestions:t,selectedSuggestion:n}=this.state,{value:o,__experimentalShowInitialSuggestions:r=!1}=this.props;t&&null!==n&&this.suggestionNodes[n]&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,mn()(this.suggestionNodes[n],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout(()=>{this.scrollingIntoView=!1},100)),e.value===o||this.props.disableSuggestions||this.isUpdatingSuggestions||(null!=o&&o.length?this.updateSuggestions(o):r&&this.updateSuggestions())}componentDidMount(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}componentWillUnmount(){var e,t;null===(e=this.suggestionsRequest)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e),delete this.suggestionsRequest}bindSuggestionNode(e){return t=>{this.suggestionNodes[e]=t}}shouldShowInitialSuggestions(){const{suggestions:e}=this.state,{__experimentalShowInitialSuggestions:t=!1,value:n}=this.props;return!this.isUpdatingSuggestions&&t&&!(n&&n.length)&&!(e&&e.length)}updateSuggestions(e=""){var t;const{__experimentalFetchLinkSuggestions:n,__experimentalHandleURLSuggestions:o}=this.props;if(!n)return;const r=!(null!==(t=e)&&void 0!==t&&t.length);if(e=e.trim(),!r&&(e.length<2||!o&&Object(fn.isURL)(e)))return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});const c=n(e,{isInitialSuggestions:r});c.then(e=>{this.suggestionsRequest===c&&(this.setState({suggestions:e,loading:!1,showSuggestions:!!e.length}),e.length?this.props.debouncedSpeak(Object(s.sprintf)(Object(s._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):this.props.debouncedSpeak(Object(s.__)("No results."),"assertive"),this.isUpdatingSuggestions=!1)}).catch(()=>{this.suggestionsRequest===c&&(this.setState({loading:!1}),this.isUpdatingSuggestions=!1)}),this.suggestionsRequest=c}onChange(e){const t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}onFocus(){const{suggestions:e}=this.state,{disableSuggestions:t,value:n}=this.props;!n||t||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(n)}onKeyDown(e){const{showSuggestions:t,selectedSuggestion:n,suggestions:o,loading:r}=this.state;if(!t||!o.length||r){switch(e.keyCode){case L.UP:0!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(0,0));break;case L.DOWN:this.props.value.length!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length));break;case L.ENTER:this.props.onSubmit&&this.props.onSubmit(null,e)}return}const c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case L.UP:{e.preventDefault();const t=n?n-1:o.length-1;this.setState({selectedSuggestion:t});break}case L.DOWN:{e.preventDefault();const t=null===n||n===o.length-1?0:n+1;this.setState({selectedSuggestion:t});break}case L.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(s.__)("Link selected.")));break;case L.ENTER:null!==this.state.selectedSuggestion?(this.selectLink(c),this.props.onSubmit&&this.props.onSubmit(c,e)):this.props.onSubmit&&this.props.onSubmit(null,e)}}selectLink(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}handleOnClick(e){this.selectLink(e),this.inputRef.current.focus()}static getDerivedStateFromProps({value:e,instanceId:t,disableSuggestions:n,__experimentalShowInitialSuggestions:o=!1},{showSuggestions:r}){let c=r;const i=e&&e.length;return o||i||(c=!1),!0===n&&(c=!1),{showSuggestions:c,suggestionsListboxId:"block-editor-url-input-suggestions-"+t,suggestionOptionIdPrefix:"block-editor-url-input-suggestion-"+t}}render(){return Object(l.createElement)(l.Fragment,null,this.renderControl(),this.renderSuggestions())}renderControl(){const{label:e,className:t,isFullWidth:n,instanceId:o,placeholder:r=Object(s.__)("Paste URL or type to search"),__experimentalRenderControl:c,value:i=""}=this.props,{loading:a,showSuggestions:d,selectedSuggestion:b,suggestionsListboxId:p,suggestionOptionIdPrefix:m}=this.state,f={id:"url-input-control-"+o,label:e,className:V()("block-editor-url-input",t,{"is-full-width":n})},h={value:i,required:!0,className:"block-editor-url-input__input",type:"text",onChange:this.onChange,onFocus:this.onFocus,placeholder:r,onKeyDown:this.onKeyDown,role:"combobox","aria-label":Object(s.__)("URL"),"aria-expanded":d,"aria-autocomplete":"list","aria-owns":p,"aria-activedescendant":null!==b?`${m}-${b}`:void 0,ref:this.inputRef};return c?c(f,h,a):Object(l.createElement)(u.BaseControl,f,Object(l.createElement)("input",h),a&&Object(l.createElement)(u.Spinner,null))}renderSuggestions(){const{className:e,__experimentalRenderSuggestions:t,value:n="",__experimentalShowInitialSuggestions:o=!1}=this.props,{showSuggestions:r,suggestions:c,selectedSuggestion:s,suggestionsListboxId:d,suggestionOptionIdPrefix:b,loading:p}=this.state,m={id:d,ref:this.autocompleteRef,role:"listbox"},f=(e,t)=>({role:"option",tabIndex:"-1",id:`${b}-${t}`,ref:this.bindSuggestionNode(t),"aria-selected":t===s});return Object(a.isFunction)(t)&&r&&c.length?t({suggestions:c,selectedSuggestion:s,suggestionsListProps:m,buildSuggestionItemProps:f,isLoading:p,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:o&&!(n&&n.length)}):!Object(a.isFunction)(t)&&r&&c.length?Object(l.createElement)(u.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(l.createElement)("div",Object(i.a)({},m,{className:V()("block-editor-url-input__suggestions",e+"__suggestions")}),c.map((e,t)=>Object(l.createElement)(u.Button,Object(i.a)({},f(0,t),{key:e.id,className:V()("block-editor-url-input__suggestion",{"is-selected":t===s}),onClick:()=>this.handleOnClick(e)}),e.title)))):null}}var gn=Object(Q.compose)(Q.withSafeTimeout,u.withSpokenMessages,Q.withInstanceId,Object(_.withSelect)((e,t)=>{if(Object(a.isFunction)(t.__experimentalFetchLinkSuggestions))return;const{getSettings:n}=e(S.a);return{__experimentalFetchLinkSuggestions:n().__experimentalFetchLinkSuggestions}}))(hn),On=n("Q4Sy");var vn=({searchTerm:e,onClick:t,itemProps:n,isSelected:o,buttonText:r})=>{if(!e)return null;let c;return c=r?Object(a.isFunction)(r)?r(e):r:Object(l.createInterpolateElement)(Object(s.sprintf)(Object(s.__)("Create: %s"),e),{mark:Object(l.createElement)("mark",null)}),Object(l.createElement)(u.Button,Object(i.a)({},n,{className:V()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":o}),onClick:t}),Object(l.createElement)(A.a,{className:"block-editor-link-control__search-item-icon",icon:On.a}),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-title"},c)))};var jn=Object(l.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(P.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"}));var kn=({itemProps:e,suggestion:t,isSelected:n=!1,onClick:o,isURL:r=!1,searchTerm:c="",shouldShowType:a=!1})=>Object(l.createElement)(u.Button,Object(i.a)({},e,{onClick:o,className:V()("block-editor-link-control__search-item",{"is-selected":n,"is-url":r,"is-entity":!r})}),r&&Object(l.createElement)(A.a,{className:"block-editor-link-control__search-item-icon",icon:jn}),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(l.createElement)(u.TextHighlight,{text:t.title,highlight:c})),Object(l.createElement)("span",{"aria-hidden":!r,className:"block-editor-link-control__search-item-info"},!r&&(Object(fn.filterURLForDisplay)(Object(fn.safeDecodeURI)(t.url))||""),r&&Object(s.__)("Press ENTER to add this link"))),a&&t.type&&Object(l.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===t.type?"tag":t.type));const _n=[{id:"opensInNewTab",title:Object(s.__)("Open in new tab")}];function yn({instanceId:e,withCreateSuggestion:t,currentInputValue:n,handleSuggestionClick:o,suggestionsListProps:r,buildSuggestionItemProps:c,suggestions:a,selectedSuggestion:d,isLoading:b,isInitialSuggestions:p,createSuggestionButtonText:m,suggestionsQuery:f}){const h=V()("block-editor-link-control__search-results",{"is-loading":b}),g=["url","mailto","tel","internal"],O=1===a.length&&g.includes(a[0].type.toLowerCase()),v=t&&!O&&!p,j=!(null!=f&&f.type),k="block-editor-link-control-search-results-label-"+e,_=p?Object(s.__)("Recently updated"):Object(s.sprintf)(Object(s.__)('Search results for "%s"'),n),y=Object(l.createElement)(p?l.Fragment:u.VisuallyHidden,{},Object(l.createElement)("span",{className:"block-editor-link-control__search-results-label",id:k},_));return Object(l.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},y,Object(l.createElement)("div",Object(i.a)({},r,{className:h,"aria-labelledby":k}),a.map((e,t)=>v&&"__CREATE__"===e.type?Object(l.createElement)(vn,{searchTerm:n,buttonText:m,onClick:()=>o(e),key:e.type,itemProps:c(e,t),isSelected:t===d}):"__CREATE__"===e.type?null:Object(l.createElement)(kn,{key:`${e.id}-${e.type}`,itemProps:c(e,t),suggestion:e,index:t,onClick:()=>{o(e)},isSelected:t===d,isURL:g.includes(e.type.toLowerCase()),searchTerm:n,shouldShowType:j}))))}function En(e){const t=Object(a.startsWith)(e,"#");return Object(fn.isURL)(e)||e&&e.includes("www.")||t}const Cn=()=>Promise.resolve([]),Sn=e=>{let t="URL";const n=Object(fn.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(a.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:e,title:e,url:"URL"===t?Object(fn.prependHTTP)(e):e,type:t}])};function wn(e,t,n,o){const{fetchSearchSuggestions:r}=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return{fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}},[]),c=t?Sn:Cn;return Object(l.useCallback)((t,{isInitialSuggestions:i})=>En(t)?c(t,{isInitialSuggestions:i}):(async(e,t,n,o,r,c)=>{const{isInitialSuggestions:i}=t;let l=await Promise.all([n(e,t),o(e)]);return l=!e.includes(" ")&&c&&!i?l[0].concat(l[1]):l[0],i||En(e)||!r?l:l.concat({title:e,url:e,type:"__CREATE__"})})(t,{...e,isInitialSuggestions:i},r,c,n,o),[c,r,n])}const Bn=()=>Promise.resolve([]),In=Object(l.forwardRef)(({value:e,children:t,currentLink:n={},className:o=null,placeholder:r=null,withCreateSuggestion:c=!1,onCreateSuggestion:i=a.noop,onChange:u=a.noop,onSelect:d=a.noop,showSuggestions:b=!0,renderSuggestions:p=(e=>Object(l.createElement)(yn,e)),fetchSuggestions:m=null,allowDirectEntry:f=!0,showInitialSuggestions:h=!1,suggestionsQuery:g={},withURLSuggestion:O=!0,createSuggestionButtonText:v,useLabel:j=!1},k)=>{const _=wn(g,f,c,O),y=b?m||_:Bn,E=Object(Q.useInstanceId)(In),[C,S]=Object(l.useState)(),w=async e=>{let t=e;if("__CREATE__"!==e.type)(f||t&&Object.keys(t).length>=1)&&d({...Object(a.omit)(n,"id","url"),...t},t);else try{var o;t=await i(e.title),null!==(o=t)&&void 0!==o&&o.url&&d(t)}catch(e){}},B=V()(o,{"has-no-label":!j});return Object(l.createElement)("div",{className:"block-editor-link-control__search-input-container"},Object(l.createElement)(gn,{label:j?"URL":void 0,className:B,value:e,onChange:(e,t)=>{u(e),S(t)},placeholder:null!=r?r:Object(s.__)("Search or type url"),__experimentalRenderSuggestions:b?t=>p({...t,instanceId:E,withCreateSuggestion:c,currentInputValue:e,createSuggestionButtonText:v,suggestionsQuery:g,handleSuggestionClick:e=>{t.handleSuggestionClick&&t.handleSuggestionClick(e),w(e)}}):null,__experimentalFetchLinkSuggestions:y,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:h,onSubmit:(t,n)=>{var o;const r=t||C;r||null!=e&&null!==(o=e.trim())&&void 0!==o&&o.length?w(r||{url:e}):n.preventDefault()},ref:k}),t)});var xn=In,Tn=n("FnAh"),Pn=n("B9Az"),Rn=n("Mp0b");const{Slot:Nn,Fill:Ln}=Object(u.createSlotFill)("BlockEditorLinkControlViewer");function Mn(e,t){switch(t.type){case"RESOLVED":return{...e,isFetching:!1,richData:t.richData};case"ERROR":return{...e,isFetching:!1,richData:null};case"LOADING":return{...e,isFetching:!0};default:throw new Error("Unexpected action type "+t.type)}}var An=function(e){const[t,n]=Object(l.useReducer)(Mn,{richData:null,isFetching:!1}),{fetchRichUrlData:o}=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return{fetchRichUrlData:t().__experimentalFetchRichUrlData}},[]);return Object(l.useEffect)(()=>{if(null!=e&&e.length&&o&&"undefined"!=typeof AbortController){n({type:"LOADING"});const t=new window.AbortController,r=t.signal;return o(e,{signal:r}).then(e=>{n({type:"RESOLVED",richData:e})}).catch(()=>{r.aborted||n({type:"ERROR"})}),()=>{t.abort()}}},[e]),t};function Dn({value:e,onEditClick:t,hasRichPreviews:n=!1,hasUnlinkControl:o=!1,onRemove:r}){const c=n?null==e?void 0:e.url:null,{richData:i,isFetching:a}=An(c),d=i&&Object.keys(i).length,b=e&&Object(fn.filterURLForDisplay)(Object(fn.safeDecodeURI)(e.url),16)||"",p=(null==i?void 0:i.title)||(null==e?void 0:e.title)||b,m=!e.url.length;let f;return f=null!=i&&i.icon?Object(l.createElement)("img",{src:null==i?void 0:i.icon,alt:""}):m?Object(l.createElement)(A.a,{icon:Tn.a,size:32}):Object(l.createElement)(A.a,{icon:jn}),Object(l.createElement)("div",{"aria-label":Object(s.__)("Currently selected"),"aria-selected":"true",className:V()("block-editor-link-control__search-item",{"is-current":!0,"is-rich":d,"is-fetching":!!a,"is-preview":!0,"is-error":m})},Object(l.createElement)("div",{className:"block-editor-link-control__search-item-top"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:V()("block-editor-link-control__search-item-icon",{"is-image":null==i?void 0:i.icon})},f),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-details"},m?Object(l.createElement)("span",{className:"block-editor-link-control__search-item-error-notice"},"Link is empty"):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.ExternalLink,{className:"block-editor-link-control__search-item-title",href:e.url},Object(dn.__unstableStripHTML)(p)),(null==e?void 0:e.url)&&Object(l.createElement)("span",{className:"block-editor-link-control__search-item-info"},b)))),Object(l.createElement)(u.Button,{icon:Pn.a,label:Object(s.__)("Edit"),className:"block-editor-link-control__search-item-action",onClick:t,iconSize:24}),o&&Object(l.createElement)(u.Button,{icon:Rn.a,label:Object(s.__)("Unlink"),className:"block-editor-link-control__search-item-action block-editor-link-control__unlink",onClick:r,iconSize:24}),Object(l.createElement)(Nn,{fillProps:e})),(d&&((null==i?void 0:i.image)||(null==i?void 0:i.description))||a)&&Object(l.createElement)("div",{className:"block-editor-link-control__search-item-bottom"},((null==i?void 0:i.image)||a)&&Object(l.createElement)("div",{"aria-hidden":!(null!=i&&i.image),className:V()("block-editor-link-control__search-item-image",{"is-placeholder":!(null!=i&&i.image)})},(null==i?void 0:i.image)&&Object(l.createElement)("img",{src:null==i?void 0:i.image,alt:""})),((null==i?void 0:i.description)||a)&&Object(l.createElement)("div",{"aria-hidden":!(null!=i&&i.description),className:V()("block-editor-link-control__search-item-description",{"is-placeholder":!(null!=i&&i.description)})},(null==i?void 0:i.description)&&Object(l.createElement)(u.__experimentalText,{truncate:!0,numberOfLines:"2"},i.description))))}const Fn=e=>{let t=!1;return{promise:new Promise((n,o)=>{e.then(e=>t?o({isCanceled:!0}):n(e),e=>o(t?{isCanceled:!0}:e))}),cancel(){t=!0}}};function zn({searchInputPlaceholder:e,value:t,settings:n=_n,onChange:o=a.noop,onRemove:r,noDirectEntry:c=!1,showSuggestions:i=!0,showInitialSuggestions:d,forceIsEditingLink:b,createSuggestion:p,withCreateSuggestion:m,inputValue:f="",suggestionsQuery:h={},noURLSuggestion:g=!1,createSuggestionButtonText:O,hasRichPreviews:v=!1,hasTextControl:j=!1,renderControlBottom:k=null}){var _,y,E;void 0===m&&p&&(m=!0);const C=Object(l.useRef)(!0),S=Object(l.useRef)(),w=Object(l.useRef)(),[B,I]=Object(l.useState)((null==t?void 0:t.url)||""),[x,T]=Object(l.useState)((null==t?void 0:t.title)||""),P=f||B,[R,N]=Object(l.useState)(void 0!==b?b:!t||!t.url),M=Object(l.useRef)(!1),A=!(null!=P&&null!==(_=P.trim())&&void 0!==_&&_.length);function D(){var e;M.current=!(null===(e=S.current)||void 0===e||!e.contains(S.current.ownerDocument.activeElement)),N(!1)}Object(l.useEffect)(()=>{void 0!==b&&b!==R&&N(b)},[b]),Object(l.useEffect)(()=>{if(C.current)return void(C.current=!1);const e=null!=w&&w.current?1:0;(dn.focus.focusable.find(S.current)[e]||S.current).focus(),M.current=!1},[R]),Object(l.useEffect)(()=>{null!=t&&t.title&&t.title!==x&&T(t.title),null!=t&&t.url&&I(t.url)},[t]);const{createPage:F,isCreatingPage:z,errorMessage:H}=function(e){const t=Object(l.useRef)(),[n,o]=Object(l.useState)(!1),[r,c]=Object(l.useState)(null);return Object(l.useEffect)(()=>()=>{t.current&&t.current.cancel()},[]),{createPage:async function(n){o(!0),c(null);try{return t.current=Fn(Promise.resolve(e(n))),await t.current.promise}catch(e){if(e&&e.isCanceled)return;throw c(e.message||Object(s.__)("An unknown error occurred during creation. Please try again.")),e}finally{o(!1)}},isCreatingPage:n,errorMessage:r}}(p),G=()=>{P===(null==t?void 0:t.url)&&x===(null==t?void 0:t.title)||o({url:P,title:x}),D()},U=r&&t&&!R&&!z,W=!(null==n||!n.length),q=(null==t||null===(y=t.url)||void 0===y||null===(E=y.trim())||void 0===E?void 0:E.length)>0&&j;return Object(l.createElement)("div",{tabIndex:-1,ref:S,className:"block-editor-link-control"},z&&Object(l.createElement)("div",{className:"block-editor-link-control__loading"},Object(l.createElement)(u.Spinner,null)," ",Object(s.__)("Creating"),"…"),(R||!t)&&!z&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:V()({"block-editor-link-control__search-input-wrapper":!0,"has-text-control":q})},q&&Object(l.createElement)(u.TextControl,{ref:w,className:"block-editor-link-control__field block-editor-link-control__text-content",label:"Text",value:x,onChange:T,onKeyDown:e=>{const{keyCode:t}=e;t!==L.ENTER||A||(e.preventDefault(),G())}}),Object(l.createElement)(xn,{currentLink:t,className:"block-editor-link-control__field block-editor-link-control__search-input",placeholder:e,value:P,withCreateSuggestion:m,onCreateSuggestion:F,onChange:I,onSelect:e=>{o({...e,title:x||(null==e?void 0:e.title)}),D()},showInitialSuggestions:d,allowDirectEntry:!c,showSuggestions:i,suggestionsQuery:h,withURLSuggestion:!g,createSuggestionButtonText:O,useLabel:q},Object(l.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(l.createElement)(u.Button,{onClick:G,label:Object(s.__)("Submit"),icon:un.a,className:"block-editor-link-control__search-submit",disabled:A})))),H&&Object(l.createElement)(u.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},H)),t&&!R&&!z&&Object(l.createElement)(Dn,{key:null==t?void 0:t.url,value:t,onEditClick:()=>N(!0),hasRichPreviews:v,hasUnlinkControl:U,onRemove:r}),W&&Object(l.createElement)("div",{className:"block-editor-link-control__tools"},Object(l.createElement)(bn,{value:t,settings:n,onChange:o})),k&&k())}zn.ViewerFill=Ln;var Hn=zn,Vn=n("weEX"),Gn=n("gdqT"),Un=n("rH4q"),Wn=n("NTP4");var qn=Object(u.withFilters)("editor.MediaUpload")(()=>null);var Kn=function({fallback:e=null,children:t}){return Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return!!t().mediaUpload},[])?t:e};var $n=Object(Q.compose)([Object(_.withDispatch)(e=>{const{createNotice:t,removeNotice:n}=e(Vt.store);return{createNotice:t,removeNotice:n}}),Object(u.withFilters)("editor.MediaReplaceFlow")])(({mediaURL:e,mediaId:t,allowedTypes:n,accept:o,onSelect:r,onSelectURL:c,onFilesUpload:i=a.noop,name:d=Object(s.__)("Replace"),createNotice:b,removeNotice:p,children:m})=>{const[f,h]=Object(l.useState)(e),g=Object(_.useSelect)(e=>e(S.a).getSettings().mediaUpload,[]),O=Object(l.createRef)(),v=Object(a.uniqueId)("block-editor/media-replace-flow/error-notice/"),j=e=>{const t=document.createElement("div");t.innerHTML=Object(l.renderToString)(e);const n=t.textContent||t.innerText||"";setTimeout(()=>{b("error",n,{speak:!0,id:v,isDismissible:!0})},1e3)},k=e=>{h(e.url),r(e),Object(Gn.speak)(Object(s.__)("The media file has been replaced")),p(v)},y=e=>{e.keyCode===L.DOWN&&(e.preventDefault(),e.target.click())};return Object(l.createElement)(u.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:({isOpen:e,onToggle:t})=>Object(l.createElement)(u.ToolbarButton,{ref:O,"aria-expanded":e,"aria-haspopup":"true",onClick:t,onKeyDown:y},d),renderContent:({onClose:e})=>Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(l.createElement)(qn,{value:t,onSelect:e=>k(e),allowedTypes:n,render:({open:e})=>Object(l.createElement)(u.MenuItem,{icon:Un.a,onClick:e},Object(s.__)("Open Media Library"))}),Object(l.createElement)(Kn,null,Object(l.createElement)(u.FormFileUpload,{onChange:e=>{(e=>{const t=e.target.files;i(t);g({allowedTypes:n,filesList:t,onFileChange:([e])=>{k(e)},onError:j})})(e)},accept:o,render:({openFileDialog:e})=>Object(l.createElement)(u.MenuItem,{icon:Wn.a,onClick:()=>{e()}},Object(s.__)("Upload"))})),m),c&&Object(l.createElement)("form",{className:"block-editor-media-flow__url-input"},Object(l.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(s.__)("Current media URL:")),Object(l.createElement)(Hn,{value:{url:f},settings:[],showSuggestions:!1,onChange:({url:e})=>{h(e),c(e),O.current.focus()}})))})}),Yn=n("NMb1"),Xn=n.n(Yn);function Zn({url:e,urlLabel:t,className:n}){const o=V()(n,"block-editor-url-popover__link-viewer-url");return e?Object(l.createElement)(u.ExternalLink,{className:o,href:e},t||Object(fn.filterURLForDisplay)(Object(fn.safeDecodeURI)(e))):Object(l.createElement)("span",{className:o})}function Qn({additionalControls:e,children:t,renderSettings:n,position:o="bottom center",focusOnMount:r="firstElement",...c}){const[a,d]=Object(l.useState)(!1),b=!!n&&a;return Object(l.createElement)(u.Popover,Object(i.a)({className:"block-editor-url-popover",focusOnMount:r,position:o},c),Object(l.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(l.createElement)("div",{className:"block-editor-url-popover__row"},t,!!n&&Object(l.createElement)(u.Button,{className:"block-editor-url-popover__settings-toggle",icon:qe.a,label:Object(s.__)("Link settings"),onClick:()=>{d(!a)},"aria-expanded":a})),b&&Object(l.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},n())),e&&!b&&Object(l.createElement)("div",{className:"block-editor-url-popover__additional-controls"},e))}Qn.LinkEditor=function({autocompleteRef:e,className:t,onChangeInputValue:n,value:o,...r}){return Object(l.createElement)("form",Object(i.a)({className:V()("block-editor-url-popover__link-editor",t)},r),Object(l.createElement)(gn,{value:o,onChange:n,autocompleteRef:e}),Object(l.createElement)(u.Button,{icon:un.a,label:Object(s.__)("Apply"),type:"submit"}))},Qn.LinkViewer=function({className:e,linkClassName:t,onEditLinkClick:n,url:o,urlLabel:r,...c}){return Object(l.createElement)("div",Object(i.a)({className:V()("block-editor-url-popover__link-viewer",e)},c),Object(l.createElement)(Zn,{url:o,urlLabel:r,className:t}),n&&Object(l.createElement)(u.Button,{icon:Pn.a,label:Object(s.__)("Edit"),onClick:n}))};var Jn=Qn;const eo=({src:e,onChange:t,onSubmit:n,onClose:o})=>Object(l.createElement)(Jn,{onClose:o},Object(l.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:n},Object(l.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"text","aria-label":Object(s.__)("URL"),placeholder:Object(s.__)("Paste or type URL"),onChange:t,value:e}),Object(l.createElement)(u.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:un.a,label:Object(s.__)("Apply"),type:"submit"})));var to=Object(u.withFilters)("editor.MediaPlaceholder")((function({value:e={},allowedTypes:t,className:n,icon:o,labels:r={},mediaPreview:c,notices:i,isAppender:d,accept:b,addToGallery:p,multiple:m=!1,handleUpload:f=!0,dropZoneUIOnly:h,disableDropZone:g,disableMediaButtons:O,onError:v,onSelect:j,onCancel:k,onSelectURL:y,onDoubleClick:E,onFilesPreUpload:C=a.noop,onHTMLDrop:w=a.noop,children:B,mediaLibraryButton:I,placeholder:x,style:T}){const P=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return t().mediaUpload},[]),[R,N]=Object(l.useState)(""),[L,M]=Object(l.useState)(!1);Object(l.useEffect)(()=>{var t;N(null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"")},[null==e?void 0:e.src]);const A=e=>{N(e.target.value)},D=()=>{M(!0)},F=()=>{M(!1)},z=e=>{e.preventDefault(),R&&y&&(y(R),F())},H=n=>{if(!f)return j(n);let o;if(C(n),m)if(p){let t=[];o=n=>{const o=(null!=e?e:[]).filter(e=>e.id?!t.some(({id:t})=>Number(t)===Number(e.id)):!t.some(({urlSlug:t})=>e.url.includes(t)));j(o.concat(n)),t=n.map(e=>{const t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}})}}else o=j;else o=([e])=>j(e);P({allowedTypes:t,filesList:n,onFileChange:o,onError:v})},G=e=>{H(e.target.files)},U=null!=x?x:e=>{let{instructions:a,title:b}=r;if(P||y||(a=Object(s.__)("To edit this block, you need permission to upload media.")),void 0===a||void 0===b){const e=null!=t?t:[],[n]=e,o=1===e.length,r=o&&"audio"===n,c=o&&"image"===n,i=o&&"video"===n;void 0===a&&P&&(a=Object(s.__)("Upload a media file or pick one from your media library."),r?a=Object(s.__)("Upload an audio file, pick one from your media library, or add one with a URL."):c?a=Object(s.__)("Upload an image file, pick one from your media library, or add one with a URL."):i&&(a=Object(s.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===b&&(b=Object(s.__)("Media"),r?b=Object(s.__)("Audio"):c?b=Object(s.__)("Image"):i&&(b=Object(s.__)("Video")))}const p=V()("block-editor-media-placeholder",n,{"is-appender":d});return Object(l.createElement)(u.Placeholder,{icon:o,label:b,instructions:a,className:p,notices:i,onDoubleClick:E,preview:c,style:T},e,B)},W=()=>g?null:Object(l.createElement)(u.DropZone,{onFilesDrop:H,onHTMLDrop:w}),q=()=>k&&Object(l.createElement)(u.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(s.__)("Cancel"),variant:"link",onClick:k},Object(s.__)("Cancel")),K=()=>y&&Object(l.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(l.createElement)(u.Button,{className:"block-editor-media-placeholder__button",onClick:D,isPressed:L,variant:"tertiary"},Object(s.__)("Insert from URL")),L&&Object(l.createElement)(eo,{src:R,onChange:A,onSubmit:z,onClose:F}));return h||O?(h&&Xn()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{since:"5.4",alternative:"disableMediaButtons"}),Object(l.createElement)(Kn,null,W())):Object(l.createElement)(Kn,{fallback:U(K())},(()=>{const n=null!=I?I:({open:e})=>Object(l.createElement)(u.Button,{variant:"tertiary",onClick:()=>{e()}},Object(s.__)("Media Library")),o=Object(l.createElement)(qn,{addToGallery:p,gallery:m&&!(!t||0===t.length)&&t.every(e=>"image"===e||e.startsWith("image/")),multiple:m,onSelect:j,allowedTypes:t,value:Array.isArray(e)?e.map(({id:e})=>e):e.id,render:n});if(P&&d)return Object(l.createElement)(l.Fragment,null,W(),Object(l.createElement)(u.FormFileUpload,{onChange:G,accept:b,multiple:m,render:({openFileDialog:e})=>{const t=Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.Button,{variant:"primary",className:V()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onClick:e},Object(s.__)("Upload")),o,K(),q());return U(t)}}));if(P){const e=Object(l.createElement)(l.Fragment,null,W(),Object(l.createElement)(u.FormFileUpload,{variant:"primary",className:V()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:G,accept:b,multiple:m},Object(s.__)("Upload")),o,K(),q());return U(e)}return U(o)})())}));var no=({colorSettings:e,...t})=>{const n=e.map(({value:e,onChange:t,...n})=>({...n,colorValue:e,onColorChange:t}));return Object(l.createElement)(Ot.a,Object(i.a)({settings:n,gradients:[],disableCustomGradients:!0},t))},oo=n("O6Fj"),ro=n.n(oo),co=n("qRz9");const io={position:"bottom right",isAlternate:!0};var lo=()=>Object(l.createElement)(l.Fragment,null,["bold","italic","link"].map(e=>Object(l.createElement)(u.Slot,{name:"RichText.ToolbarControls."+e,key:e})),Object(l.createElement)(u.Slot,{name:"RichText.ToolbarControls"},e=>{if(!e.length)return null;const t=e.map(([{props:e}])=>e).some(({isActive:e})=>e);return Object(l.createElement)(u.ToolbarItem,null,n=>Object(l.createElement)(u.DropdownMenu,{icon:qe.a,label:Object(s.__)("More"),toggleProps:{...n,className:V()(n.className,{"is-pressed":t}),describedBy:Object(s.__)("Displays more block tools")},controls:Object(a.orderBy)(e.map(([{props:e}])=>e),"title"),popoverProps:io}))}));var ao=({inline:e,anchorRef:t})=>e?Object(l.createElement)(u.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:t,className:"block-editor-rich-text__inline-format-toolbar",__unstableSlotName:"block-toolbar"},Object(l.createElement)("div",{className:"block-editor-rich-text__inline-format-toolbar-group"},Object(l.createElement)(u.ToolbarGroup,null,Object(l.createElement)(lo,null)))):Object(l.createElement)(W.b,{group:"inline"},Object(l.createElement)(lo,null));function so(){const{didAutomaticChange:e,getSettings:t}=Object(_.useSelect)(S.a);return Object(Q.useRefEffect)(n=>{function o(n){const{keyCode:o}=n;n.defaultPrevented||o!==L.DELETE&&o!==L.BACKSPACE&&o!==L.ESCAPE||e()&&(n.preventDefault(),t().__experimentalUndo())}return n.addEventListener("keydown",o),()=>{n.removeEventListener("keydown",o)}},[])}var uo=n("xTGt");function bo(e){return e.filter(({type:e})=>/^image\/(?:jpe?g|png|gif)$/.test(e)).map(e=>``).join("")}var po=n("SVSp");function mo(e,t){if(null!=t&&t.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function fo(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function ho({allowedFormats:e,formattingControls:t,disableFormats:n}){return n?ho.EMPTY_ARRAY:e||t?e||(Xn()("wp.blockEditor.RichText formattingControls prop",{since:"5.4",alternative:"allowedFormats"}),t.map(e=>"core/"+e)):void 0}ho.EMPTY_ARRAY=[];function go({value:e,pastedBlocks:t=[],onReplace:n,onSplit:o,onSplitMiddle:r,multilineTag:c}){if(!n||!o)return;const i=[],[l,a]=Object(co.split)(e),s=t.length>0;let u=-1;const d=Object(co.isEmpty)(l)&&!Object(co.isEmpty)(a);s&&Object(co.isEmpty)(l)||(i.push(o(Object(co.toHTMLString)({value:l,multilineTag:c}),!d)),u+=1),s?(i.push(...t),u+=t.length):r&&i.push(r()),(s||r)&&Object(co.isEmpty)(a)||i.push(o(Object(co.toHTMLString)({value:a,multilineTag:c}),d));n(i,s?u:1,s?-1:0)}function Oo(e,t){return t?Object(co.replace)(e,/\n+/g,co.__UNSTABLE_LINE_SEPARATOR):Object(co.replace)(e,new RegExp(co.__UNSTABLE_LINE_SEPARATOR,"g"),"\n")}function vo(e){const t=Object(l.useRef)(e);return t.current=e,Object(Q.useRefEffect)(e=>{function n(e){const{isSelected:n,disableFormats:o,onChange:r,value:c,formatTypes:i,tagName:l,onReplace:a,onSplit:s,onSplitMiddle:u,__unstableEmbedURLOnPaste:d,multilineTag:b,preserveWhiteSpace:p,pastePlainText:m}=t.current;if(!n)return void e.preventDefault();const{clipboardData:f}=e;let h="",g="";try{h=f.getData("text/plain"),g=f.getData("text/html")}catch(e){try{g=f.getData("Text")}catch(e){return}}if(g=function(e){return e.replace(/.*/s,"").replace(/.*/s,"")}(g),e.preventDefault(),window.console.log("Received HTML:\n\n",g),window.console.log("Received plain text:\n\n",h),o)return void r(Object(co.insert)(c,h));const O=i.reduce((e,{__unstablePasteRule:t})=>(t&&e===c&&(e=t(c,{html:g,plainText:h})),e),c);if(O!==c)return void r(O);const v=[...Object(dn.getFilesFromDataTransfer)(f)];if("true"===f.getData("rich-text")){const e=f.getData("rich-text-multi-line-tag")||void 0;let t=Object(co.create)({html:g,multilineTag:e,multilineWrapperTags:"li"===e?["ul","ol"]:void 0,preserveWhiteSpace:p});return t=Oo(t,!!b),mo(t,c.activeFormats),void r(Object(co.insert)(c,t))}if(m)return void r(Object(co.insert)(c,Object(co.create)({text:h})));if(v&&v.length&&!g){const e=Object(j.pasteHandler)({HTML:bo(v),mode:"BLOCKS",tagName:l,preserveWhiteSpace:p});return window.console.log("Received items:\n\n",v),void(a&&Object(co.isEmpty)(c)?a(e):go({value:c,pastedBlocks:e,onReplace:a,onSplit:s,onSplitMiddle:u,multilineTag:b}))}let k=a&&s?"AUTO":"INLINE";var _;"AUTO"===k&&Object(co.isEmpty)(c)&&(_=h,Object(po.regexp)(".*").test(_))&&(k="BLOCKS"),d&&Object(co.isEmpty)(c)&&Object(fn.isURL)(h.trim())&&(k="BLOCKS");const y=Object(j.pasteHandler)({HTML:g,plainText:h,mode:k,tagName:l,preserveWhiteSpace:p});if("string"==typeof y){let e=Object(co.create)({html:y});e=Oo(e,!!b),mo(e,c.activeFormats),r(Object(co.insert)(c,e))}else y.length>0&&(a&&Object(co.isEmpty)(c)?a(y,y.length-1,-1):go({value:c,pastedBlocks:y,onReplace:a,onSplit:s,onSplitMiddle:u,multilineTag:b}))}return e.addEventListener("paste",n),()=>{e.removeEventListener("paste",n)}},[])}function jo(e){const{__unstableMarkLastChangeAsPersistent:t,__unstableMarkAutomaticChange:n}=Object(_.useDispatch)(S.a),o=Object(l.useRef)(e);return o.current=e,Object(Q.useRefEffect)(e=>{function r(){const{value:e,onReplace:t}=o.current;if(!t)return;const{start:r,text:c}=e;if(" "!==c.slice(r-1,r))return;const i=c.slice(0,r).trim(),l=Object(j.getBlockTransforms)("from").filter(({type:e})=>"prefix"===e),a=Object(j.findTransform)(l,({prefix:e})=>i===e);if(!a)return;const s=Object(co.toHTMLString)({value:Object(co.slice)(e,r,c.length)});t([a.transform(s)]),n()}function c(e){const{inputType:c,type:i}=e,{value:l,onChange:a,__unstableAllowPrefixTransformations:s,formatTypes:u}=o.current;if("insertText"!==c&&"compositionend"!==i)return;s&&r&&r();const d=u.reduce((e,{__unstableInputRule:t})=>(t&&(e=t(e)),e),l);d!==l&&(t(),a({...d,activeFormats:l.activeFormats}),n())}return e.addEventListener("input",c),e.addEventListener("compositionend",c),()=>{e.removeEventListener("input",c),e.removeEventListener("compositionend",c)}},[])}function ko(e){const{__unstableMarkAutomaticChange:t}=Object(_.useDispatch)(S.a),n=Object(l.useRef)(e);return n.current=e,Object(Q.useRefEffect)(e=>{function o(e){if(e.defaultPrevented)return;const{removeEditorOnlyFormats:o,value:r,onReplace:c,onSplit:i,onSplitMiddle:l,multilineTag:a,onChange:s,disableLineBreaks:u,onSplitAtEnd:d}=n.current;if(e.keyCode!==L.ENTER)return;e.preventDefault();const b={...r};b.formats=o(r);const p=c&&i;if(c){const e=Object(j.getBlockTransforms)("from").filter(({type:e})=>"enter"===e),n=Object(j.findTransform)(e,e=>e.regExp.test(b.text));n&&(c([n.transform({content:b.text})]),t())}if(a)e.shiftKey?u||s(Object(co.insert)(b,"\n")):p&&Object(co.__unstableIsEmptyLine)(b)?go({value:b,onReplace:c,onSplit:i,onSplitMiddle:l,multilineTag:a}):s(Object(co.__unstableInsertLineSeparator)(b));else{const{text:t,start:n,end:o}=b,r=d&&n===o&&o===t.length;e.shiftKey||!p&&!r?u||s(Object(co.insert)(b,"\n")):!p&&r?d():p&&go({value:b,onReplace:c,onSplit:i,onSplitMiddle:l,multilineTag:a})}}return e.addEventListener("keydown",o),()=>{e.removeEventListener("keydown",o)}},[])}function _o(e){return e(co.store).getFormatTypes()}const yo=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function Eo(e){return Object(Q.useRefEffect)(t=>{function n(t){for(const n of e.current)n(t)}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},[])}function Co(e){return Object(Q.useRefEffect)(t=>{function n(t){for(const n of e.current)n(t)}return t.addEventListener("input",n),()=>{t.removeEventListener("input",n)}},[])}function So({formatTypes:e,onChange:t,onFocus:n,value:o,forwardedRef:r}){return e.map(e=>{const{name:c,edit:i}=e;if(!i)return null;const s=Object(co.getActiveFormat)(o,c);let u=void 0!==s;const d=Object(co.getActiveObject)(o),b=void 0!==d&&d.type===c;if("core/link"===c&&!Object(co.isCollapsed)(o)){const e=o.formats,t=Object(a.find)(e[o.start],{type:"core/link"}),n=Object(a.find)(e[o.end-1],{type:"core/link"});t&&n&&t===n||(u=!1)}return Object(l.createElement)(i,{key:c,isActive:u,activeAttributes:u&&s.attributes||{},isObjectActive:b,activeObjectAttributes:b&&d.attributes||{},value:o,onChange:t,onFocus:n,contentRef:r})})}const wo=Object(l.createContext)(),Bo=Object(l.createContext)();const Io=Object(l.forwardRef)((function e({children:t,tagName:n="div",value:o="",onChange:r,isSelected:c,multiline:s,inlineToolbar:d,wrapperClassName:b,autocompleters:p,onReplace:m,placeholder:f,allowedFormats:h,formattingControls:g,withoutInteractiveFormatting:O,onRemove:v,onMerge:y,onSplit:E,__unstableOnSplitAtEnd:C,__unstableOnSplitMiddle:w,identifier:B,preserveWhiteSpace:x,__unstablePastePlainText:T,__unstableEmbedURLOnPaste:P,__unstableDisableFormats:R,disableLineBreaks:N,unstableOnFocus:M,__unstableAllowPrefixTransformations:A,...D},F){const z=Object(Q.useInstanceId)(e);B=B||z,D=function(e){return Object(a.omit)(e,["__unstableMobileNoFocusOnMount","deleteEnter","placeholderTextColor","textAlign","selectionColor","tagsToEliminate","rootTagsToEliminate","disableEditingMenu","fontSize","fontFamily","fontWeight","fontStyle","minWidth","maxWidth","setRef"])}(D);const H=Object(l.useRef)(),{clientId:G}=Object(k.c)(),{selectionStart:U,selectionEnd:W,isSelected:q,disabled:K}=Object(_.useSelect)(e=>{const{getSelectionStart:t,getSelectionEnd:n,isMultiSelecting:o,hasMultiSelection:r}=e(S.a),i=t(),l=n();let a;return void 0===c?a=i.clientId===G&&i.attributeKey===B:c&&(a=i.clientId===G),{selectionStart:a?i.offset:void 0,selectionEnd:a?l.offset:void 0,isSelected:a,disabled:o()||r()}}),{selectionChange:$}=Object(_.useDispatch)(S.a),Y=fo(s),X=ho({allowedFormats:h,formattingControls:g,disableFormats:R}),Z=!X||X.length>0;let J=o,ee=r;Array.isArray(o)&&(J=j.children.toHTML(o),ee=e=>r(j.children.fromDOM(Object(co.__unstableCreateElement)(document,e).childNodes)));const te=Object(l.useCallback)((e,t)=>{$(G,B,e,t)},[G,B]),{formatTypes:ne,prepareHandlers:oe,valueHandlers:re,changeHandlers:ce,dependencies:ie}=function({clientId:e,identifier:t,withoutInteractiveFormatting:n,allowedFormats:o}){const r=Object(_.useSelect)(_o,[]),c=Object(l.useMemo)(()=>r.filter(({name:e,tagName:t})=>!(o&&!o.includes(e))&&(!n||!yo.has(t))),[r,o,yo]),i=Object(_.useSelect)(n=>c.reduce((o,r)=>(r.__experimentalGetPropsForEditableTreePreparation&&(o[r.name]=r.__experimentalGetPropsForEditableTreePreparation(n,{richTextIdentifier:t,blockClientId:e})),o),{}),[c,e,t]),a=Object(_.useDispatch)(),s=[],u=[],d=[],b=[];return c.forEach(n=>{if(n.__experimentalCreatePrepareEditableTree){const o=i[n.name],r=n.__experimentalCreatePrepareEditableTree(o,{richTextIdentifier:t,blockClientId:e});n.__experimentalCreateOnChangeEditableValue?u.push(r):s.push(r);for(const e in o)b.push(o[e])}if(n.__experimentalCreateOnChangeEditableValue){let o={};n.__experimentalGetPropsForEditableTreeChangeHandler&&(o=n.__experimentalGetPropsForEditableTreeChangeHandler(a,{richTextIdentifier:t,blockClientId:e})),d.push(n.__experimentalCreateOnChangeEditableValue({...i[n.name]||{},...o},{richTextIdentifier:t,blockClientId:e}))}}),{formatTypes:c,prepareHandlers:s,valueHandlers:u,changeHandlers:d,dependencies:b}}({clientId:G,identifier:B,withoutInteractiveFormatting:O,allowedFormats:X});function le(e){return ne.forEach(t=>{t.__experimentalCreatePrepareEditableTree&&(e=Object(co.removeFormat)(e,t.name,0,e.text.length))}),e.formats}const{value:ae,onChange:se,ref:ue}=Object(co.__unstableUseRichText)({value:J,onChange(e,{__unstableFormats:t,__unstableText:n}){ee(e),Object.values(ce).forEach(e=>{e(t,n)})},selectionStart:U,selectionEnd:W,onSelectionChange:te,placeholder:f,__unstableIsSelected:q,__unstableMultilineTag:Y,__unstableDisableFormats:R,preserveWhiteSpace:x,__unstableDependencies:[...ie,n],__unstableAfterParse:function(e){return re.reduce((t,n)=>n(t,e.text),e.formats)},__unstableBeforeSerialize:le,__unstableAddInvisibleFormats:function(e){return oe.reduce((t,n)=>n(t,e.text),e.formats)}}),de=function(e){return Object(u.__unstableUseAutocompleteProps)({...e,completers:I(e)})}({onReplace:m,completers:p,record:ae,onChange:se});!function({value:e}){const t=e.activeFormats&&!!e.activeFormats.length,{isCaretWithinFormattedText:n}=Object(_.useSelect)(S.a),{enterFormattedText:o,exitFormattedText:r}=Object(_.useDispatch)(S.a);Object(l.useEffect)(()=>{t?n()||o():n()&&r()},[t])}({value:ae}),function({html:e,value:t}){const n=Object(l.useRef)(),o=t.activeFormats&&!!t.activeFormats.length,{__unstableMarkLastChangeAsPersistent:r}=Object(_.useDispatch)(S.a);Object(l.useLayoutEffect)(()=>{if(n.current){if(n.current!==t.text){const e=window.setTimeout(()=>{r()},1e3);return n.current=t.text,()=>{window.clearTimeout(e)}}r()}else n.current=t.text},[e,o])}({html:J,value:ae});const be=Object(l.useRef)(new Set),pe=Object(l.useRef)(new Set);function me(){H.current.focus()}const fe=n,he=Object(l.createElement)(l.Fragment,null,q&&Object(l.createElement)(wo.Provider,{value:be},Object(l.createElement)(Bo.Provider,{value:pe},Object(l.createElement)(u.Popover.__unstableSlotNameProvider,{value:"__unstable-block-tools-after"},t&&t({value:ae,onChange:se,onFocus:me}),Object(l.createElement)(So,{value:ae,onChange:se,onFocus:me,formatTypes:ne,forwardedRef:H})))),q&&Z&&Object(l.createElement)(ao,{inline:d,anchorRef:H.current}),Object(l.createElement)(fe,Object(i.a)({role:"textbox","aria-multiline":!0,"aria-label":f},D,de,{ref:Object(Q.useMergeRefs)([de.ref,D.ref,ue,jo({value:ae,onChange:se,__unstableAllowPrefixTransformations:A,formatTypes:ne,onReplace:m}),Object(Q.useRefEffect)(e=>{function t(e){(L.isKeyboardEvent.primary(e,"z")||L.isKeyboardEvent.primary(e,"y")||L.isKeyboardEvent.primaryShift(e,"z"))&&e.preventDefault()}return e.addEventListener("keydown",t),()=>{e.addEventListener("keydown",t)}},[]),Eo(be),Co(pe),so(),vo({isSelected:q,disableFormats:R,onChange:se,value:ae,formatTypes:ne,tagName:n,onReplace:m,onSplit:E,onSplitMiddle:w,__unstableEmbedURLOnPaste:P,multilineTag:Y,preserveWhiteSpace:x,pastePlainText:T}),ko({removeEditorOnlyFormats:le,value:ae,onReplace:m,onSplit:E,onSplitMiddle:w,multilineTag:Y,onChange:se,disableLineBreaks:N,onSplitAtEnd:C}),H,F]),contentEditable:!K||void 0,suppressContentEditableWarning:!K,className:V()("block-editor-rich-text__editable",D.className,"rich-text"),onFocus:M,onKeyDown:function(e){const{keyCode:t}=e;if(!e.defaultPrevented&&(t===L.DELETE||t===L.BACKSPACE)){const{start:n,end:o,text:r}=ae,c=t===L.BACKSPACE,i=ae.activeFormats&&!!ae.activeFormats.length;if(!Object(co.isCollapsed)(ae)||i||c&&0!==n||!c&&o!==r.length)return;y&&y(!c),v&&Object(co.isEmpty)(ae)&&c&&v(!c),e.preventDefault()}}})));if(!b)return he;Xn()("wp.blockEditor.RichText wrapperClassName prop",{since:"5.4",alternative:"className prop or create your own wrapper div"});const ge=V()("block-editor-rich-text",b);return Object(l.createElement)("div",{className:ge},he)}));Io.Content=({value:e,tagName:t,multiline:n,...o})=>{Array.isArray(e)&&(e=j.children.toHTML(e));const r=fo(n);!e&&r&&(e=`<${r}>`);const c=Object(l.createElement)(l.RawHTML,null,e);return t?Object(l.createElement)(t,Object(a.omit)(o,["format"]),c):c},Io.isEmpty=e=>!e||0===e.length;var xo=Io;const To=Object(l.forwardRef)((e,t)=>Object(l.createElement)(xo,Object(i.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0})));To.Content=({value:e="",tagName:t="div",...n})=>Object(l.createElement)(t,n,e);var Po=To;var Ro=Object(l.forwardRef)(({__experimentalVersion:e,...t},n)=>{if(2===e)return Object(l.createElement)(Po,Object(i.a)({ref:n},t));const{className:o,onChange:r,...c}=t;return Object(l.createElement)(ro.a,Object(i.a)({ref:n,className:V()("block-editor-plain-text",o),onChange:e=>r(e.target.value)},c))});function No({property:e,viewport:t,desc:n}){const o=Object(Q.useInstanceId)(No),r=n||Object(s.sprintf)(Object(s._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."),e,t.label);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{"aria-describedby":"rbc-desc-"+o},t.label),Object(l.createElement)(u.VisuallyHidden,{as:"span",id:"rbc-desc-"+o},r))}var Lo=function(e){const{title:t,property:n,toggleLabel:o,onIsResponsiveChange:r,renderDefaultControl:c,renderResponsiveControls:i,isResponsive:a=!1,defaultLabel:d={id:"all",label:Object(s.__)("All")},viewports:b=[{id:"small",label:Object(s.__)("Small screens")},{id:"medium",label:Object(s.__)("Medium screens")},{id:"large",label:Object(s.__)("Large screens")}]}=e;if(!t||!n||!c)return null;const p=o||Object(s.sprintf)(Object(s.__)("Use the same %s on all screensizes."),n),m=Object(s.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),f=c(Object(l.createElement)(No,{property:n,viewport:d}),d);return Object(l.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(l.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(l.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(l.createElement)(u.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!a,onChange:r,help:m}),Object(l.createElement)("div",{className:V()("block-editor-responsive-block-control__group",{"is-responsive":a})},!a&&f,a&&(i?i(b):b.map(e=>Object(l.createElement)(l.Fragment,{key:e.id},c(Object(l.createElement)(No,{property:n,viewport:e}),e)))))))};function Mo({character:e,type:t,onUse:n}){const o=Object(l.useContext)(wo),r=Object(l.useRef)();return r.current=n,Object(l.useEffect)(()=>{function n(n){L.isKeyboardEvent[t](n,e)&&(r.current(),n.preventDefault())}return o.current.add(n),()=>{o.current.delete(n)}},[e,t]),null}function Ao({name:e,shortcutType:t,shortcutCharacter:n,...o}){let r,c="RichText.ToolbarControls";return e&&(c+="."+e),t&&n&&(r=L.displayShortcut[t](n)),Object(l.createElement)(u.Fill,{name:c},Object(l.createElement)(u.ToolbarButton,Object(i.a)({},o,{shortcut:r})))}function Do({inputType:e,onInput:t}){const n=Object(l.useContext)(Bo),o=Object(l.useRef)();return o.current=t,Object(l.useEffect)(()=>{function t(t){t.inputType===e&&(o.current(),t.preventDefault())}return n.current.add(t),()=>{n.current.delete(t)}},[e]),null}const Fo=Object(l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(u.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 zo=Object(l.forwardRef)((function(e,t){const n=Object(_.useSelect)(e=>e(S.a).isNavigationMode(),[]),{setNavigationMode:o}=Object(_.useDispatch)(S.a),r=e=>{o("edit"!==e)};return Object(l.createElement)(u.Dropdown,{renderToggle:({isOpen:o,onToggle:r})=>Object(l.createElement)(u.Button,Object(i.a)({},e,{ref:t,icon:n?Fo:Pn.a,"aria-expanded":o,"aria-haspopup":"true",onClick:r,label:Object(s.__)("Tools")})),position:"bottom right",renderContent:()=>Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.NavigableMenu,{role:"menu","aria-label":Object(s.__)("Tools")},Object(l.createElement)(u.MenuItemsChoice,{value:n?"select":"edit",onSelect:r,choices:[{value:"edit",label:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(A.a,{icon:Pn.a}),Object(s.__)("Edit"))},{value:"select",label:Object(l.createElement)(l.Fragment,null,Fo,Object(s.__)("Select"))}]})),Object(l.createElement)("div",{className:"block-editor-tool-selector__help"},Object(s.__)("Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.")))})}));function Ho({units:e,...t}){const n=Object(u.__experimentalUseCustomUnits)({availableUnits:Object(it.a)("spacing.units")||["%","px","em","rem","vw"],units:e});return Object(l.createElement)(u.__experimentalUnitControl,Object(i.a)({units:n},t))}var Vo=n("Bpkj"),Go=n("cjQ8");class Uo extends l.Component{constructor(){super(...arguments),this.toggle=this.toggle.bind(this),this.submitLink=this.submitLink.bind(this),this.state={expanded:!1}}toggle(){this.setState({expanded:!this.state.expanded})}submitLink(e){e.preventDefault(),this.toggle()}render(){const{url:e,onChange:t}=this.props,{expanded:n}=this.state,o=e?Object(s.__)("Edit link"):Object(s.__)("Insert link");return Object(l.createElement)("div",{className:"block-editor-url-input__button"},Object(l.createElement)(u.Button,{icon:Vo.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!e}),n&&Object(l.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(l.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(l.createElement)(u.Button,{className:"block-editor-url-input__back",icon:Go.a,label:Object(s.__)("Close"),onClick:this.toggle}),Object(l.createElement)(gn,{value:e||"",onChange:t}),Object(l.createElement)(u.Button,{icon:un.a,label:Object(s.__)("Submit"),type:"submit"}))))}}var Wo=Uo,qo=n("w95h");const Ko=["noreferrer","noopener"],$o=Object(l.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(u.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(l.createElement)(u.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(l.createElement)(u.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),Yo=({linkDestination:e,onChangeUrl:t,url:n,mediaType:o="image",mediaUrl:r,mediaLink:c,linkTarget:i,linkClass:d,rel:b})=>{const[p,m]=Object(l.useState)(!1),f=Object(l.useCallback)(()=>{m(!0)}),[h,g]=Object(l.useState)(!1),[O,v]=Object(l.useState)(null),j=Object(l.useRef)(null),k=Object(l.useCallback)(()=>{"media"!==e&&"attachment"!==e||v(""),g(!0)}),_=Object(l.useCallback)(()=>{g(!1)}),y=Object(l.useCallback)(()=>{v(null),_(),m(!1)}),E=e=>{let t=e;return void 0===e||Object(a.isEmpty)(t)||Object(a.isEmpty)(t)||(Object(a.each)(Ko,e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")}),t!==e&&(t=t.trim()),Object(a.isEmpty)(t)&&(t=void 0)),t},C=Object(l.useCallback)(()=>e=>{const t=j.current;t&&t.contains(e.target)||(m(!1),v(null),_())}),S=Object(l.useCallback)(()=>e=>{if(O){var n;const e=(null===(n=B().find(e=>e.url===O))||void 0===n?void 0:n.linkDestination)||"custom";t({href:O,linkDestination:e})}_(),v(null),e.preventDefault()}),w=Object(l.useCallback)(()=>{t({linkDestination:"none",href:""})}),B=()=>{const e=[{linkDestination:"media",title:Object(s.__)("Media File"),url:"image"===o?r:void 0,icon:$o}];return"image"===o&&c&&e.push({linkDestination:"attachment",title:Object(s.__)("Attachment Page"),url:"image"===o?c:void 0,icon:Object(l.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(u.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(l.createElement)(u.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"}))}),e},I=Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.ToggleControl,{label:Object(s.__)("Open in new tab"),onChange:e=>{const n=(e=>{const t=e?"_blank":void 0;let n;return n=t||b?E(b):void 0,{linkTarget:t,rel:n}})(e);t(n)},checked:"_blank"===i}),Object(l.createElement)(u.TextControl,{label:Object(s.__)("Link Rel"),value:E(b)||"",onChange:e=>{t({rel:e})}}),Object(l.createElement)(u.TextControl,{label:Object(s.__)("Link CSS Class"),value:d||"",onChange:e=>{t({linkClass:e})}})),x=null!==O?O:n,T=(Object(a.find)(B(),["linkDestination",e])||{}).title;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.ToolbarButton,{icon:Vo.a,className:"components-toolbar__control",label:n?Object(s.__)("Edit link"):Object(s.__)("Insert link"),"aria-expanded":p,onClick:f}),p&&Object(l.createElement)(Jn,{onFocusOutside:C(),onClose:y,renderSettings:()=>I,additionalControls:!x&&Object(l.createElement)(u.NavigableMenu,null,Object(a.map)(B(),e=>Object(l.createElement)(u.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:()=>{v(null),(e=>{const n=B();let o;o=e?(Object(a.find)(n,t=>t.url===e)||{linkDestination:"custom"}).linkDestination:"none",t({linkDestination:o,href:e})})(e.url),_()}},e.title)))},(!n||h)&&Object(l.createElement)(Jn.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:x,onChangeInputValue:v,onSubmit:S(),autocompleteRef:j}),n&&!h&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Jn.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:n,onEditLinkClick:k,urlLabel:T}),Object(l.createElement)(u.Button,{icon:qo.a,label:Object(s.__)("Remove link"),onClick:w}))))};var Xo=n("Jyyd"),Zo=n("mlss");function Qo({children:e,className:t,isEnabled:n=!0,deviceType:o,setDeviceType:r}){if(Object(Q.useViewportMatch)("small","<"))return null;const c={className:V()(t,"block-editor-post-preview__dropdown-content"),position:"bottom left"},i={variant:"tertiary",className:"block-editor-post-preview__button-toggle",disabled:!n,children:Object(s.__)("Preview")};return Object(l.createElement)(u.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:c,toggleProps:i,icon:null},()=>Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.MenuGroup,null,Object(l.createElement)(u.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Desktop"),icon:"Desktop"===o&&Xt.a},Object(s.__)("Desktop")),Object(l.createElement)(u.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Tablet"),icon:"Tablet"===o&&Xt.a},Object(s.__)("Tablet")),Object(l.createElement)(u.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Mobile"),icon:"Mobile"===o&&Xt.a},Object(s.__)("Mobile"))),e))}function Jo(e){const[t,n]=Object(l.useState)(window.innerWidth);Object(l.useEffect)(()=>{if("Desktop"===e)return;const t=()=>n(window.innerWidth);return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]);const o=e=>{let n;switch(e){case"Tablet":n=780;break;case"Mobile":n=360;break;default:return null}return n{const t="Mobile"===e?"768px":"1024px";switch(e){case"Tablet":case"Mobile":return{width:o(e),margin:(window.innerHeight<800?36:72)+"px auto",height:t,borderRadius:"2px 2px 2px 2px",border:"1px solid #ddd",overflowY:"auto"};default:return null}})(e)}var er=n("PKbb");var tr=Object(_.withSelect)(e=>({selectedBlockClientId:e(S.a).getBlockSelectionStart()}))(({selectedBlockClientId:e})=>{const t=Object(er.b)(e);return e?Object(l.createElement)(u.Button,{variant:"secondary",className:"block-editor-skip-to-selected-block",onClick:()=>{t.current.focus()}},Object(s.__)("Skip to the selected block")):null}),nr=n("GvwK"),or=n("7NR9"),rr=n("7fqt"),cr=n("wzfx");var ir=Object(_.withSelect)(e=>{const{getMultiSelectedBlocks:t}=e(S.a);return{blocks:t()}})((function({blocks:e}){const t=Object(rr.count)(Object(j.serialize)(e),"words");return Object(l.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(l.createElement)(C.a,{icon:cr.a,showColors:!0}),Object(l.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},Object(l.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},Object(s.sprintf)(Object(s._n)("%d block","%d blocks",e.length),e.length)),Object(l.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(s.sprintf)(Object(s._n)("%d word","%d words",t),t))))}));function lr({blockName:e}){const{preferredStyle:t,onUpdatePreferredStyleVariations:n,styles:o}=Object(_.useSelect)(t=>{var n,o;const r=t(S.a).getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==r||null===(n=r.value)||void 0===n?void 0:n[e],onUpdatePreferredStyleVariations:null!==(o=null==r?void 0:r.onChange)&&void 0!==o?o:null,styles:t(j.store).getBlockStyles(e)}},[e]),r=Object(l.useMemo)(()=>[{label:Object(s.__)("Not set"),value:""},...o.map(({label:e,name:t})=>({label:e,value:t}))],[o]),c=Object(l.useCallback)(t=>{n(e,t)},[e,n]);return n&&Object(l.createElement)(u.SelectControl,{options:r,value:t||"",label:Object(s.__)("Default Style"),onChange:c})}const ar=({clientId:e,blockName:t,hasBlockStyles:n,bubblesVirtually:o})=>{const r=Object(ce.a)(e);return Object(l.createElement)("div",{className:"block-editor-block-inspector"},Object(l.createElement)(nr.a,r),Object(l.createElement)($e,{blockClientId:e}),n&&Object(l.createElement)("div",null,Object(l.createElement)(u.PanelBody,{title:Object(s.__)("Styles")},Object(l.createElement)(or.a,{clientId:e}),Object(j.hasBlockSupport)(t,"defaultStylePicker",!0)&&Object(l.createElement)(lr,{blockName:t}))),Object(l.createElement)(an.b.Slot,{bubblesVirtually:o}),Object(l.createElement)(an.b.Slot,{__experimentalGroup:"typography",bubblesVirtually:o,label:Object(s.__)("Typography")}),Object(l.createElement)(an.b.Slot,{__experimentalGroup:"dimensions",bubblesVirtually:o,label:Object(s.__)("Dimensions")}),Object(l.createElement)("div",null,Object(l.createElement)(sr,{bubblesVirtually:o})),Object(l.createElement)(tr,{key:"back"}))},sr=({bubblesVirtually:e})=>{const t=Object(u.__experimentalUseSlot)(an.a.slotName);return Boolean(t.fills&&t.fills.length)?Object(l.createElement)(u.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(s.__)("Advanced"),initialOpen:!1},Object(l.createElement)(an.b.Slot,{__experimentalGroup:"advanced",bubblesVirtually:e})):null};var ur=({showNoBlockSelectedMessage:e=!0,bubblesVirtually:t=!0})=>{const{count:n,hasBlockStyles:o,selectedBlockName:r,selectedBlockClientId:c,blockType:i}=Object(_.useSelect)(e=>{const{getSelectedBlockClientId:t,getSelectedBlockCount:n,getBlockName:o}=e(S.a),{getBlockStyles:r}=e(j.store),c=t(),i=c&&o(c),l=i&&Object(j.getBlockType)(i),a=i&&r(i);return{count:n(),selectedBlockClientId:c,selectedBlockName:i,blockType:l,hasBlockStyles:a&&a.length>0}},[]);if(n>1)return Object(l.createElement)("div",{className:"block-editor-block-inspector"},Object(l.createElement)(ir,null),Object(l.createElement)(an.b.Slot,{bubblesVirtually:t}));const a=r===Object(j.getUnregisteredTypeHandlerName)();return i&&c&&!a?Object(l.createElement)(ar,{clientId:c,blockName:i.name,hasBlockStyles:o,bubblesVirtually:t}):e?Object(l.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(s.__)("No block selected.")):null},dr=n("VyCT"),br=n("nlh6"),pr=n("w8sn"),mr=n("JygI"),fr=n("zQI6"),hr=n("U1WI"),gr=n("pXCJ"),Or=n("+gtr"),vr=n("hF7m"),jr=n("PS/H"),kr=n("xCFn"),_r=n("JUfZ"),yr=n("2z9l");function Er({children:e,__unstableContentRef:t,...n}){const o=Object(Q.useViewportMatch)("medium"),r=Object(_.useSelect)(e=>e(S.a).getSettings().hasFixedToolbar,[]),c=Object(vr.__unstableUseShortcutEventMatch)(),{getSelectedBlockClientIds:s,getBlockRootClientId:d}=Object(_.useSelect)(S.a),{duplicateBlocks:b,removeBlocks:p,insertAfterBlock:m,insertBeforeBlock:f,clearSelectedBlock:h,moveBlocksUp:g,moveBlocksDown:O}=Object(_.useDispatch)(S.a);return Object(l.createElement)("div",Object(i.a)({},n,{onKeyDown:function(e){if(c("core/block-editor/move-up",e)){const t=s();if(t.length){e.preventDefault();const n=d(Object(a.first)(t));g(t,n)}}else if(c("core/block-editor/move-down",e)){const t=s();if(t.length){e.preventDefault();const n=d(Object(a.first)(t));O(t,n)}}else if(c("core/block-editor/duplicate",e)){const t=s();t.length&&(e.preventDefault(),b(t))}else if(c("core/block-editor/remove",e)){const t=s();t.length&&(e.preventDefault(),p(t))}else if(c("core/block-editor/insert-after",e)){const t=s();t.length&&(e.preventDefault(),m(Object(a.last)(t)))}else if(c("core/block-editor/insert-before",e)){const t=s();t.length&&(e.preventDefault(),f(Object(a.first)(t)))}else if(c("core/block-editor/delete-multi-selection",e)){const t=s();t.length>1&&(e.preventDefault(),p(t))}else if(c("core/block-editor/unselect",e)){s().length>1&&(e.preventDefault(),h(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges())}}}),Object(l.createElement)(jr.b,{__unstableContentRef:t},(r||!o)&&Object(l.createElement)(_r.a,{isFixed:!0}),Object(l.createElement)(kr.a,{__unstableContentRef:t}),Object(l.createElement)(u.Popover.Slot,{name:"block-toolbar",ref:Object(yr.a)(t)}),e,Object(l.createElement)(u.Popover.Slot,{name:"__unstable-block-tools-after",ref:Object(yr.a)(t)})))}var Cr=n("+0ps"),Sr=n("5L8O"),wr=n("KyyN"),Br=n("qrxh"),Ir=n("xZzQ");var xr=function({rootClientId:e,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:r=!1,__experimentalInsertionIndex:c,__experimentalFilterValue:i,onSelect:s=a.noop,shouldFocusBlock:u=!1}){const d=Object(_.useSelect)(n=>{const{getBlockRootClientId:o}=n(S.a);return e||o(t)||void 0},[t,e]);return Object(l.createElement)(Ir.a,{onSelect:s,rootClientId:d,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:r,__experimentalInsertionIndex:c,__experimentalFilterValue:i,shouldFocusBlock:u})};function Tr(){return null}Tr.Register=function(){const{registerShortcut:e}=Object(_.useDispatch)(vr.store);return Object(l.useEffect)(()=>{e({name:"core/block-editor/duplicate",category:"block",description:Object(s.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(s.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(s.__)("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(s.__)("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(s.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(s.__)("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(s.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(s.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(s.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(s.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})},[e]),null};var Pr=Tr;function Rr(){return Xn()("wp.blockEditor.MultiSelectScrollIntoView",{hint:"This behaviour is now built-in."}),null}var Nr=n("GkEL");const Lr=new Set([L.UP,L.RIGHT,L.DOWN,L.LEFT,L.ENTER,L.BACKSPACE]);function Mr(){const e=Object(_.useSelect)(e=>e(S.a).isTyping(),[]),{stopTyping:t}=Object(_.useDispatch)(S.a);return Object(Q.useRefEffect)(n=>{if(!e)return;const{ownerDocument:o}=n;let r,c;function i(e){const{clientX:n,clientY:o}=e;r&&c&&(r!==n||c!==o)&&t(),r=n,c=o}return o.addEventListener("mousemove",i),()=>{o.removeEventListener("mousemove",i)}},[e,t])}function Ar(){const e=Object(_.useSelect)(e=>e(S.a).isTyping()),{startTyping:t,stopTyping:n}=Object(_.useDispatch)(S.a),o=Mr(),r=Object(Q.useRefEffect)(o=>{const{ownerDocument:r}=o,{defaultView:c}=r;if(e){let e;function i(t){const{target:o}=t;e=c.setTimeout(()=>{Object(dn.isTextField)(o)||n()})}function l(e){const{keyCode:t}=e;t!==L.ESCAPE&&t!==L.TAB||n()}function a(){const e=c.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||n()}return o.addEventListener("focus",i),o.addEventListener("keydown",l),r.addEventListener("selectionchange",a),()=>{c.clearTimeout(e),o.removeEventListener("focus",i),o.removeEventListener("keydown",l),r.removeEventListener("selectionchange",a)}}function s(e){const{type:n,target:r}=e;Object(dn.isTextField)(r)&&o.contains(r)&&("keydown"!==n||function(e){const{keyCode:t,shiftKey:n}=e;return!n&&Lr.has(t)}(e))&&t()}return o.addEventListener("keypress",s),o.addEventListener("keydown",s),()=>{o.removeEventListener("keypress",s),o.removeEventListener("keydown",s)}},[e,t,n]);return Object(Q.useMergeRefs)([o,r])}var Dr=function({children:e}){return Object(l.createElement)("div",{ref:Ar()},e)};function Fr(){return Xn()("PreserveScrollInReorder component",{since:"5.4",hint:"This behavior is now built-in the block list"}),null}const zr=-1!==window.navigator.userAgent.indexOf("Trident"),Hr=new Set([L.UP,L.DOWN,L.LEFT,L.RIGHT]);function Vr(){const e=Object(_.useSelect)(e=>e(S.a).hasSelectedBlock(),[]);return Object(Q.useRefEffect)(t=>{if(!e)return;const{ownerDocument:n}=t,{defaultView:o}=n;let r,c,i;function l(){r||(r=o.requestAnimationFrame(()=>{b(),r=null}))}function a(e){c&&o.cancelAnimationFrame(c),c=o.requestAnimationFrame(()=>{s(e),c=null})}function s({keyCode:e}){if(!p())return;const r=Object(dn.computeCaretRect)(o);if(!r)return;if(!i)return void(i=r);if(Hr.has(e))return void(i=r);const c=r.top-i.top;if(0===c)return;const l=Object(dn.getScrollContainer)(t);if(!l)return;const a=l===n.body,s=a?o.scrollY:l.scrollTop,u=a?0:l.getBoundingClientRect().top,d=a?i.top/o.innerHeight:(i.top-u)/(o.innerHeight-u);if(0===s&&d<.75&&function(){const e=t.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===n.activeElement}())return void(i=r);const b=a?o.innerHeight:l.clientHeight;i.top+i.height>u+b||i.top{o.removeEventListener("scroll",l,!0),o.removeEventListener("resize",l,!0),t.removeEventListener("keydown",a),t.removeEventListener("keyup",s),t.removeEventListener("mousedown",u),t.removeEventListener("touchstart",u),n.removeEventListener("selectionchange",d),o.cancelAnimationFrame(r),o.cancelAnimationFrame(c)}},[e])}var Gr=zr?e=>e.children:function({children:e}){return Object(l.createElement)("div",{ref:Vr(),className:"block-editor__typewriter"},e)},Ur=n("Zzu2"),Wr=n("TVFh");const qr=Object(a.overEvery)([dn.isTextField,dn.focus.tabbable.isTabbableIndex]);function Kr(){return Object(Q.useRefEffect)(e=>{function t(t){if(t.target!==e)return;const n=dn.focus.focusable.find(e),o=Object(a.findLast)(n,qr);if(!o)return;const{bottom:r}=o.getBoundingClientRect();t.clientY{e.addEventListener("mousedown",t)}},[])}var $r=n("hHnB");const Yr=Object(l.createContext)({});function Xr(e,t=""){var n;const o=Object(l.useContext)(Yr),{name:r}=Object(k.c)();t=t||r;const c=Boolean(null===(n=o[t])||void 0===n?void 0:n.has(e)),i=Object(l.useMemo)(()=>function(e,t,n){const o={...e,[t]:e[t]?new Set(e[t]):new Set};return o[t].add(n),o}(o,t,e),[o,t,e]);return[c,Object(l.useCallback)(({children:e})=>Object(l.createElement)(Yr.Provider,{value:i},e),[i])]}var Zr=n("/QNa")},"16Al":function(e,t,n){"use strict";var o=n("WbBG");function r(){}function c(){}c.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,c,i){if(i!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:r};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1CF3":function(e,t){e.exports=window.wp.dom},"1K8p":function(e,t,n){"use strict";var o=n("jrfk"),r=n("ez49");function c(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}c.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=c},"1ZqX":function(e,t){e.exports=window.wp.data},"1eGn":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),i=n("l3Sj"),l=n("tI+e"),a=n("1ZqX"),s=n("VKE3"),u=n("HSyU"),d=n("hF7m"),b=n("K9lf"),p=n("+0ps"),m=n("BhPs");function f({clientIds:e,children:t,__experimentalUpdateSelection:n}){const{canInsertBlockType:o,getBlockRootClientId:r,getBlocksByClientId:i,canMoveBlocks:l,canRemoveBlocks:s}=Object(a.useSelect)(m.a),{getDefaultBlockName:d,getGroupingBlockName:b}=Object(a.useSelect)(u.store),f=i(e),h=r(e[0]),g=Object(c.every)(f,e=>!!e&&Object(u.hasBlockSupport)(e.name,"multiple",!0)&&o(e.name,h)),O=o(d(),h),v=l(e,h),j=s(e,h),{removeBlocks:k,replaceBlocks:_,duplicateBlocks:y,insertAfterBlock:E,insertBeforeBlock:C,flashBlock:S,setBlockMovingClientId:w,setNavigationMode:B,selectBlock:I}=Object(a.useDispatch)(m.a),x=Object(p.c)();return t({canDuplicate:g,canInsertDefaultBlock:O,canMove:v,canRemove:j,rootClientId:h,blocks:f,onDuplicate:()=>y(e,n),onRemove:()=>k(e,n),onInsertBefore(){C(Object(c.first)(Object(c.castArray)(e)))},onInsertAfter(){E(Object(c.last)(Object(c.castArray)(e)))},onMoveTo(){B(!0),I(e[0]),w(e[0])},onGroup(){if(!f.length)return;const t=b(),n=Object(u.switchToBlockType)(f,t);n&&_(e,n)},onUngroup(){if(!f.length)return;const t=f[0].innerBlocks;t.length&&_(e,t)},onCopy(){const e=f.map(({clientId:e})=>e);1===f.length&&S(e[0]),x("copy",e)}})}var h=Object(b.compose)([Object(a.withSelect)((e,{clientId:t})=>{const{getBlock:n,getBlockMode:o,getSettings:r}=e(m.a),c=n(t),i=r().codeEditingEnabled;return{mode:o(t),blockType:c?Object(u.getBlockType)(c.name):null,isCodeEditingEnabled:i}}),Object(a.withDispatch)((e,{onToggle:t=c.noop,clientId:n})=>({onToggleMode(){e(m.a).toggleBlockMode(n),t()}}))])((function({blockType:e,mode:t,onToggleMode:n,small:o=!1,isCodeEditingEnabled:c=!0}){if(!Object(u.hasBlockSupport)(e,"html",!0)||!c)return null;const a="visual"===t?Object(i.__)("Edit as HTML"):Object(i.__)("Edit visually");return Object(r.createElement)(l.MenuItem,{onClick:n},!o&&a)}));var g=Object(b.compose)(Object(a.withSelect)((e,{clientId:t})=>{const n=e(m.a).getBlock(t);return{block:n,shouldRender:n&&"core/html"===n.name}}),Object(a.withDispatch)((e,{block:t})=>({onClick:()=>e(m.a).replaceBlocks(t.clientId,Object(u.rawHandler)({HTML:Object(u.getBlockContent)(t)}))})))((function({shouldRender:e,onClick:t,small:n}){if(!e)return null;const o=Object(i.__)("Convert to Blocks");return Object(r.createElement)(l.MenuItem,{onClick:t},!n&&o)})),O=n("Jyyd"),v=n("pXCJ");const j={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};function k({blocks:e,onCopy:t}){const n=Object(b.useCopyToClipboard)(()=>Object(u.serialize)(e),t);return Object(r.createElement)(l.MenuItem,{ref:n},Object(i.__)("Copy"))}t.a=function({clientIds:e,__experimentalSelectBlock:t,children:n,...b}){const p=Object(c.castArray)(e),_=p.length,y=p[0],{onlyBlock:E,title:C}=Object(a.useSelect)(e=>{var t;const{getBlockCount:n,getBlockName:o}=e(m.a),{getBlockType:r}=e(u.store);return{onlyBlock:1===n(),title:null===(t=r(o(y)))||void 0===t?void 0:t.title}},[y]),S=Object(a.useSelect)(e=>{const{getShortcutRepresentation:t}=e(d.store);return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}},[]),w=Object(r.useCallback)(t?async e=>{const n=await e;n&&n[0]&&t(n[0])}:c.noop,[t]),B=Object(i.sprintf)(Object(i.__)("Remove %s"),C),I=1===_?B:Object(i.__)("Remove blocks");return Object(r.createElement)(f,{clientIds:e,__experimentalUpdateSelection:!t},({canDuplicate:t,canInsertDefaultBlock:a,canMove:u,canRemove:d,onDuplicate:p,onInsertAfter:m,onInsertBefore:f,onRemove:C,onCopy:B,onMoveTo:x,blocks:T})=>Object(r.createElement)(l.DropdownMenu,Object(o.a)({icon:s.a,label:Object(i.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:j,noIcons:!0},b),({onClose:o})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.MenuGroup,null,Object(r.createElement)(O.a.Slot,{fillProps:{onClose:o}}),1===_&&Object(r.createElement)(g,{clientId:y}),Object(r.createElement)(k,{blocks:T,onCopy:B}),t&&Object(r.createElement)(l.MenuItem,{onClick:Object(c.flow)(o,p,w),shortcut:S.duplicate},Object(i.__)("Duplicate")),a&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.MenuItem,{onClick:Object(c.flow)(o,f),shortcut:S.insertBefore},Object(i.__)("Insert before")),Object(r.createElement)(l.MenuItem,{onClick:Object(c.flow)(o,m),shortcut:S.insertAfter},Object(i.__)("Insert after"))),u&&!E&&Object(r.createElement)(l.MenuItem,{onClick:Object(c.flow)(o,x)},Object(i.__)("Move to")),1===_&&Object(r.createElement)(h,{clientId:y,onToggle:o})),Object(r.createElement)(v.a.Slot,{fillProps:{onClose:o},clientIds:e}),"function"==typeof n?n({onClose:o}):r.Children.map(e=>Object(r.cloneElement)(e,{onClose:o})),d&&Object(r.createElement)(l.MenuGroup,null,Object(r.createElement)(l.MenuItem,{onClick:Object(c.flow)(o,C,w),shortcut:S.remove},I)))))}},"1iEr":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=c},"1oY3":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("wx14"),r=n("GRId"),c=n("NtoT"),i=n("jwne");const l=c.a;l.Slot=i.a;const a=e=>Object(r.createElement)(c.a,Object(o.a)({},e,{__experimentalGroup:"advanced"}));a.Slot=e=>Object(r.createElement)(i.a,Object(o.a)({},e,{__experimentalGroup:"advanced"})),a.slotName="InspectorAdvancedControls",t.b=l},"1uGa":function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),i=n("RxS6");t.a=function({colorPalette:e,duotonePalette:t,disableCustomColors:n,disableCustomDuotone:l,value:a,onChange:s}){return Object(o.createElement)(r.Dropdown,{popoverProps:{className:"block-editor-duotone-control__popover",headerTitle:Object(c.__)("Duotone"),isAlternate:!0},renderToggle:({isOpen:e,onToggle:t})=>Object(o.createElement)(r.ToolbarButton,{showTooltip:!0,onClick:t,"aria-haspopup":"true","aria-expanded":e,onKeyDown:n=>{e||n.keyCode!==i.DOWN||(n.preventDefault(),t())},label:Object(c.__)("Apply duotone filter"),icon:Object(o.createElement)(r.DuotoneSwatch,{values:a})}),renderContent:()=>Object(o.createElement)(r.MenuGroup,{label:Object(c.__)("Duotone")},Object(o.createElement)("div",{className:"block-editor-duotone-control__description"},Object(c.__)("Create a two-tone color effect without losing your original image.")),Object(o.createElement)(r.DuotonePicker,{colorPalette:e,duotonePalette:t,disableCustomColors:n,disableCustomDuotone:l,value:a,onChange:s}))})}},"2YCo":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),i=n("bVTw"),l=n("Tqx9");var a=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},Object(o.createElement)(l.Path,{fillRule:"evenodd",d:"M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",clipRule:"evenodd"}));var s=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},Object(o.createElement)(l.Path,{fillRule:"evenodd",d:"M5.25 11.25h1.5v1.5h-1.5v-1.5zm3 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5zm1.5 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5z",clipRule:"evenodd"}));const u=[{label:Object(c.__)("Solid"),icon:i.a,value:"solid"},{label:Object(c.__)("Dashed"),icon:a,value:"dashed"},{label:Object(c.__)("Dotted"),icon:s,value:"dotted"}];function d({onChange:e,value:t}){return Object(o.createElement)("fieldset",{className:"components-border-style-control"},Object(o.createElement)("legend",null,Object(c.__)("Style")),Object(o.createElement)("div",{className:"components-border-style-control__buttons"},u.map(n=>Object(o.createElement)(r.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:n.value===t,onClick:()=>e(n.value===t?void 0:n.value),"aria-label":n.label}))))}},"2gm7":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=c},"2z9l":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("K9lf");function r(e){return Object(o.useRefEffect)(t=>{if(!e)return;function n(t){const{deltaX:n,deltaY:o}=t;e.current.scrollBy(n,o)}const o={passive:!0};return t.addEventListener("wheel",n,o),()=>{t.removeEventListener("wheel",n,o)}},[e])}},"5L8O":function(e,t,n){"use strict";var o=n("GRId"),r=n("TSYQ"),c=n.n(r),i=n("l3Sj"),l=n("K9lf"),a=n("HSyU"),s=n("rmEH"),u=n("1ZqX"),d=n("qrxh"),b=n("BhPs");t.a=Object(l.compose)(Object(u.withSelect)((e,t)=>{const{getBlockCount:n,getBlockName:o,isBlockValid:r,getSettings:c,getTemplateLock:i}=e(b.a),l=!n(t.rootClientId),s=o(t.lastBlockClientId)===Object(a.getDefaultBlockName)(),u=r(t.lastBlockClientId),{bodyPlaceholder:d}=c();return{isVisible:l||!s||!u,showPrompt:l,isLocked:!!i(t.rootClientId),placeholder:d}}),Object(u.withDispatch)((e,t)=>{const{insertDefaultBlock:n,startTyping:o}=e(b.a);return{onAppend(){const{rootClientId:e}=t;n(void 0,e),o()}}}))((function({isLocked:e,isVisible:t,onAppend:n,showPrompt:r,placeholder:l,rootClientId:a}){if(e||!t)return null;const u=Object(s.decodeEntities)(l)||Object(i.__)("Type / to choose a block");return Object(o.createElement)("div",{"data-root-client-id":a||"",className:c()("block-editor-default-block-appender",{"has-visible-prompt":r})},Object(o.createElement)("p",{tabIndex:"0",contentEditable:!0,suppressContentEditableWarning:!0,role:"button","aria-label":Object(i.__)("Add block"),className:"block-editor-default-block-appender__content",onFocus:n},r?u:"\ufeff"),Object(o.createElement)(d.a,{rootClientId:a,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}))},"5gPN":function(e,t,n){"use strict";n.d(t,"b",(function(){return o.a})),n.d(t,"c",(function(){return o.b})),n.d(t,"d",(function(){return o.c})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return b}));var o=n("bVpQ"),r=n("wx14"),c=n("GRId"),i=n("YLtl"),l=n("K9lf"),a=n("v5LD");const s=[];function u(e,t){const n=Object(i.reduce)(e,(e,t)=>({...e,...Object(i.isString)(t)?{[t]:Object(i.kebabCase)(t)}:t}),{});return Object(l.compose)([t,e=>class extends c.Component{constructor(e){super(e),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(e){const{colors:t}=this.props;return Object(o.d)(t,e)}createSetters(){return Object(i.reduce)(n,(e,t,n)=>{const o=Object(i.upperFirst)(n),r="custom"+o;return e["set"+o]=this.createSetColor(n,r),e},{})}createSetColor(e,t){return n=>{const r=Object(o.c)(this.props.colors,n);this.props.setAttributes({[e]:r&&r.slug?r.slug:void 0,[t]:r&&r.slug?void 0:n})}}static getDerivedStateFromProps({attributes:e,colors:t},r){return Object(i.reduce)(n,(n,c,l)=>{const a=Object(o.b)(t,e[l],e["custom"+Object(i.upperFirst)(l)]),s=r[l];return(null==s?void 0:s.color)===a.color&&s?n[l]=s:n[l]={...a,class:Object(o.a)(c,a.slug)},n},{})}render(){return Object(c.createElement)(e,Object(r.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}])}function d(e){return(...t)=>{const n=(e=>Object(l.createHigherOrderComponent)(t=>n=>Object(c.createElement)(t,Object(r.a)({},n,{colors:e})),"withCustomColorPalette"))(e);return Object(l.createHigherOrderComponent)(u(t,n),"withCustomColors")}}function b(...e){const t=Object(l.createHigherOrderComponent)(e=>t=>{const n=Object(a.a)("color.palette")||s;return Object(c.createElement)(e,Object(r.a)({},t,{colors:n}))},"withEditorColorPalette");return Object(l.createHigherOrderComponent)(u(e,t),"withColors")}},"6ZVF":function(e,t,n){"use strict";var o=n("GRId"),r=n("HSyU"),c=n("wx14"),i=n("TSYQ"),l=n.n(i),a=n("RxS6"),s=n("7SSY"),u=n("M+co"),d=n("j6zP");function b(e=window){const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}var p=Object(o.memo)((function({className:e,isFirst:t,item:n,onSelect:i,onHover:p,isDraggable:m,...f}){const h=Object(o.useRef)(!1),g=n.icon?{backgroundColor:n.icon.background,color:n.icon.foreground}:{},O=Object(o.useMemo)(()=>[Object(r.createBlock)(n.name,n.initialAttributes,Object(r.createBlocksFromInnerBlocksTemplate)(n.innerBlocks))],[n.name,n.initialAttributes,n.initialAttributes]);return Object(o.createElement)(d.a,{isEnabled:m&&!n.disabled,blocks:O,icon:n.icon},({draggable:r,onDragStart:d,onDragEnd:m})=>Object(o.createElement)("div",{className:"block-editor-block-types-list__list-item",draggable:r,onDragStart:e=>{h.current=!0,d&&(p(null),d(e))},onDragEnd:e=>{h.current=!1,m&&m(e)}},Object(o.createElement)(u.a,Object(c.a)({isFirst:t,className:l()("block-editor-block-types-list__item",e),disabled:n.isDisabled,onClick:e=>{e.preventDefault(),i(n,b()?e.metaKey:e.ctrlKey),p(null)},onKeyDown:e=>{const{keyCode:t}=e;t===a.ENTER&&(e.preventDefault(),i(n,b()?e.metaKey:e.ctrlKey),p(null))},onFocus:()=>{h.current||p(n)},onMouseEnter:()=>{h.current||p(n)},onMouseLeave:()=>p(null),onBlur:()=>p(null)},f),Object(o.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:g},Object(o.createElement)(s.a,{icon:n.icon,showColors:!0})),Object(o.createElement)("span",{className:"block-editor-block-types-list__item-title"},n.title))))})),m=n("xkPd"),f=n("HC45");t.a=function({items:e=[],onSelect:t,onHover:n=(()=>{}),children:c,label:i,isDraggable:l=!0}){return Object(o.createElement)(m.a,{className:"block-editor-block-types-list","aria-label":i},function(e,t){const n=[];for(let o=0,r=e.length;oObject(o.createElement)(f.a,{key:c},e.map((e,i)=>Object(o.createElement)(p,{key:e.id,item:e,className:Object(r.getBlockMenuDefaultClassName)(e.id),onSelect:t,onHover:n,isDraggable:l,isFirst:0===c&&0===i})))),c)}},"6c9H":function(e,t,n){"use strict";var o=n("GRId"),r=n("fHnH"),c=n("abaT"),i=n("7bKH"),l=n("gdqT"),a=n("l3Sj"),s=n("tI+e");function u({colordBackgroundColor:e,colordTextColor:t,backgroundColor:n,textColor:r}){const c=e.brightness(){Object(l.speak)(Object(a.__)("This color combination may be hard for people to read."))},[n,r]),Object(o.createElement)("div",{className:"block-editor-contrast-checker"},Object(o.createElement)(s.Notice,{spokenMessage:null,status:"warning",isDismissible:!1},c))}Object(r.b)([c.a,i.a]),t.a=function({backgroundColor:e,fallbackBackgroundColor:t,fallbackTextColor:n,fontSize:c,isLargeText:i,textColor:l}){if(!e&&!t||!l&&!n)return null;const a=Object(r.a)(e||t),s=Object(r.a)(l||n);return 1!==a.alpha()||1!==s.alpha()||s.isReadable(a,{level:"AA",size:i||!1!==i&&c>=24?"large":"small"})?null:Object(o.createElement)(u,{backgroundColor:e,textColor:l,colordBackgroundColor:a,colordTextColor:s})}},"6jxZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("K9lf"),c=n("OL6h"),i=n("BhPs");function l(e){const{isBlockSelected:t}=Object(o.useSelect)(i.a),{selectBlock:n,selectionChange:l}=Object(o.useDispatch)(i.a);return Object(r.useRefEffect)(o=>{function r(r){t(e)?r.target.isContentEditable||l(e):Object(c.c)(o,r.target)&&n(e)}return o.addEventListener("focusin",r),()=>{o.removeEventListener("focusin",r)}},[t,n])}},"715p":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("YLtl");const r=e=>{if(!Object(o.isObject)(e)||Array.isArray(e))return e;const t=Object(o.pickBy)(Object(o.mapValues)(e,r),o.identity);return Object(o.isEmpty)(t)?void 0:t}},"7NR9":function(e,t,n){"use strict";var o=n("GRId"),r=n("YLtl"),c=n("TSYQ"),i=n.n(c),l=n("1ZqX"),a=n("RxS6"),s=n("l3Sj"),u=n("HSyU"),d=n("BLeD"),b=n.n(d);var p=n("REKd"),m=n("BhPs");const f={};function h({genericPreviewBlock:e,viewportWidth:t,style:n,isActive:r,onBlur:c,onHover:l,onSelect:s,styleClassName:u,itemRole:d}){const b=Object(o.useMemo)(()=>({...e,attributes:{...e.attributes,className:u}}),[e,u]);return Object(o.createElement)("div",{key:n.name,className:i()("block-editor-block-styles__item",{"is-active":r}),onClick:()=>s(),onKeyDown:e=>{a.ENTER!==e.keyCode&&a.SPACE!==e.keyCode||(e.preventDefault(),s())},onMouseEnter:l,onMouseLeave:c,role:d||"button",tabIndex:"0","aria-label":n.label||n.name},Object(o.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(o.createElement)(p.a,{viewportWidth:t,blocks:b})),Object(o.createElement)("div",{className:"block-editor-block-styles__item-label"},n.label||n.name))}t.a=function({clientId:e,onSwitch:t=r.noop,onHoverClassName:n=r.noop,itemRole:c}){const{styles:i,block:a,type:d,className:p}=Object(l.useSelect)(t=>{const{getBlock:n}=t(m.a),o=n(e);if(!o)return f;const r=Object(u.getBlockType)(o.name),{getBlockStyles:c}=t(u.store);return{block:o,type:r,styles:c(o.name),className:o.attributes.className||""}},[e]),{updateBlockAttributes:g}=Object(l.useDispatch)(m.a),O=function(e,t){return Object(o.useMemo)(()=>{const n=null==t?void 0:t.example,o=null==t?void 0:t.name;return n&&o?Object(u.getBlockFromExample)(o,{attributes:n.attributes,innerBlocks:n.innerBlocks}):e?Object(u.cloneBlock)(e):void 0},[null!=t&&t.example?null==e?void 0:e.name:e,t])}(a,d);if(!i||0===i.length)return null;const v=Object(r.find)(i,"isDefault")?i:[{name:"default",label:Object(s._x)("Default","block style"),isDefault:!0},...i],j=function(e,t){for(const n of new b.a(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=Object(r.find)(e,{name:t});if(o)return o}return Object(r.find)(e,"isDefault")}(v,p);return Object(o.createElement)("div",{className:"block-editor-block-styles"},v.map(r=>{var i,l;const a=function(e,t,n){const o=new b.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}(p,j,r);return Object(o.createElement)(h,{genericPreviewBlock:O,viewportWidth:null!==(i=null===(l=d.example)||void 0===l?void 0:l.viewportWidth)&&void 0!==i?i:500,className:p,isActive:j===r,key:r.name,onSelect:()=>{g(e,{className:a}),n(null),t()},onBlur:()=>n(null),onHover:()=>n(a),style:r,styleClassName:a,itemRole:c})}))}},"7SSY":function(e,t,n){"use strict";var o=n("GRId"),r=n("TSYQ"),c=n.n(r),i=n("tI+e"),l=n("//Lo");t.a=Object(o.memo)((function({icon:e,showColors:t=!1,className:n}){var r;"block-default"===(null===(r=e)||void 0===r?void 0:r.src)&&(e={src:l.a});const a=Object(o.createElement)(i.Icon,{icon:e&&e.src?e.src:e}),s=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return Object(o.createElement)("span",{style:s,className:c()("block-editor-block-icon",n,{"has-colors":t})},a)}))},"7bKH":function(e,t,n){"use strict";var o=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},r=function(e){return.2126*o(e.r)+.7152*o(e.g)+.0722*o(e.b)};t.a=function(e){e.prototype.luminance=function(){return e=r(this.rgba),void 0===(t=2)&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0;var e,t,n},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var n,o,c,i,l,a,s,u=t instanceof e?t:new e(t);return i=this.rgba,l=u.toRgb(),n=(a=r(i))>(s=r(l))?(a+.05)/(s+.05):(s+.05)/(a+.05),void 0===(o=2)&&(o=0),void 0===c&&(c=Math.pow(10,o)),Math.floor(c*n)/c+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(i=void 0===(c=(n=t).size)?"normal":c,"AAA"===(r=void 0===(o=n.level)?"AA":o)&&"normal"===i?7:"AA"===r&&"large"===i?3:4.5);var n,o,r,c,i}}},"7fqt":function(e,t){e.exports=window.wp.wordcount},"8oxB":function(e,t){var n,o,r=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===c||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:c}catch(e){n=c}try{o="function"==typeof clearTimeout?clearTimeout:i}catch(e){o=i}}();var a,s=[],u=!1,d=-1;function b(){u&&a&&(u=!1,a.length?s=a.concat(s):d=-1,s.length&&p())}function p(){if(!u){var e=l(b);u=!0;for(var t=s.length;t;){for(a=s,s=[];++d1)for(var n=1;n"up"===e?"horizontal"===i?Object(b.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===i?Object(b.isRTL)()?"left":"right":"down":null;if(e>1)return function(e,t,n,o,r){const c=t+1;if(r<0&&n)return Object(b.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(b.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(b.sprintf)(Object(b._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(r>0&&!o)return Object(b.sprintf)(Object(b._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,o,r,c);if(o&&r)return Object(b.sprintf)(Object(b.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!r){const e=a("down");if("down"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(c>0&&r){const e=a("down");if("down"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(c<0&&!o){const e=a("up");if("up"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(c<0&&o){const e=a("up");if("up"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var O=n("BhPs");const v=(e,t)=>"up"===e?"horizontal"===t?Object(b.isRTL)()?p.a:m.a:f.a:"down"===e?"horizontal"===t?Object(b.isRTL)()?m.a:p.a:h.a:null,j=(e,t)=>"up"===e?"horizontal"===t?Object(b.isRTL)()?Object(b.__)("Move right"):Object(b.__)("Move left"):Object(b.__)("Move up"):"down"===e?"horizontal"===t?Object(b.isRTL)()?Object(b.__)("Move left"):Object(b.__)("Move right"):Object(b.__)("Move down"):null,k=Object(r.forwardRef)(({clientIds:e,direction:t,orientation:n,...c},b)=>{const p=Object(u.useInstanceId)(k),m=Object(l.castArray)(e).length,{blockType:f,isDisabled:h,rootClientId:_,isFirst:y,isLast:E,firstIndex:C,orientation:S="vertical"}=Object(d.useSelect)(o=>{const{getBlockIndex:r,getBlockRootClientId:c,getBlockOrder:i,getBlock:s,getBlockListSettings:u}=o(O.a),d=Object(l.castArray)(e),b=Object(l.first)(d),p=c(b),m=r(b,p),f=r(Object(l.last)(d),p),h=i(p),g=s(b),v=0===m,j=f===h.length-1,{orientation:k}=u(p)||{};return{blockType:g?Object(a.getBlockType)(g.name):null,isDisabled:"up"===t?v:j,rootClientId:p,firstIndex:m,isFirst:v,isLast:j,orientation:n||k}},[e,t]),{moveBlocksDown:w,moveBlocksUp:B}=Object(d.useDispatch)(O.a),I="up"===t?B:w,x="block-editor-block-mover-button__description-"+p;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.Button,Object(o.a)({ref:b,className:i()("block-editor-block-mover-button",`is-${t}-button`),icon:v(t,S),label:j(t,S),"aria-describedby":x},c,{onClick:h?null:t=>{I(e,_),c.onClick&&c.onClick(t)},"aria-disabled":h})),Object(r.createElement)("span",{id:x,className:"block-editor-block-mover-button__description"},g(m,f&&f.title,C,y,E,"up"===t?-1:1,S)))}),_=Object(r.forwardRef)((e,t)=>Object(r.createElement)(k,Object(o.a)({direction:"up",ref:t},e))),y=Object(r.forwardRef)((e,t)=>Object(r.createElement)(k,Object(o.a)({direction:"down",ref:t},e)))},"9XVa":function(e,t,n){"use strict";n.d(t,"b",(function(){return o.a})),n.d(t,"c",(function(){return o.b})),n.d(t,"d",(function(){return o.c})),n.d(t,"a",(function(){return r.a})),n.d(t,"e",(function(){return d}));var o=n("NMUH"),r=n("QP/w"),c=n("wx14"),i=n("GRId"),l=n("YLtl"),a=n("K9lf"),s=n("v5LD");const u=[];var d=(...e)=>{const t=Object(l.reduce)(e,(e,t)=>(e[t]="custom"+Object(l.upperFirst)(t),e),{});return Object(a.createHigherOrderComponent)(Object(a.compose)([Object(a.createHigherOrderComponent)(e=>t=>{const n=Object(s.a)("typography.fontSizes")||u;return Object(i.createElement)(e,Object(c.a)({},t,{fontSizes:n}))},"withFontSizes"),e=>class extends i.Component{constructor(e){super(e),this.setters=this.createSetters(),this.state={}}createSetters(){return Object(l.reduce)(t,(e,t,n)=>(e["set"+Object(l.upperFirst)(n)]=this.createSetFontSize(n,t),e),{})}createSetFontSize(e,t){return n=>{const o=Object(l.find)(this.props.fontSizes,{size:Number(n)});this.props.setAttributes({[e]:o&&o.slug?o.slug:void 0,[t]:o&&o.slug?void 0:n})}}static getDerivedStateFromProps({attributes:e,fontSizes:n},r){const c=(t,n)=>!r[n]||(e[n]?e[n]!==r[n].slug:r[n].size!==e[t]);if(!Object(l.some)(t,c))return null;const i=Object(l.reduce)(Object(l.pickBy)(t,c),(t,r,c)=>{const i=e[c],l=Object(o.a)(n,i,e[r]);return t[c]={...l,class:Object(o.b)(i)},t},{});return{...r,...i}}render(){return Object(i.createElement)(e,Object(c.a)({},this.props,{fontSizes:void 0},this.state,this.setters))}}]),"withFontSizes")}},AHN3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o="core/block-editor"},AORF:function(e,t,n){"use strict";var o=n("YLtl"),r=n("1ZqX"),c=n("HSyU"),i=n("l3Sj"),l=n("gdqT"),a=n("GRId"),s=n("BhPs");t.a=function({rootClientId:e="",insertionIndex:t,clientId:n,isAppender:u,onSelect:d,shouldFocusBlock:b=!0}){const{getSelectedBlock:p}=Object(r.useSelect)(s.a),{destinationRootClientId:m,destinationIndex:f}=Object(r.useSelect)(o=>{const{getSelectedBlockClientId:r,getBlockRootClientId:c,getBlockIndex:i,getBlockOrder:l}=o(s.a),a=r();let d,b=e;return void 0!==t?d=t:n?d=i(n,b):!u&&a?(b=c(a),d=i(a,b)+1):d=l(b).length,{destinationRootClientId:b,destinationIndex:d}},[e,t,n,u]),{replaceBlocks:h,insertBlocks:g,showInsertionPoint:O,hideInsertionPoint:v}=Object(r.useDispatch)(s.a),j=Object(a.useCallback)((e,t,n=!1)=>{const r=p();!u&&r&&Object(c.isUnmodifiedDefaultBlock)(r)?h(r.clientId,e,null,b||n?0:null,t):g(e,f,m,!0,b||n?0:null,t);const a=Object(i.sprintf)(Object(i._n)("%d block added.","%d blocks added.",Object(o.castArray)(e).length),Object(o.castArray)(e).length);Object(l.speak)(a),d&&d()},[u,p,h,g,m,f,d,b]),k=Object(a.useCallback)(e=>{e?O(m,f):v()},[O,v,m,f]);return[m,j,k]}},B9Az:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");var c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=c},BCrt:function(e,t,n){"use strict";n.d(t,"c",(function(){return o.a})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return i})),n.d(t,"a",(function(){return l.a})),n.d(t,"b",(function(){return p}));var o=n("vSu0"),r=n("lJLt");function c(e){if(void 0===e)e=r.b.colors;else{const t=e.filter(e=>e.color);0===t.length?e=r.b.colors:t.lengthe.gradient);0===t.length?e=r.b.gradients:t.lengtha(d(e,t)).value).filter(Boolean);switch(n[0]){case"min":return Math.min(...o)+"px";case"max":return Math.max(...o)+"px";case"clamp":return 3!==o.length?null:o[1]o[2]?o[2]+"px":o[1]+"px";case"calc":return o[0]+"px"}}function u(e){let t=!1;const n=e.split(/[+-/*/]/g).filter(Boolean);for(const o of n){const n=a(d(o));if(!parseFloat(n.value)){t=!0;break}e=e.replace(o,n.value)}return t?null:(o=e,Function(`'use strict'; return (${o})`)()).toFixed(0)+"px";var o}function d(e,t={}){if(Number.isFinite(e))return e.toFixed(0)+"px";if(void 0===e)return null;let n=a(e);return n.unit||(n=function(e){for(;;){const t=e,n=/(max|min|calc|clamp)\(([^()]*)\)/g.exec(e)||[];if(n[0]){const t=s(n[0]);e=e.replace(n[0],t)}if(e===t||parseFloat(e))break}return a(e)}(e)),function(e){for(let t=0;tn.height?n.width:n.height),"%":.01*("font"===n.type?n.fontSize:n.width),ch:8,ex:7.15625,lh:n.lineHeight},r={in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,px:1,Q:96/2.54/40};return o[e.unit]?(o[e.unit]*e.value).toFixed(0)+"px":r[e.unit]?(r[e.unit]*e.value).toFixed(0)+"px":null}(n,t)}const b={};var p=function(e,t={}){const n=e+function(e){let t="";e.hasOwnProperty("fontSize")&&(t=":"+e.width);e.hasOwnProperty("lineHeight")&&(t=":"+e.lineHeight);e.hasOwnProperty("width")&&(t=":"+e.width);e.hasOwnProperty("height")&&(t=":"+e.height);e.hasOwnProperty("type")&&(t=":"+e.type);return t}(t);return b[n]||(b[n]=d(e,t)),b[n]}},BLeD:function(e,t){e.exports=window.wp.tokenList},BhPs:function(e,t,n){"use strict";n.d(t,"b",(function(){return En})),n.d(t,"a",(function(){return Cn}));var o={};n.r(o),n.d(o,"getBlockName",(function(){return S})),n.d(o,"isBlockValid",(function(){return w})),n.d(o,"getBlockAttributes",(function(){return B})),n.d(o,"getBlock",(function(){return I})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return x})),n.d(o,"getBlocks",(function(){return T})),n.d(o,"__unstableGetClientIdWithClientIdsTree",(function(){return P})),n.d(o,"__unstableGetClientIdsTree",(function(){return R})),n.d(o,"getClientIdsOfDescendants",(function(){return N})),n.d(o,"getClientIdsWithDescendants",(function(){return L})),n.d(o,"getGlobalBlockCount",(function(){return M})),n.d(o,"getBlocksByClientId",(function(){return A})),n.d(o,"getBlockCount",(function(){return D})),n.d(o,"getSelectionStart",(function(){return F})),n.d(o,"getSelectionEnd",(function(){return z})),n.d(o,"getBlockSelectionStart",(function(){return H})),n.d(o,"getBlockSelectionEnd",(function(){return V})),n.d(o,"getSelectedBlockCount",(function(){return G})),n.d(o,"hasSelectedBlock",(function(){return U})),n.d(o,"getSelectedBlockClientId",(function(){return W})),n.d(o,"getSelectedBlock",(function(){return q})),n.d(o,"getBlockRootClientId",(function(){return K})),n.d(o,"getBlockParents",(function(){return $})),n.d(o,"getBlockParentsByBlockName",(function(){return Y})),n.d(o,"getBlockHierarchyRootClientId",(function(){return X})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Z})),n.d(o,"getAdjacentBlockClientId",(function(){return Q})),n.d(o,"getPreviousBlockClientId",(function(){return J})),n.d(o,"getNextBlockClientId",(function(){return ee})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return te})),n.d(o,"getSelectedBlockClientIds",(function(){return ne})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return oe})),n.d(o,"getMultiSelectedBlocks",(function(){return re})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return ce})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return ie})),n.d(o,"isFirstMultiSelectedBlock",(function(){return le})),n.d(o,"isBlockMultiSelected",(function(){return ae})),n.d(o,"isAncestorMultiSelected",(function(){return se})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return ue})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return de})),n.d(o,"getBlockOrder",(function(){return be})),n.d(o,"getBlockIndex",(function(){return pe})),n.d(o,"isBlockSelected",(function(){return me})),n.d(o,"hasSelectedInnerBlock",(function(){return fe})),n.d(o,"isBlockWithinSelection",(function(){return he})),n.d(o,"hasMultiSelection",(function(){return ge})),n.d(o,"isMultiSelecting",(function(){return Oe})),n.d(o,"isSelectionEnabled",(function(){return ve})),n.d(o,"getBlockMode",(function(){return je})),n.d(o,"isTyping",(function(){return ke})),n.d(o,"isDraggingBlocks",(function(){return _e})),n.d(o,"getDraggedBlockClientIds",(function(){return ye})),n.d(o,"isBlockBeingDragged",(function(){return Ee})),n.d(o,"isAncestorBeingDragged",(function(){return Ce})),n.d(o,"isCaretWithinFormattedText",(function(){return Se})),n.d(o,"getBlockInsertionPoint",(function(){return we})),n.d(o,"isBlockInsertionPointVisible",(function(){return Be})),n.d(o,"isValidTemplate",(function(){return Ie})),n.d(o,"getTemplate",(function(){return xe})),n.d(o,"getTemplateLock",(function(){return Te})),n.d(o,"canInsertBlockType",(function(){return Ne})),n.d(o,"canInsertBlocks",(function(){return Le})),n.d(o,"canRemoveBlock",(function(){return Me})),n.d(o,"canRemoveBlocks",(function(){return Ae})),n.d(o,"canMoveBlock",(function(){return De})),n.d(o,"canMoveBlocks",(function(){return Fe})),n.d(o,"getInserterItems",(function(){return We})),n.d(o,"getBlockTransformItems",(function(){return qe})),n.d(o,"hasInserterItems",(function(){return Ke})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return $e})),n.d(o,"__experimentalGetDirectInsertBlock",(function(){return Ye})),n.d(o,"__experimentalGetParsedPattern",(function(){return Xe})),n.d(o,"__experimentalGetAllowedPatterns",(function(){return Qe})),n.d(o,"__experimentalGetPatternsByBlockTypes",(function(){return Je})),n.d(o,"__experimentalGetPatternTransformItems",(function(){return et})),n.d(o,"getBlockListSettings",(function(){return tt})),n.d(o,"getSettings",(function(){return nt})),n.d(o,"isLastBlockChangePersistent",(function(){return ot})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return rt})),n.d(o,"__experimentalGetReusableBlockTitle",(function(){return ct})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return it})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return lt})),n.d(o,"isNavigationMode",(function(){return st})),n.d(o,"hasBlockMovingClientId",(function(){return ut})),n.d(o,"didAutomaticChange",(function(){return dt})),n.d(o,"isBlockHighlighted",(function(){return bt})),n.d(o,"areInnerBlocksControlled",(function(){return pt})),n.d(o,"__experimentalGetActiveBlockIdByBlockNames",(function(){return mt})),n.d(o,"wasBlockJustInserted",(function(){return ft}));var r={};n.r(r),n.d(r,"resetBlocks",(function(){return kt})),n.d(r,"validateBlocksToTemplate",(function(){return _t})),n.d(r,"resetSelection",(function(){return yt})),n.d(r,"receiveBlocks",(function(){return Et})),n.d(r,"updateBlockAttributes",(function(){return Ct})),n.d(r,"updateBlock",(function(){return St})),n.d(r,"selectBlock",(function(){return wt})),n.d(r,"selectPreviousBlock",(function(){return Bt})),n.d(r,"selectNextBlock",(function(){return It})),n.d(r,"startMultiSelect",(function(){return xt})),n.d(r,"stopMultiSelect",(function(){return Tt})),n.d(r,"multiSelect",(function(){return Pt})),n.d(r,"clearSelectedBlock",(function(){return Rt})),n.d(r,"toggleSelection",(function(){return Nt})),n.d(r,"replaceBlocks",(function(){return Mt})),n.d(r,"replaceBlock",(function(){return At})),n.d(r,"moveBlocksDown",(function(){return Ft})),n.d(r,"moveBlocksUp",(function(){return zt})),n.d(r,"moveBlocksToPosition",(function(){return Ht})),n.d(r,"moveBlockToPosition",(function(){return Vt})),n.d(r,"insertBlock",(function(){return Gt})),n.d(r,"insertBlocks",(function(){return Ut})),n.d(r,"showInsertionPoint",(function(){return Wt})),n.d(r,"hideInsertionPoint",(function(){return qt})),n.d(r,"setTemplateValidity",(function(){return Kt})),n.d(r,"synchronizeTemplate",(function(){return $t})),n.d(r,"mergeBlocks",(function(){return Yt})),n.d(r,"removeBlocks",(function(){return Xt})),n.d(r,"removeBlock",(function(){return Zt})),n.d(r,"replaceInnerBlocks",(function(){return Qt})),n.d(r,"toggleBlockMode",(function(){return Jt})),n.d(r,"startTyping",(function(){return en})),n.d(r,"stopTyping",(function(){return tn})),n.d(r,"startDraggingBlocks",(function(){return nn})),n.d(r,"stopDraggingBlocks",(function(){return on})),n.d(r,"enterFormattedText",(function(){return rn})),n.d(r,"exitFormattedText",(function(){return cn})),n.d(r,"selectionChange",(function(){return ln})),n.d(r,"insertDefaultBlock",(function(){return an})),n.d(r,"updateBlockListSettings",(function(){return sn})),n.d(r,"updateSettings",(function(){return un})),n.d(r,"__unstableSaveReusableBlock",(function(){return dn})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return bn})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return pn})),n.d(r,"__unstableMarkAutomaticChange",(function(){return mn})),n.d(r,"setNavigationMode",(function(){return fn})),n.d(r,"setBlockMovingClientId",(function(){return hn})),n.d(r,"duplicateBlocks",(function(){return gn})),n.d(r,"insertBeforeBlock",(function(){return On})),n.d(r,"insertAfterBlock",(function(){return vn})),n.d(r,"toggleBlockHighlight",(function(){return jn})),n.d(r,"flashBlock",(function(){return kn})),n.d(r,"setHasControlledInnerBlocks",(function(){return _n}));var c=n("1ZqX"),i=n("YLtl"),l=n("HSyU"),a=n("lJLt");function s(e,t,n){return[...e.slice(0,n),...Object(i.castArray)(t),...e.slice(n)]}function u(e,t,n,o=1){const r=[...e];return r.splice(t,o),s(r,e.slice(t,t+o),n)}function d(e,t=""){const n={[t]:[]};return e.forEach(e=>{const{clientId:o,innerBlocks:r}=e;n[t].push(o),Object.assign(n,d(r,o))}),n}function b(e,t=""){return e.reduce((e,n)=>Object.assign(e,{[n.clientId]:t},b(n.innerBlocks,n.clientId)),{})}function p(e,t=i.identity){const n={},o=[...e];for(;o.length;){const{innerBlocks:e,...r}=o.shift();o.push(...e),n[r.clientId]=t(r)}return n}function m(e){return p(e,e=>Object(i.omit)(e,"attributes"))}function f(e){return p(e,e=>e.attributes)}function h(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(i.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,o=t.attributes,Object(i.isEqual)(Object(i.keys)(n),Object(i.keys)(o)));var n,o}function g(e,t){const n={},o=[...t],r=[...t];for(;o.length;){const e=o.shift();o.push(...e.innerBlocks),r.push(...e.innerBlocks)}for(const e of r)n[e.clientId]={};for(const t of r)n[t.clientId]=Object.assign(n[t.clientId],{...e.byClientId[t.clientId],attributes:e.attributes[t.clientId],innerBlocks:t.innerBlocks.map(e=>n[e.clientId])});return n}function O(e,t,n,o=!1){const r=new Set([]),c=new Set;for(const t of n){let n=o?t:e.parents[t];do{if(e.controlledInnerBlocks[n]){c.add(n);break}r.add(n),n=e.parents[n]}while(void 0!==n)}for(const e of r)t[e]={...t[e]};for(const n of r)t[n].innerBlocks=(e.order[n]||[]).map(e=>t[e]);for(const n of c)t["controlled||"+n]={innerBlocks:(e.order[n]||[]).map(e=>t[e])};return t}const v=Object(i.flow)(c.combineReducers,e=>(t,n)=>{if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){const{id:e,updatedId:o}=n;if(e===o)return t;(t={...t}).attributes=Object(i.mapValues)(t.attributes,(n,r)=>{const{name:c}=t.byClientId[r];return"core/block"===c&&n.ref===e?{...n,ref:o}:n})}return e(t,n)},e=>(t={},n)=>{const o=e(t,n);if(o===t)return t;switch(o.tree=t.tree?t.tree:{},n.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const e=g(o,n.blocks);o.tree=O(o,{...o.tree,...e},n.rootClientId?[n.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":o.tree=O(o,{...o.tree,[n.clientId]:{...o.tree[n.clientId],...o.byClientId[n.clientId],attributes:o.attributes[n.clientId]}},[n.clientId],!1);break;case"UPDATE_BLOCK_ATTRIBUTES":{const e=n.clientIds.reduce((e,t)=>(e[t]={...o.tree[t],attributes:o.attributes[t]},e),{});o.tree=O(o,{...o.tree,...e},n.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const e=g(o,n.blocks);o.tree=O(o,{...Object(i.omit)(o.tree,n.replacedClientIds.concat(n.replacedClientIds.map(e=>"controlled||"+e))),...e},n.blocks.map(e=>e.clientId),!1);const r=[];for(const e of n.clientIds)void 0===t.parents[e]||""!==t.parents[e]&&!o.byClientId[t.parents[e]]||r.push(t.parents[e]);o.tree=O(o,o.tree,r,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":const e=[];for(const r of n.clientIds)void 0===t.parents[r]||""!==t.parents[r]&&!o.byClientId[t.parents[r]]||e.push(t.parents[r]);o.tree=O(o,Object(i.omit)(o.tree,n.removedClientIds.concat(n.removedClientIds.map(e=>"controlled||"+e))),e,!0);break;case"MOVE_BLOCKS_TO_POSITION":{const e=[];n.fromRootClientId&&e.push(n.fromRootClientId),n.toRootClientId&&e.push(n.toRootClientId),n.fromRootClientId&&n.fromRootClientId||e.push(""),o.tree=O(o,o.tree,e,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{const e=[n.rootClientId?n.rootClientId:""];o.tree=O(o,o.tree,e,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{const e=Object(i.keys)(Object(i.omitBy)(o.attributes,(e,t)=>"core/block"!==o.byClientId[t].name||e.ref!==n.updatedId));o.tree=O(o,{...o.tree,...e.reduce((e,t)=>(e[t]={...o.byClientId[t],attributes:o.attributes[t],innerBlocks:o.tree[t].innerBlocks},e),{})},e,!1)}}return o},e=>(t,n)=>{const o=e=>{let o=e;for(let r=0;r(t,n)=>{if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);const o={};if(Object.keys(t.controlledInnerBlocks).length){const e=[...n.blocks];for(;e.length;){const{innerBlocks:n,...r}=e.shift();e.push(...n),t.controlledInnerBlocks[r.clientId]&&(o[r.clientId]=!0)}}let r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:o,clientIds:t.order[n.rootClientId]}));let c=r;return n.blocks.length&&(c=e(c,{...n,type:"INSERT_BLOCKS",index:0}),c.order={...c.order,...Object(i.reduce)(o,(e,n,o)=>(t.order[o]&&(e[o]=t.order[o]),e),{})}),c},e=>(t,n)=>{if("RESET_BLOCKS"===n.type){var o,r,c;const e=function e(t,n="",o={}){return Object(i.reduce)(t[n],(n,r)=>o[r]?n:[...n,r,...e(t,r)],[])}(null!==(o=null==t?void 0:t.order)&&void 0!==o?o:{},"",null!==(r=null==t?void 0:t.controlledInnerBlocks)&&void 0!==r?r:{}),l=Object.keys(Object(i.pickBy)(null!==(c=null==t?void 0:t.controlledInnerBlocks)&&void 0!==c?c:{})),a={...t,byClientId:{...Object(i.omit)(null==t?void 0:t.byClientId,e),...m(n.blocks)},attributes:{...Object(i.omit)(null==t?void 0:t.attributes,e),...f(n.blocks)},order:{...Object(i.omit)(null==t?void 0:t.order,e),...Object(i.omit)(d(n.blocks),l)},parents:{...Object(i.omit)(null==t?void 0:t.parents,e),...b(n.blocks)},controlledInnerBlocks:(null==t?void 0:t.controlledInnerBlocks)||{}},s=g(a,n.blocks);return a.tree={...Object(i.omit)(null==t?void 0:t.tree,e),...s,"":{innerBlocks:n.blocks.map(e=>s[e.clientId])}},a}return e(t,n)},(function(e){let t,n=!1;return(o,r)=>{let c=e(o,r);const i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type||n;if(o===c&&!i){var l;n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type;const e=null===(l=null==o?void 0:o.isPersistentChange)||void 0===l||l;return o.isPersistentChange===e?o:{...c,isPersistentChange:e}}return c={...c,isPersistentChange:i?!n:!h(r,t)},t=r,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type,c}}),(function(e){const t=new Set(["RECEIVE_BLOCKS"]);return(n,o)=>{const r=e(n,o);return r!==n&&(r.isIgnoredChange=t.has(o.type)),r}}))({byClientId(e={},t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...m(t.blocks)};case"UPDATE_BLOCK":if(!e[t.clientId])return e;const n=Object(i.omit)(t.updates,"attributes");return Object(i.isEmpty)(n)?e:{...e,[t.clientId]:{...e[t.clientId],...n}};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...Object(i.omit)(e,t.replacedClientIds),...m(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(i.omit)(e,t.removedClientIds)}return e},attributes(e={},t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...f(t.blocks)};case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?{...e,[t.clientId]:{...e[t.clientId],...t.updates.attributes}}:e;case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(t=>!e[t]))return e;const n=t.clientIds.reduce((n,o)=>({...n,[o]:Object(i.reduce)(t.uniqueByBlock?t.attributes[o]:t.attributes,(t,n,r)=>{var c,i;return n!==t[r]&&((t=(c=e[o])===(i=t)?{...c}:i)[r]=n),t},e[o])}),{});return t.clientIds.every(t=>n[t]===e[t])?e:{...e,...n}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...Object(i.omit)(e,t.replacedClientIds),...f(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(i.omit)(e,t.removedClientIds)}return e},order(e={},t){switch(t.type){case"RECEIVE_BLOCKS":{const n=d(t.blocks);return{...e,...Object(i.omit)(n,""),"":((null==e?void 0:e[""])||[]).concat(n[""])}}case"INSERT_BLOCKS":{const{rootClientId:n=""}=t,o=e[n]||[],r=d(t.blocks,n),{index:c=o.length}=t;return{...e,...r,[n]:s(o,r[n],c)}}case"MOVE_BLOCKS_TO_POSITION":{const{fromRootClientId:n="",toRootClientId:o="",clientIds:r}=t,{index:c=e[o].length}=t;if(n===o){const t=e[o].indexOf(r[0]);return{...e,[o]:u(e[o],t,c,r.length)}}return{...e,[n]:Object(i.without)(e[n],...r),[o]:s(e[o],r,c)}}case"MOVE_BLOCKS_UP":{const{clientIds:n,rootClientId:o=""}=t,r=Object(i.first)(n),c=e[o];if(!c.length||r===Object(i.first)(c))return e;const l=c.indexOf(r);return{...e,[o]:u(c,l,l-1,n.length)}}case"MOVE_BLOCKS_DOWN":{const{clientIds:n,rootClientId:o=""}=t,r=Object(i.first)(n),c=Object(i.last)(n),l=e[o];if(!l.length||c===Object(i.last)(l))return e;const a=l.indexOf(r);return{...e,[o]:u(l,a,a+1,n.length)}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const{clientIds:n}=t;if(!t.blocks)return e;const o=d(t.blocks);return Object(i.flow)([e=>Object(i.omit)(e,t.replacedClientIds),e=>({...e,...Object(i.omit)(o,"")}),e=>Object(i.mapValues)(e,e=>Object(i.reduce)(e,(e,t)=>t===n[0]?[...e,...o[""]]:(-1===n.indexOf(t)&&e.push(t),e),[]))])(e)}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(i.flow)([e=>Object(i.omit)(e,t.removedClientIds),e=>Object(i.mapValues)(e,e=>Object(i.without)(e,...t.removedClientIds))])(e)}return e},parents(e={},t){switch(t.type){case"RECEIVE_BLOCKS":return{...e,...b(t.blocks)};case"INSERT_BLOCKS":return{...e,...b(t.blocks,t.rootClientId||"")};case"MOVE_BLOCKS_TO_POSITION":return{...e,...t.clientIds.reduce((e,n)=>(e[n]=t.toRootClientId||"",e),{})};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return{...Object(i.omit)(e,t.replacedClientIds),...b(t.blocks,e[t.clientIds[0]])};case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(i.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:(e={},{type:t,clientId:n,hasControlledInnerBlocks:o})=>"SET_HAS_CONTROLLED_INNER_BLOCKS"===t?{...e,[n]:o}:e});function j(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection&&t.blocks.length?{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;const n=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return n?n.clientId===e.clientId?e:{clientId:n.clientId}:{}}}return e}var k=Object(c.combineReducers)({blocks:v,isTyping:function(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},draggedBlocks:function(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},isCaretWithinFormattedText:function(e=!1,t){switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selection:function(e={},t){var n,o;switch(t.type){case"SELECTION_CHANGE":return{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}};case"RESET_SELECTION":const{selectionStart:r,selectionEnd:c}=t;return{selectionStart:r,selectionEnd:c};case"MULTI_SELECT":const{start:i,end:l}=t;return{selectionStart:{clientId:i},selectionEnd:{clientId:l}};case"RESET_BLOCKS":const a=null==e||null===(n=e.selectionStart)||void 0===n?void 0:n.clientId,s=null==e||null===(o=e.selectionEnd)||void 0===o?void 0:o.clientId;if(!a&&!s)return e;if(!t.blocks.some(e=>e.clientId===a))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(e=>e.clientId===s))return{...e,selectionEnd:e.selectionStart}}return{selectionStart:j(e.selectionStart,t),selectionEnd:j(e.selectionEnd,t)}},isMultiSelecting:function(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(e=!0,t){switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e=null,t){return"REPLACE_BLOCKS"===t.type&&void 0!==t.initialPosition||["SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e},blocksMode:function(e={},t){if("TOGGLE_BLOCK_MODE"===t.type){const{clientId:n}=t;return{...e,[n]:e[n]&&"html"===e[n]?"visual":"html"}}return e},blockListSettings:(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(i.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":{const{clientId:n}=t;return t.settings?Object(i.isEqual)(e[n],t.settings)?e:{...e,[n]:t.settings}:e.hasOwnProperty(n)?Object(i.omit)(e,n):e}}return e},insertionPoint:function(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":const{rootClientId:e,index:n,__unstableWithInserter:o}=t;return{rootClientId:e,index:n,__unstableWithInserter:o};case"HIDE_INSERTION_POINT":return null}return e},template:function(e={isValid:!0},t){switch(t.type){case"SET_TEMPLATE_VALIDITY":return{...e,isValid:t.isValid}}return e},settings:function(e=a.b,t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},preferences:function(e=a.a,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((e,n)=>{const{attributes:o,name:r}=n,i=Object(c.select)(l.store).getActiveBlockVariation(r,o);let a=null!=i&&i.name?`${r}/${i.name}`:r;const s={name:a};return"core/block"===r&&(s.ref=o.ref,a+="/"+o.ref),{...e,insertUsage:{...e.insertUsage,[a]:{time:t.time,count:e.insertUsage[a]?e.insertUsage[a].count+1:1,insert:s}}}},e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((e,n)=>({...e,[n]:t.uniqueByBlock?t.attributes[n]:t.attributes}),{})}return null},isNavigationMode:function(e=!1,t){return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(e=null,t){return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:"SET_NAVIGATION_MODE"===t.type?null: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"START_TYPING":case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":const{clientId:n,isHighlighted:o}=t;return o?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e},lastBlockInserted:function(e={},t){var n;switch(t.type){case"INSERT_BLOCKS":if(!t.blocks.length)return e;return{clientId:t.blocks[0].clientId,source:null===(n=t.meta)||void 0===n?void 0:n.source};case"RESET_BLOCKS":return{}}return e}}),_=n("pPDe"),y=n("GRId"),E=n("+WrK");const C=[];function S(e,t){const n=e.blocks.byClientId[t];if("web"!==y.Platform.OS&&"core/social-link"===(null==n?void 0:n.name)){const n=e.blocks.attributes[t],{service:o}=n;return o?"core/social-link-"+o:"core/social-link"}return n?n.name:null}function w(e,t){const n=e.blocks.byClientId[t];return!!n&&n.isValid}function B(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}function I(e,t){return e.blocks.byClientId[t]?e.blocks.tree[t]:null}const x=Object(_.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:B(e,t)}:null},(e,t)=>[e.blocks.byClientId[t],e.blocks.attributes[t]]);function T(e,t){var n;const o=t&&pt(e,t)?"controlled||"+t:t||"";return(null===(n=e.blocks.tree[o])||void 0===n?void 0:n.innerBlocks)||C}const P=Object(_.a)((e,t)=>({clientId:t,innerBlocks:R(e,t)}),e=>[e.blocks.order]),R=Object(_.a)((e,t="")=>Object(i.map)(be(e,t),t=>P(e,t)),e=>[e.blocks.order]),N=(e,t)=>Object(i.flatMap)(t,t=>{const n=be(e,t);return[...n,...N(e,n)]}),L=Object(_.a)(e=>{const t=be(e);return[...t,...N(e,t)]},e=>[e.blocks.order]),M=Object(_.a)((e,t)=>{const n=L(e);return t?Object(i.reduce)(n,(n,o)=>e.blocks.byClientId[o].name===t?n+1:n,0):n.length},e=>[e.blocks.order,e.blocks.byClientId]),A=Object(_.a)((e,t)=>Object(i.map)(Object(i.castArray)(t),t=>I(e,t)),(e,t)=>Object(i.map)(Object(i.castArray)(t),t=>e.blocks.tree[t]));function D(e,t){return be(e,t).length}function F(e){return e.selection.selectionStart}function z(e){return e.selection.selectionEnd}function H(e){return e.selection.selectionStart.clientId}function V(e){return e.selection.selectionEnd.clientId}function G(e){const t=oe(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function U(e){const{selectionStart:t,selectionEnd:n}=e.selection;return!!t.clientId&&t.clientId===n.clientId}function W(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:o}=t;return o&&o===n.clientId?o:null}function q(e){const t=W(e);return t?I(e,t):null}function K(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}const $=Object(_.a)((e,t,n=!1)=>{const o=[];let r=t;for(;e.blocks.parents[r];)r=e.blocks.parents[r],o.push(r);return n?o:o.reverse()},e=>[e.blocks.parents]),Y=Object(_.a)((e,t,n,o=!1)=>{const r=$(e,t,o);return Object(i.map)(Object(i.filter)(Object(i.map)(r,t=>({id:t,name:S(e,t)})),({name:e})=>Array.isArray(n)?n.includes(e):e===n),({id:e})=>e)},e=>[e.blocks.parents]);function X(e,t){let n,o=t;do{n=o,o=e.blocks.parents[o]}while(o);return n}function Z(e,t){const n=W(e),o=[...$(e,t),t],r=[...$(e,n),n];let c;const i=Math.min(o.length,r.length);for(let e=0;e{const{selectionStart:t,selectionEnd:n}=e.selection;if(void 0===t.clientId||void 0===n.clientId)return C;if(t.clientId===n.clientId)return[t.clientId];const o=K(e,t.clientId);if(null===o)return C;const r=be(e,o),c=r.indexOf(t.clientId),i=r.indexOf(n.clientId);return c>i?r.slice(i,c+1):r.slice(c,i+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function oe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?C:ne(e)}const re=Object(_.a)(e=>{const t=oe(e);return t.length?t.map(t=>I(e,t)):C},e=>[...ne.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function ce(e){return Object(i.first)(oe(e))||null}function ie(e){return Object(i.last)(oe(e))||null}function le(e,t){return ce(e)===t}function ae(e,t){return-1!==oe(e).indexOf(t)}const se=Object(_.a)((e,t)=>{let n=t,o=!1;for(;n&&!o;)n=K(e,n),o=ae(e,n);return o},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function ue(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function de(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:n.clientId||null}function be(e,t){return e.blocks.order[t||""]||C}function pe(e,t,n){return be(e,n).indexOf(t)}function me(e,t){const{selectionStart:n,selectionEnd:o}=e.selection;return n.clientId===o.clientId&&n.clientId===t}function fe(e,t,n=!1){return Object(i.some)(be(e,t),t=>me(e,t)||ae(e,t)||n&&fe(e,t,n))}function he(e,t){if(!t)return!1;const n=oe(e),o=n.indexOf(t);return o>-1&&oEe(e,t))}function Se(e){return e.isCaretWithinFormattedText}function we(e){let t,n;const{insertionPoint:o,selection:{selectionEnd:r}}=e;if(null!==o)return o;const{clientId:c}=r;return c?(t=K(e,c)||void 0,n=pe(e,r.clientId,t)+1):n=be(e).length,{rootClientId:t,index:n}}function Be(e){return null!==e.insertionPoint}function Ie(e){return e.template.isValid}function xe(e){return e.settings.template}function Te(e,t){if(!t)return e.settings.templateLock;const n=tt(e,t);return n?n.templateLock:null}const Pe=(e,t,n=null)=>Object(i.isBoolean)(e)?e:Object(i.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n,Re=(e,t,n=null)=>{let o;if(t&&"object"==typeof t?(o=t,t=o.name):o=Object(l.getBlockType)(t),!o)return!1;const{allowedBlockTypes:r}=nt(e);if(!Pe(r,t,!0))return!1;if(!!Te(e,n))return!1;const c=tt(e,n);if(n&&void 0===c)return!1;const i=null==c?void 0:c.allowedBlocks,a=Pe(i,t),s=o.parent,u=S(e,n),d=Pe(s,u);return null!==a&&null!==d?a||d:null!==a?a:null===d||d},Ne=Object(_.a)(Re,(e,t,n)=>[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]);function Le(e,t,n=null){return t.every(t=>Ne(e,S(e,t),n))}function Me(e,t,n=null){const o=B(e,t);if(null===o)return!0;const{lock:r}=o,c=!!Te(e,n);return void 0===r||void 0===(null==r?void 0:r.remove)?!c:!(null!=r&&r.remove)}function Ae(e,t,n=null){return t.every(t=>Me(e,t,n))}function De(e,t,n=null){const o=B(e,t);if(null===o)return;const{lock:r}=o,c="all"===Te(e,n);return void 0===r||void 0===(null==r?void 0:r.move)?!c:!(null!=r&&r.move)}function Fe(e,t,n=null){return t.every(t=>De(e,t,n))}function ze(e,t){var n,o;return null!==(n=null===(o=e.preferences.insertUsage)||void 0===o?void 0:o[t])&&void 0!==n?n:null}const He=(e,t,n)=>!!Object(l.hasBlockSupport)(t,"inserter",!0)&&Re(e,t.name,n),Ve=(e,t)=>n=>{const o=`${t.id}/${n.name}`,{time:r,count:c=0}=ze(e,o)||{};return{...t,id:o,icon:n.icon||t.icon,title:n.title||t.title,description:n.description||t.description,category:n.category||t.category,example:n.hasOwnProperty("example")?n.example:t.example,initialAttributes:{...t.initialAttributes,...n.attributes},innerBlocks:n.innerBlocks,keywords:n.keywords||t.keywords,frecency:Ge(r,c)}},Ge=(e,t)=>{if(!e)return t;const 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}},Ue=(e,{buildScope:t="inserter"})=>n=>{const o=n.name;let r=!1;Object(l.hasBlockSupport)(n.name,"multiple",!0)||(r=Object(i.some)(A(e,L(e)),{name:n.name}));const{time:c,count:a=0}=ze(e,o)||{},s={id:o,name:n.name,title:n.title,icon:n.icon,isDisabled:r,frecency:Ge(c,a)};if("transform"===t)return s;const u=Object(l.getBlockVariations)(n.name,"inserter");return{...s,initialAttributes:{},description:n.description,category:n.category,keywords:n.keywords,variations:u,example:n.example,utility:1}},We=Object(_.a)((e,t=null)=>{const n=Ue(e,{buildScope:"inserter"}),o=/^\s*)[^])*)\5|[^]*?)}\s+)?(\/)?-->/,r=Object(l.getBlockTypes)().filter(n=>He(e,n,t)).map(n),c=Re(e,"core/block",t)?at(e).map(t=>{let n=E.a;if("web"===y.Platform.OS){const e=("string"==typeof t.content.raw?t.content.raw:t.content).match(o);if(e){const[,,t="core/",o]=e,r=Object(l.getBlockType)(t+o);r&&(n=r.icon)}}const r="core/block/"+t.id,{time:c,count:i=0}=ze(e,r)||{},a=Ge(c,i);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:n,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:a}}):[],i=r.filter(({variations:e=[]})=>!e.some(({isDefault:e})=>e)),a=[];for(const t of r){const{variations:n=[]}=t;if(n.length){const o=Ve(e,t);a.push(...n.map(o))}}const s=(e,t)=>{const{core:n,noncore:o}=e;return(t.name.startsWith("core/")?n:o).push(t),e},u=i.reduce(s,{core:[],noncore:[]}),d=a.reduce(s,{core:[],noncore:[]});return[...[...u.core,...d.core,...u.noncore,...d.noncore],...c]},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,at(e),Object(l.getBlockTypes)()]),qe=Object(_.a)((e,t,n=null)=>{const o=Ue(e,{buildScope:"transform"}),r=Object(l.getBlockTypes)().filter(t=>He(e,t,n)).map(o),c=Object(i.mapKeys)(r,({name:e})=>e),a=Object(l.getPossibleBlockTransformations)(t).reduce((e,t)=>(c[null==t?void 0:t.name]&&e.push(c[t.name]),e),[]);return Object(i.orderBy)(a,e=>c[e.name].frecency,"desc")},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Object(l.getBlockTypes)()]),Ke=Object(_.a)((e,t=null)=>{if(Object(i.some)(Object(l.getBlockTypes)(),n=>He(e,n,t)))return!0;return Re(e,"core/block",t)&&at(e).length>0},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,at(e),Object(l.getBlockTypes)()]),$e=Object(_.a)((e,t=null)=>{if(t)return Object(i.filter)(Object(l.getBlockTypes)(),n=>He(e,n,t))},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(l.getBlockTypes)()]),Ye=Object(_.a)((e,t=null)=>{var n,o;if(!t)return;const r=null===(n=e.blockListSettings[t])||void 0===n?void 0:n.__experimentalDefaultBlock,c=null===(o=e.blockListSettings[t])||void 0===o?void 0:o.__experimentalDirectInsert;return r&&c?"function"==typeof c?c(I(e,t))?r:null:r:void 0},(e,t)=>[e.blockListSettings[t],e.blocks.tree[t]]),Xe=Object(_.a)((e,t)=>{const n=e.settings.__experimentalBlockPatterns.find(({name:e})=>e===t);return n?{...n,blocks:Object(l.parse)(n.content)}:null},e=>[e.settings.__experimentalBlockPatterns]),Ze=Object(_.a)(e=>{const t=e.settings.__experimentalBlockPatterns,{allowedBlockTypes:n}=nt(e);return t.filter(({inserter:e=!0})=>!!e).map(({name:t})=>Xe(e,t)).filter(({blocks:e})=>((e,t)=>{if(Object(i.isBoolean)(t))return t;const n=[...e];for(;n.length>0;){var o;const e=n.shift();if(!Pe(t,e.name||e.blockName,!0))return!1;null===(o=e.innerBlocks)||void 0===o||o.forEach(e=>{n.push(e)})}return!0})(e,n))},e=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes]),Qe=Object(_.a)((e,t=null)=>{const n=Ze(e);return Object(i.filter)(n,({blocks:n})=>n.every(({name:n})=>Ne(e,n,t)))},(e,t)=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes,e.settings.templateLock,e.blockListSettings[t],e.blocks.byClientId[t]]),Je=Object(_.a)((e,t,n=null)=>{if(!t)return C;const o=Qe(e,n),r=Array.isArray(t)?t:[t];return o.filter(e=>{var t,n;return null==e||null===(t=e.blockTypes)||void 0===t||null===(n=t.some)||void 0===n?void 0:n.call(t,e=>r.includes(e))})},(e,t)=>[...Qe.getDependants(e,t)]),et=Object(_.a)((e,t,n=null)=>{if(!t)return C;if(t.some(({clientId:t,innerBlocks:n})=>n.length||pt(e,t)))return C;const o=Array.from(new Set(t.map(({name:e})=>e)));return Je(e,o,n)},(e,t)=>[...Je.getDependants(e,t)]);function tt(e,t){return e.blockListSettings[t]}function nt(e){return e.settings}function ot(e){return e.blocks.isPersistentChange}const rt=Object(_.a)((e,t=[])=>t.reduce((t,n)=>e.blockListSettings[n]?{...t,[n]:e.blockListSettings[n]}:t,{}),e=>[e.blockListSettings]),ct=Object(_.a)((e,t)=>{var n;const o=Object(i.find)(at(e),e=>e.id===t);return o?null===(n=o.title)||void 0===n?void 0:n.raw:null},e=>[at(e)]);function it(e){return e.blocks.isIgnoredChange}function lt(e){return e.lastBlockAttributesChange}function at(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:C}function st(e){return e.isNavigationMode}function ut(e){return e.hasBlockMovingClientId}function dt(e){return!!e.automaticChangeStatus}function bt(e,t){return e.highlightedBlock===t}function pt(e,t){return!!e.blocks.controlledInnerBlocks[t]}const mt=Object(_.a)((e,t)=>{if(!t.length)return null;const n=W(e);if(t.includes(S(e,n)))return n;const o=oe(e),r=Y(e,n||o[0],t);return r?Object(i.last)(r):null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function ft(e,t,n){const{lastBlockInserted:o}=e;return o.clientId===t&&o.source===n}var ht=n("gdqT"),gt=n("l3Sj"),Ot=n("qRz9"),vt=n("NMb1"),jt=n.n(vt);const kt=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t(_t(e))},_t=e=>({select:t,dispatch:n})=>{const o=t.getTemplate(),r=t.getTemplateLock(),c=!o||"all"!==r||Object(l.doBlocksMatchTemplate)(e,o);if(c!==t.isValidTemplate())return n.setTemplateValidity(c),c};function yt(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function Et(e){return jt()('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function Ct(e,t,n=!1){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Object(i.castArray)(e),attributes:t,uniqueByBlock:n}}function St(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function wt(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}const Bt=e=>({select:t,dispatch:n})=>{const o=t.getPreviousBlockClientId(e);o&&n.selectBlock(o,-1)},It=e=>({select:t,dispatch:n})=>{const o=t.getNextBlockClientId(e);o&&n.selectBlock(o)};function xt(){return{type:"START_MULTI_SELECT"}}function Tt(){return{type:"STOP_MULTI_SELECT"}}const Pt=(e,t)=>({select:n,dispatch:o})=>{if(n.getBlockRootClientId(e)!==n.getBlockRootClientId(t))return;o({type:"MULTI_SELECT",start:e,end:t});const r=n.getSelectedBlockCount();Object(ht.speak)(Object(gt.sprintf)(Object(gt._n)("%s block selected.","%s blocks selected.",r),r),"assertive")};function Rt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Nt(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Lt(e,t){var n,o;const r=null!==(n=null==t||null===(o=t.__experimentalPreferredStyleVariations)||void 0===o?void 0:o.value)&&void 0!==n?n:{};return e.map(e=>{var t;const n=e.name;if(!Object(l.hasBlockSupport)(n,"defaultStylePicker",!0))return e;if(!r[n])return e;const o=null===(t=e.attributes)||void 0===t?void 0:t.className;if(null!=o&&o.includes("is-style-"))return e;const{attributes:c={}}=e,i=r[n];return{...e,attributes:{...c,className:`${o||""} is-style-${i}`.trim()}}})}const Mt=(e,t,n,o=0,r)=>({select:c,dispatch:l})=>{e=Object(i.castArray)(e),t=Lt(Object(i.castArray)(t),c.getSettings());const a=c.getBlockRootClientId(Object(i.first)(e));for(let e=0;e{if(e.getBlockCount()>0)return;const{__unstableHasCustomAppender:n}=e.getSettings();n||t.insertDefaultBlock()})};function At(e,t){return Mt(e,t)}const Dt=e=>(t,n)=>({select:o,dispatch:r})=>{o.canMoveBlocks(t,n)&&r({type:e,clientIds:Object(i.castArray)(t),rootClientId:n})},Ft=Dt("MOVE_BLOCKS_DOWN"),zt=Dt("MOVE_BLOCKS_UP"),Ht=(e,t="",n="",o)=>({select:r,dispatch:c})=>{if(r.canMoveBlocks(e,t)){if(t!==n){if(!r.canRemoveBlocks(e,t))return;if(!r.canInsertBlocks(e,n))return}c({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:o})}};function Vt(e,t="",n="",o){return Ht([e],t,n,o)}function Gt(e,t,n,o,r){return Ut([e],t,n,o,0,r)}const Ut=(e,t,n,o=!0,r=0,c)=>({select:l,dispatch:a})=>{Object(i.isObject)(r)&&(c=r,r=0,jt()("meta argument in wp.data.dispatch('core/block-editor')",{since:"10.1",plugin:"Gutenberg",hint:"The meta argument is now the 6th argument of the function"})),e=Lt(Object(i.castArray)(e),l.getSettings());const s=[];for(const t of e){l.canInsertBlockType(t.name,n)&&s.push(t)}s.length&&a({type:"INSERT_BLOCKS",blocks:s,index:t,rootClientId:n,time:Date.now(),updateSelection:o,initialPosition:o?r:null,meta:c})};function Wt(e,t,n={}){const{__unstableWithInserter:o}=n;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:o}}function qt(){return{type:"HIDE_INSERTION_POINT"}}function Kt(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}const $t=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});const n=e.getBlocks(),o=e.getTemplate(),r=Object(l.synchronizeBlocksWithTemplate)(n,o);t.resetBlocks(r)},Yt=(e,t)=>({select:n,dispatch:o})=>{const r=[e,t];o({type:"MERGE_BLOCKS",blocks:r});const[c,a]=r,s=n.getBlock(c),u=Object(l.getBlockType)(s.name);if(u&&!u.merge)return void o.selectBlock(s.clientId);const d=n.getBlock(a),b=Object(l.getBlockType)(d.name),{clientId:p,attributeKey:m,offset:f}=n.getSelectionStart(),h=(p===c?u:b).attributes[m],g=(p===c||p===a)&&void 0!==m&&void 0!==f&&!!h;h||("number"==typeof m?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was "+typeof m):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));const O=Object(l.cloneBlock)(s),v=Object(l.cloneBlock)(d);if(g){const e=p===c?O:v,t=e.attributes[m],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:r}=h,i=Object(Ot.insert)(Object(Ot.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),"†",f,f);e.attributes[m]=Object(Ot.toHTMLString)({value:i,multilineTag:n,preserveWhiteSpace:r})}const j=s.name===d.name?[v]:Object(l.switchToBlockType)(v,s.name);if(!j||!j.length)return;const k=u.merge(O.attributes,j[0].attributes);if(g){const e=Object(i.findKey)(k,e=>"string"==typeof e&&-1!==e.indexOf("†")),t=k[e],{multiline:n,__unstableMultilineWrapperTags:r,__unstablePreserveWhiteSpace:c}=u.attributes[e],l=Object(Ot.create)({html:t,multilineTag:n,multilineWrapperTags:r,preserveWhiteSpace:c}),a=l.text.indexOf("†"),d=Object(Ot.remove)(l,a,a+1),b=Object(Ot.toHTMLString)({value:d,multilineTag:n,preserveWhiteSpace:c});k[e]=b,o.selectionChange(s.clientId,e,a,a)}o.replaceBlocks([s.clientId,d.clientId],[{...s,attributes:{...s.attributes,...k}},...j.slice(1)],0)},Xt=(e,t=!0)=>({select:n,dispatch:o})=>{if(!e||!e.length)return;e=Object(i.castArray)(e);const r=n.getBlockRootClientId(e[0]);n.canRemoveBlocks(e,r)&&(t&&o.selectPreviousBlock(e[0]),o({type:"REMOVE_BLOCKS",clientIds:e}),o(({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;const{__unstableHasCustomAppender:n}=e.getSettings();n||t.insertDefaultBlock()}))};function Zt(e,t){return Xt([e],t)}function Qt(e,t,n=!1,o=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,initialPosition:n?o:null,time:Date.now()}}function Jt(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function en(){return{type:"START_TYPING"}}function tn(){return{type:"STOP_TYPING"}}function nn(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function on(){return{type:"STOP_DRAGGING_BLOCKS"}}function rn(){return{type:"ENTER_FORMATTED_TEXT"}}function cn(){return{type:"EXIT_FORMATTED_TEXT"}}function ln(e,t,n,o){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:o}}function an(e,t,n){const o=Object(l.getDefaultBlockName)();if(!o)return;return Gt(Object(l.createBlock)(o,e),n,t)}function sn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function un(e){return{type:"UPDATE_SETTINGS",settings:e}}function dn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function bn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function pn(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}const mn=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});const{requestIdleCallback:t=(e=>setTimeout(e,100))}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},fn=(e=!0)=>({dispatch:t})=>{t({type:"SET_NAVIGATION_MODE",isNavigationMode:e}),e?Object(ht.speak)(Object(gt.__)("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(ht.speak)(Object(gt.__)("You are currently in edit mode. To return to the navigation mode, press Escape."))},hn=(e=null)=>({dispatch:t})=>{t({type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e}),e&&Object(ht.speak)(Object(gt.__)("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."))},gn=(e,t=!0)=>({select:n,dispatch:o})=>{if(!e||!e.length)return;const r=n.getBlocksByClientId(e);if(Object(i.some)(r,e=>!e))return;if(r.map(e=>e.name).some(e=>!Object(l.hasBlockSupport)(e,"multiple",!0)))return;const c=n.getBlockRootClientId(e[0]),a=n.getBlockIndex(Object(i.last)(Object(i.castArray)(e)),c),s=r.map(e=>Object(l.__experimentalCloneSanitizedBlock)(e));return o.insertBlocks(s,a+1,c,t),s.length>1&&t&&o.multiSelect(Object(i.first)(s).clientId,Object(i.last)(s).clientId),s.map(e=>e.clientId)},On=e=>({select:t,dispatch:n})=>{if(!e)return;const o=t.getBlockRootClientId(e);if(t.getTemplateLock(o))return;const r=t.getBlockIndex(e,o);return n.insertDefaultBlock({},o,r)},vn=e=>({select:t,dispatch:n})=>{if(!e)return;const o=t.getBlockRootClientId(e);if(t.getTemplateLock(o))return;const r=t.getBlockIndex(e,o);return n.insertDefaultBlock({},o,r+1)};function jn(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}const kn=e=>async({dispatch:t})=>{t(jn(e,!0)),await new Promise(e=>setTimeout(e,150)),t(jn(e,!1))};function _n(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}var yn=n("AHN3");const En={reducer:k,selectors:o,actions:r,__experimentalUseThunks:!0},Cn=Object(c.createReduxStore)(yn.a,{...En,persist:["preferences"]});Object(c.registerStore)(yn.a,{...En,persist:["preferences"]})},Bo0k:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj");const i=[{name:Object(c.__)("Regular"),value:"normal"},{name:Object(c.__)("Italic"),value:"italic"}],l=[{name:Object(c.__)("Thin"),value:"100"},{name:Object(c.__)("Extra Light"),value:"200"},{name:Object(c.__)("Light"),value:"300"},{name:Object(c.__)("Regular"),value:"400"},{name:Object(c.__)("Medium"),value:"500"},{name:Object(c.__)("Semi Bold"),value:"600"},{name:Object(c.__)("Bold"),value:"700"},{name:Object(c.__)("Extra Bold"),value:"800"},{name:Object(c.__)("Black"),value:"900"}],a=(e,t)=>e?t?Object(c.__)("Appearance"):Object(c.__)("Font style"):Object(c.__)("Font weight");function s(e){const{onChange:t,hasFontStyles:n=!0,hasFontWeights:s=!0,value:{fontStyle:u,fontWeight:d}}=e,b=n||s,p=a(n,s),m={key:"default",name:Object(c.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},f=Object(o.useMemo)(()=>n&&s?(()=>{const e=[m];return i.forEach(({name:t,value:n})=>{l.forEach(({name:o,value:r})=>{const i="normal"===n?o:Object(c.sprintf)(Object(c.__)("%1$s %2$s"),o,t);e.push({key:`${n}-${r}`,name:i,style:{fontStyle:n,fontWeight:r}})})}),e})():n?(()=>{const e=[m];return i.forEach(({name:t,value:n})=>{e.push({key:n,name:t,style:{fontStyle:n,fontWeight:void 0}})}),e})():(()=>{const e=[m];return l.forEach(({name:t,value:n})=>{e.push({key:n,name:t,style:{fontStyle:void 0,fontWeight:n}})}),e})(),[e.options]),h=f.find(e=>e.style.fontStyle===u&&e.style.fontWeight===d)||f[0];return b&&Object(o.createElement)(r.CustomSelectControl,{className:"components-font-appearance-control",label:p,describedBy:h?n?s?Object(c.sprintf)(Object(c.__)("Currently selected font appearance: %s"),h.name):Object(c.sprintf)(Object(c.__)("Currently selected font style: %s"),h.name):Object(c.sprintf)(Object(c.__)("Currently selected font weight: %s"),h.name):Object(c.__)("No selected font appearance"),options:f,value:h,onChange:({selectedItem:e})=>t(e.style)})}},Bpkj:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=c},Btt3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("YLtl");const r=(e,t)=>{if(!t||!e)return;const n=t.filter(({attributes:t})=>!(!t||!Object.keys(t).length)&&Object(o.isMatch)(e,t));return 1===n.length?n[0]:void 0}},CNgt:function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n{const{getBlockAttributes:r}=o(a.a),c=r(n)||{};return{customGradient:c[t],gradient:c[e]}},[n,e,t]),{updateBlockAttributes:f}=Object(c.useDispatch)(a.a),h=Object(r.useCallback)(r=>{const c=p(o,r);f(n,c?{[e]:c,[t]:void 0}:{[e]:void 0,[t]:r})},[o,n,f]),g=u(b);let O;return O=b?d(o,b):m,{gradientClass:g,gradientValue:O,setGradient:h}}},Crq9:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"}));t.a=c},"DmX/":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"}));t.a=c},ERVc:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("HSyU"),c=n("BhPs");function i(e){return Object(o.useSelect)(t=>{const{getBlockName:n,getBlockAttributes:o}=t(c.a),i=o(e);if(null==i||!i.className)return;const l=Object(r.getBlockType)(n(e));return(null==l?void 0:l.apiVersion)>1?i.className:void 0},[e])}},EpZT:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M7 9v6h10V9H7zM5 19.8h14v-1.5H5v1.5zM5 4.3v1.5h14V4.3H5z"}));t.a=c},Fmc1:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=n("K9lf"),l=n("l3Sj"),a=n("REKd"),s=n("j6zP");function u({isDraggable:e,pattern:t,onClick:n,composite:l}){const{blocks:d,viewportWidth:b}=t,p="block-editor-block-patterns-list__item-description-"+Object(i.useInstanceId)(u);return Object(r.createElement)(s.a,{isEnabled:e,blocks:d},({draggable:e,onDragStart:i,onDragEnd:s})=>Object(r.createElement)("div",{className:"block-editor-block-patterns-list__list-item","aria-label":t.title,"aria-describedby":t.description?p:void 0,draggable:e,onDragStart:i,onDragEnd:s},Object(r.createElement)(c.__unstableCompositeItem,Object(o.a)({role:"option",as:"div"},l,{className:"block-editor-block-patterns-list__item",onClick:()=>n(t,d)}),Object(r.createElement)(a.a,{blocks:d,viewportWidth:b}),Object(r.createElement)("div",{className:"block-editor-block-patterns-list__item-title"},t.title),!!t.description&&Object(r.createElement)(c.VisuallyHidden,{id:p},t.description))))}function d(){return Object(r.createElement)("div",{className:"block-editor-block-patterns-list__item is-placeholder"})}t.a=function({isDraggable:e,blockPatterns:t,shownPatterns:n,onClickPattern:i,orientation:a,label:s=Object(l.__)("Block Patterns")}){const b=Object(c.__unstableUseCompositeState)({orientation:a});return Object(r.createElement)(c.__unstableComposite,Object(o.a)({},b,{role:"listbox",className:"block-editor-block-patterns-list","aria-label":s}),t.map(t=>n.includes(t)?Object(r.createElement)(u,{key:t.name,pattern:t,onClick:i,isDraggable:e,composite:b}):Object(r.createElement)(d,{key:t.name})))}},FnAh:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));t.a=c},G4zt:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("9Do8"),r=n.n(o),c=n("GRId"),i=n("1ZqX"),l=n("1CF3"),a=n("BhPs");function s(e){const t=Object(c.useRef)(),n=Object(i.useSelect)(t=>{const{isBlockSelected:n,getBlockSelectionEnd:o}=t(a.a);return n(e)||o()===e},[e]);return Object(c.useEffect)(()=>{if(!n)return;const e=t.current;if(!e)return;if(e.contains(e.ownerDocument.activeElement))return;const o=Object(l.getScrollContainer)(e)||e.ownerDocument.defaultView;o&&r()(e,o,{onlyScrollIfNeeded:!0})},[n]),t}},GKUk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("YLtl"),i=n("tI+e"),l=n("l3Sj"),a=n("v5LD");function s({value:e="",onChange:t,fontFamilies:n,...s}){const u=Object(a.a)("typography.fontFamilies");if(n||(n=u),Object(c.isEmpty)(n))return null;const d=[{value:"",label:Object(l.__)("Default")},...n.map(({fontFamily:e,name:t})=>({value:e,label:t||e}))];return Object(r.createElement)(i.SelectControl,Object(o.a)({label:Object(l.__)("Font family"),options:d,value:e,onChange:t,labelPosition:"top"},s))}},GOly:function(e,t,n){"use strict";var o=n("GRId");const r=Object(o.createContext)();t.a=r},GRId:function(e,t){e.exports=window.wp.element},GemG:function(e,t,n){var o,r,c; +this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="tr0p")}({"+0ps":function(e,t,n){"use strict";n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return p}));var o=n("GRId"),r=n("HSyU"),c=n("1CF3"),l=n("1ZqX"),i=n("l3Sj"),a=n("onLe"),s=n("K9lf"),u=n("xTGt");var d=n("BhPs");function b(){const{getBlockName:e}=Object(l.useSelect)(d.a),{getBlockType:t}=Object(l.useSelect)(r.store),{createSuccessNotice:n}=Object(l.useDispatch)(a.store);return Object(o.useCallback)((o,r)=>{let c="";if(1===r.length){var l;const n=r[0],a=null===(l=t(e(n)))||void 0===l?void 0:l.title;c="copy"===o?Object(i.sprintf)(Object(i.__)('Copied "%s" to clipboard.'),a):Object(i.sprintf)(Object(i.__)('Moved "%s" to clipboard.'),a)}else c="copy"===o?Object(i.sprintf)(Object(i._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",r.length),r.length):Object(i.sprintf)(Object(i._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",r.length),r.length);n(c,{type:"snackbar"})},[])}function p(){const{getBlocksByClientId:e,getSelectedBlockClientIds:t,hasMultiSelection:n,getSettings:o}=Object(l.useSelect)(d.a),{flashBlock:i,removeBlocks:a,replaceBlocks:p}=Object(l.useDispatch)(d.a),m=b();return Object(s.useRefEffect)(l=>{function s(s){const d=t();if(0===d.length)return;if(!n()){const{target:e}=s,{ownerDocument:t}=e;if("copy"===s.type||"cut"===s.type?Object(c.documentHasUncollapsedSelection)(t):Object(c.documentHasSelection)(t))return}if(!l.contains(s.target.ownerDocument.activeElement))return;const b=s.defaultPrevented;if(s.preventDefault(),"copy"===s.type||"cut"===s.type){1===d.length&&i(d[0]),m(s.type,d);const t=e(d),n=Object(r.serialize)(t);s.clipboardData.setData("text/plain",n),s.clipboardData.setData("text/html",n)}if("cut"===s.type)a(d);else if("paste"===s.type){if(b)return;const{__experimentalCanUserUseUnfilteredHTML:e}=o(),{plainText:t,html:n}=function(e){let{clipboardData:t}=e,n="",o="";try{n=t.getData("text/plain"),o=t.getData("text/html")}catch(e){try{o=t.getData("Text")}catch(e){return}}const r=Object(c.getFilesFromDataTransfer)(t).filter(e=>{let{type:t}=e;return/^image\/(?:jpe?g|png|gif)$/.test(t)});return r.length&&!o&&(o=r.map(e=>``).join(""),n=""),{html:o,plainText:n}}(s),l=Object(r.pasteHandler)({HTML:n,plainText:t,mode:"BLOCKS",canUserUseUnfilteredHTML:e});p(d,l,l.length-1,-1)}}return l.ownerDocument.addEventListener("copy",s),l.ownerDocument.addEventListener("cut",s),l.ownerDocument.addEventListener("paste",s),()=>{l.ownerDocument.removeEventListener("copy",s),l.ownerDocument.removeEventListener("cut",s),l.ownerDocument.removeEventListener("paste",s)}},[])}t.a=function(e){let{children:t}=e;return Object(o.createElement)("div",{ref:p()},t)}},"+6d5":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("TSYQ"),r=n.n(o),c=n("1ZqX"),l=n("BhPs");function i(e){return Object(c.useSelect)(t=>{const{hasBlockMovingClientId:n,canInsertBlockType:o,getBlockName:c,getBlockRootClientId:i,isBlockSelected:a}=t(l.a);if(!a(e))return;const s=n();return s?r()("is-block-moving-mode",{"can-insert-moving-block":o(c(s),i(e))}):void 0},[e])}},"+DUQ":function(e,t,n){"use strict";n.d(t,"animated",(function(){return y}));var o=n("kmrn");n.o(o,"useSpring")&&n.d(t,"useSpring",(function(){return o.useSpring}));var r=n("faye"),c=n("nEW0"),l=n("dfZa");function i(e,t){if(null==e)return{};var n,o,r={},c=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}const a=["style","children","scrollTop","scrollLeft"],s=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||s.test(e)||b.hasOwnProperty(e)&&b[e]?(""+t).trim():t+"px"}const d={};let b={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const p=["Webkit","Ms","Moz","O"];b=Object.keys(b).reduce((e,t)=>(p.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),b);const m=["x","y","z"],f=/^(matrix|translate|scale|rotate|skew)/,h=/^(translate)/,g=/^(rotate|skew)/,O=(e,t)=>c.s.num(e)&&0!==e?e+t:e,v=(e,t)=>c.s.arr(e)?e.every(e=>v(e,t)):c.s.num(e)?e===t:parseFloat(e)===t;class j extends l.a{constructor(e){let{x:t,y:n,z:o}=e,r=i(e,m);const l=[],a=[];(t||n||o)&&(l.push([t||0,n||0,o||0]),a.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,v(e,0)])),Object(c.l)(r,(e,t)=>{if("transform"===t)l.push([e||""]),a.push(e=>[e,""===e]);else if(f.test(t)){if(delete r[t],c.s.und(e))return;const n=h.test(t)?"px":g.test(t)?"deg":"";l.push(Object(c.y)(e)),a.push("rotate3d"===t?([e,t,o,r])=>[`rotate3d(${e},${t},${o},${O(r,n)})`,v(r,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,v(e,t.startsWith("scale")?1:0)])}}),l.length&&(r.transform=new k(l,a)),super(r)}}class k extends c.a{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Object(c.k)(this.inputs,(n,o)=>{const r=Object(c.q)(n[0]),[l,i]=this.transforms[o](c.s.arr(r)?r:n.map(c.q));e+=" "+l,t=t&&i}),t?"none":e}observerAdded(e){1==e&&Object(c.k)(this.inputs,e=>Object(c.k)(e,e=>Object(c.r)(e)&&Object(c.c)(e,this)))}observerRemoved(e){0==e&&Object(c.k)(this.inputs,e=>Object(c.k)(e,e=>Object(c.r)(e)&&Object(c.x)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Object(c.d)(this,e)}}const _=["scrollTop","scrollLeft"];o.Globals.assign({batchedUpdates:r.unstable_batchedUpdates,createStringInterpolator:c.g,colors:c.e});const y=Object(l.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,o=t,{style:r,children:c,scrollTop:l,scrollLeft:b}=o,p=i(o,a),m=Object.values(p),f=Object.keys(p).map(t=>n||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==c&&(e.textContent=c);for(let t in r)if(r.hasOwnProperty(t)){const n=u(t,r[t]);s.test(t)?e.style.setProperty(t,n):e.style[t]=n}f.forEach((t,n)=>{e.setAttribute(t,m[n])}),void 0!==l&&(e.scrollTop=l),void 0!==b&&(e.scrollLeft=b)},createAnimatedStyle:e=>new j(e),getComponentProps:e=>i(e,_)}).animated},"+G0a":function(e,t,n){"use strict";var o=n("HSyU"),r=n("1ZqX"),c=n("GRId"),l=n("BhPs");t.a=(e,t)=>{const{categories:n,collections:i,items:a}=Object(r.useSelect)(t=>{const{getInserterItems:n}=t(l.a),{getCategories:r,getCollections:c}=t(o.store);return{categories:r(),collections:c(),items:n(e)}},[e]);return[a,n,i,Object(c.useCallback)((e,n)=>{let{name:r,initialAttributes:c,innerBlocks:l}=e;const i=Object(o.createBlock)(r,c,Object(o.createBlocksFromInnerBlocksTemplate)(l));t(i,void 0,n)},[t])]}},"+WrK":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"}));t.a=c},"+gtr":function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("1ZqX"),a=n("K9lf"),s=n("HSyU"),u=n("tI+e"),d=n("JygI"),b=n("l3Sj"),p=n("wC17"),m=n("7SSY"),f=n("YLtl");const{clearTimeout:h,setTimeout:g}=window,O=200;function v(e){let{ref:t,isFocused:n,debounceTimeout:o=O,onChange:c=f.noop}=e;const[l,i]=Object(r.useState)(!1),a=Object(r.useRef)(),s=e=>{null!=t&&t.current&&i(e),c(e)},u=()=>{const e=(null==t?void 0:t.current)&&t.current.matches(":hover");return!n&&!e},d=()=>{const e=a.current;e&&h&&h(e)};return Object(r.useEffect)(()=>()=>d(),[]),{showMovers:l,debouncedShowMovers:e=>{e&&e.stopPropagation(),d(),l||s(!0)},debouncedHideMovers:e=>{e&&e.stopPropagation(),d(),a.current=g(()=>{u()&&s(!1)},o)}}}function j(e){let{ref:t,debounceTimeout:n=O,onChange:o=f.noop}=e;const[c,l]=Object(r.useState)(!1),{showMovers:i,debouncedShowMovers:a,debouncedHideMovers:s}=v({ref:t,debounceTimeout:n,isFocused:c,onChange:o}),u=Object(r.useRef)(!1),d=()=>(null==t?void 0:t.current)&&t.current.contains(t.current.ownerDocument.activeElement);return Object(r.useEffect)(()=>{const e=t.current,n=()=>{d()&&(l(!0),a())},o=()=>{d()||(l(!1),s())};return e&&!u.current&&(e.addEventListener("focus",n,!0),e.addEventListener("blur",o,!0),u.current=!0),()=>{e&&(e.removeEventListener("focus",n),e.removeEventListener("blur",o))}},[t,u,l,a,s]),{showMovers:i,gestures:{onMouseMove:a,onMouseLeave:s}}}var k=n("BhPs");function _(){const{selectBlock:e,toggleBlockHighlight:t}=Object(i.useDispatch)(k.a),{firstParentClientId:n,shouldHide:c,hasReducedUI:l}=Object(i.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientId:o,getSettings:r}=e(k.a),{hasBlockSupport:c}=e(s.store),l=n(o()),i=l[l.length-1],a=t(i),u=Object(s.getBlockType)(a),d=r();return{firstParentClientId:i,shouldHide:!c(u,"__experimentalParentSelector",!0),hasReducedUI:d.hasReducedUI}},[]),a=Object(p.a)(n),d=Object(r.useRef)(),{gestures:f}=j({ref:d,onChange(e){e&&l||t(n,e)}});return c||void 0===n?null:Object(r.createElement)("div",Object(o.a)({className:"block-editor-block-parent-selector",key:n,ref:d},f),Object(r.createElement)(u.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:()=>e(n),label:Object(b.sprintf)(Object(b.__)("Select %s"),a.title),showTooltip:!0,icon:Object(r.createElement)(m.a,{icon:a.icon})}))}var y=n("wzfx"),E=n("f8JO"),C=n("REKd");function S(e){let{blocks:t}=e;return Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(r.createElement)(u.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right",focusOnMount:!1},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(b.__)("Preview")),Object(r.createElement)(C.a,{viewportWidth:500,blocks:t})))))}var w=e=>{let{className:t,possibleBlockTransformations:n,onSelect:o,blocks:c}=e;const[l,i]=Object(r.useState)();return Object(r.createElement)(u.MenuGroup,{label:Object(b.__)("Transform to"),className:t},l&&Object(r.createElement)(S,{blocks:Object(s.switchToBlockType)(c,l)}),n.map(e=>{const{name:t,icon:n,title:c,isDisabled:l}=e;return Object(r.createElement)(u.MenuItem,{key:t,className:Object(s.getBlockMenuDefaultClassName)(t),onClick:e=>{e.preventDefault(),o(t)},disabled:l,onMouseLeave:()=>i(null),onMouseEnter:()=>i(t)},Object(r.createElement)(m.a,{icon:n,showColors:!0}),c)}))},B=n("7NR9");function I(e){let{hoveredBlock:t,onSwitch:n}=e;const{name:o,clientId:c}=t,[l,a]=Object(r.useState)(),d=Object(i.useSelect)(e=>e(s.store).getBlockType(o),[o]);return Object(r.createElement)(u.MenuGroup,{label:Object(b.__)("Styles"),className:"block-editor-block-switcher__styles__menugroup"},l&&Object(r.createElement)(S,{blocks:d&&d.example?Object(s.getBlockFromExample)(d.name,{attributes:{...d.example.attributes,className:l},innerBlocks:d.example.innerBlocks}):Object(s.cloneBlock)(t,{className:l})}),Object(r.createElement)(B.a,{clientId:c,onSwitch:n,onHoverClassName:a,itemRole:"menuitem"}))}var x=n("1iEr");const T=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set;const{clientId:o,name:r,innerBlocks:c=[]}=e;if(!n.has(o)){if(r===t)return e;for(const e of c){const o=T(e,t,n);if(o)return o}}},P=(e,t)=>{const n=((e,t)=>{const n=Object(s.__experimentalGetBlockAttributesNamesByRole)(e,"content");return null!=n&&n.length?n.reduce((e,n)=>(t[n]&&(e[n]=t[n]),e),{}):t})(t.name,t.attributes);e.attributes={...e.attributes,...n}};var R=(e,t)=>Object(r.useMemo)(()=>e.reduce((e,n)=>{const o=((e,t)=>{const n=t.map(e=>Object(s.cloneBlock)(e)),o=new Set;for(const t of e){let e=!1;for(const r of n){const n=T(r,t.name,o);if(n){e=!0,o.add(n.clientId),P(n,t);break}}if(!e)return}return n})(t,n.blocks);return o&&e.push({...n,transformedBlocks:o}),e},[]),[e,t]);function N(e){let{patterns:t,onSelect:n}=e;return Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(r.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(r.createElement)(u.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right"},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(r.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(b.__)("Preview")),Object(r.createElement)(L,{patterns:t,onSelect:n})))))}function L(e){let{patterns:t,onSelect:n}=e;const c=Object(u.__unstableUseCompositeState)();return Object(r.createElement)(u.__unstableComposite,Object(o.a)({},c,{role:"listbox",className:"block-editor-block-switcher__preview-patterns-container","aria-label":Object(b.__)("Patterns list")}),t.map(e=>Object(r.createElement)(M,{key:e.name,pattern:e,onSelect:n,composite:c})))}function M(e){let{pattern:t,onSelect:n,composite:c}=e;const l="block-editor-block-switcher__preview-patterns-container",i=Object(a.useInstanceId)(M,l+"-list__item-description");return Object(r.createElement)("div",{className:l+"-list__list-item","aria-label":t.title,"aria-describedby":t.description?i:void 0},Object(r.createElement)(u.__unstableCompositeItem,Object(o.a)({role:"option",as:"div"},c,{className:l+"-list__item",onClick:()=>n(t.transformedBlocks)}),Object(r.createElement)(C.a,{blocks:t.transformedBlocks,viewportWidth:t.viewportWidth||500}),Object(r.createElement)("div",{className:l+"-list__item-title"},t.title)),!!t.description&&Object(r.createElement)(u.VisuallyHidden,{id:i},t.description))}var A=function(e){let{blocks:t,patterns:n,onSelect:o}=e;const[c,l]=Object(r.useState)(!1),i=R(n,t);return i.length?Object(r.createElement)(u.MenuGroup,{className:"block-editor-block-switcher__pattern__transforms__menugroup"},c&&Object(r.createElement)(N,{patterns:i,onSelect:o}),Object(r.createElement)(u.MenuItem,{onClick:e=>{e.preventDefault(),l(!c)},icon:x.a},Object(b.__)("Patterns"))):null};const D=e=>{let{clientIds:t,blocks:n}=e;const{replaceBlocks:o}=Object(i.useDispatch)(k.a),c=Object(p.a)(n[0].clientId),{possibleBlockTransformations:l,canRemove:a,hasBlockStyles:d,icon:h,blockTitle:g,patterns:O}=Object(i.useSelect)(e=>{var o;const{getBlockRootClientId:r,getBlockTransformItems:l,__experimentalGetPatternTransformItems:i}=e(k.a),{getBlockStyles:a,getBlockType:u}=e(s.store),{canRemoveBlocks:d}=e(k.a),b=r(Object(f.castArray)(t)[0]),[{name:p}]=n,m=1===n.length,h=m&&a(p);let g;if(m)g=null==c?void 0:c.icon;else{var O;g=1===Object(f.uniq)(n.map(e=>{let{name:t}=e;return t})).length?null===(O=u(p))||void 0===O?void 0:O.icon:y.a}return{possibleBlockTransformations:l(n,b),canRemove:d(t,b),hasBlockStyles:!(null==h||!h.length),icon:g,blockTitle:null===(o=u(p))||void 0===o?void 0:o.title,patterns:i(n,b)}},[t,n,null==c?void 0:c.icon]),v=1===n.length&&Object(s.isReusableBlock)(n[0]),j=1===n.length&&Object(s.isTemplatePart)(n[0]),_=!!l.length&&a,C=!(null==O||!O.length)&&a;if(!d&&!_)return Object(r.createElement)(u.ToolbarGroup,null,Object(r.createElement)(u.ToolbarButton,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",title:g,icon:Object(r.createElement)(m.a,{icon:h,showColors:!0})}));const S=g,B=1===n.length?Object(b.sprintf)(Object(b.__)("%s: Change block type or style"),g):Object(b.sprintf)(Object(b._n)("Change type of %d block","Change type of %d blocks",n.length),n.length),x=d||_||C;return Object(r.createElement)(u.ToolbarGroup,null,Object(r.createElement)(u.ToolbarItem,null,e=>Object(r.createElement)(u.DropdownMenu,{className:"block-editor-block-switcher",label:S,popoverProps:{position:"bottom right",isAlternate:!0,className:"block-editor-block-switcher__popover"},icon:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.a,{icon:h,className:"block-editor-block-switcher__toggle",showColors:!0}),(v||j)&&Object(r.createElement)("span",{className:"block-editor-block-switcher__toggle-text"},Object(r.createElement)(E.a,{clientId:t}))),toggleProps:{describedBy:B,...e},menuProps:{orientation:"both"}},e=>{let{onClose:c}=e;return x&&Object(r.createElement)("div",{className:"block-editor-block-switcher__container"},C&&Object(r.createElement)(A,{blocks:n,patterns:O,onSelect:e=>{(e=>{o(t,e)})(e),c()}}),_&&Object(r.createElement)(w,{className:"block-editor-block-switcher__transforms__menugroup",possibleBlockTransformations:l,blocks:n,onSelect:e=>{(e=>{o(t,Object(s.switchToBlockType)(n,e))})(e),c()}}),d&&Object(r.createElement)(I,{hoveredBlock:n[0],onSwitch:c}))})))};var F=e=>{let{clientIds:t}=e;const n=Object(i.useSelect)(e=>e(k.a).getBlocksByClientId(t),[t]);return!n.length||n.some(e=>!e)?null:Object(r.createElement)(D,{clientIds:t,blocks:n})},z=n("fOYa"),H=n("U1WI");function V(e){let{hideDragHandle:t}=e;const{blockClientIds:n,blockClientId:c,blockType:b,hasFixedToolbar:p,hasReducedUI:m,isValid:f,isVisual:h}=Object(i.useSelect)(e=>{const{getBlockName:t,getBlockMode:n,getSelectedBlockClientIds:o,isBlockValid:r,getBlockRootClientId:c,getSettings:l}=e(k.a),i=o(),a=i[0],u=c(a),d=l();return{blockClientIds:i,blockClientId:a,blockType:a&&Object(s.getBlockType)(t(a)),hasFixedToolbar:d.hasFixedToolbar,hasReducedUI:d.hasReducedUI,rootClientId:u,isValid:i.every(e=>r(e)),isVisual:i.every(e=>"visual"===n(e))}},[]),{toggleBlockHighlight:g}=Object(i.useDispatch)(k.a),O=Object(r.useRef)(),{showMovers:v,gestures:y}=j({ref:O,onChange(e){e&&m||g(c,e)}}),E=Object(a.useViewportMatch)("medium","<")||p;if(b&&!Object(s.hasBlockSupport)(b,"__experimentalToolbar",!0))return null;const C=E||v;if(0===n.length)return null;const S=f&&h,w=n.length>1,B=l()("block-editor-block-toolbar",C&&"is-showing-movers");return Object(r.createElement)("div",{className:B},!w&&!E&&Object(r.createElement)(_,{clientIds:n}),Object(r.createElement)("div",Object(o.a)({ref:O},y),(S||w)&&Object(r.createElement)(u.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},Object(r.createElement)(F,{clientIds:n}),Object(r.createElement)(d.a,{clientIds:n,hideDragHandle:t||m}))),S&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(z.b.Slot,{group:"parent",className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(z.b.Slot,{group:"block",className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(z.b.Slot,{className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(z.b.Slot,{group:"inline",className:"block-editor-block-toolbar__slot"}),Object(r.createElement)(z.b.Slot,{group:"other",className:"block-editor-block-toolbar__slot"})),Object(r.createElement)(H.a,{clientIds:n}))}},"//Lo":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=c},"/Hvg":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),l=n("Tqx9");var i=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"}));var a=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"}));var s=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"}));const u=[{name:Object(c.__)("Uppercase"),value:"uppercase",icon:i},{name:Object(c.__)("Lowercase"),value:"lowercase",icon:a},{name:Object(c.__)("Capitalize"),value:"capitalize",icon:s}];function d(e){let{value:t,onChange:n}=e;return Object(o.createElement)("fieldset",{className:"block-editor-text-transform-control"},Object(o.createElement)("legend",null,Object(c.__)("Letter case")),Object(o.createElement)("div",{className:"block-editor-text-transform-control__buttons"},u.map(e=>Object(o.createElement)(r.Button,{key:e.value,icon:e.icon,isSmall:!0,isPressed:t===e.value,"aria-label":e.name,onClick:()=>n(t===e.value?void 0:e.value)}))))}},"/QNa":function(e,t,n){"use strict";var o=n("GRId"),r=n("1ZqX"),c=n("wx14"),l=n("K9lf"),i=n("BhPs"),a=n("AHN3");var s=Object(l.createHigherOrderComponent)(e=>Object(r.withRegistry)(t=>{let{useSubRegistry:n=!0,registry:l,...s}=t;if(!n)return Object(o.createElement)(e,Object(c.a)({registry:l},s));const[u,d]=Object(o.useState)(null);return Object(o.useEffect)(()=>{const e=Object(r.createRegistry)({},l);e.registerStore(a.a,i.b),d(e)},[l]),u?Object(o.createElement)(r.RegistryProvider,{value:u},Object(o.createElement)(e,Object(c.a)({registry:u},s))):null}),"withRegistryProvider"),u=n("JGYp"),d=n("cDhi");t.a=s((function(e){const{children:t,settings:n}=e,{updateSettings:c}=Object(r.useDispatch)(i.a);return Object(o.useEffect)(()=>{c(n)},[n]),Object(u.a)(e),Object(o.createElement)(d.b,null,t)}))},"/lNF":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("HSyU"),r=n("1ZqX"),c=n("1CF3"),l=n("BhPs");function i(e,t,n,r,c,l,i){return a=>{const{srcRootClientId:s,srcClientIds:u,type:d,blocks:b}=function(e){let t={srcRootClientId:null,srcClientIds:null,srcIndex:null,type:null,blocks:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("wp-blocks")))}catch(e){return t}return t}(a);if("inserter"===d){i();const n=b.map(e=>Object(o.cloneBlock)(e));l(n,t,e,!0,null)}if("block"===d){const o=n(u[0],s);if(s===e&&o===t)return;if(u.includes(e)||r(u).some(t=>t===e))return;const l=s===e,i=u.length;c(u,s,e,l&&oe(l.a).getSettings().mediaUpload,[]),{canInsertBlockType:a,getBlockIndex:s,getClientIdsOfDescendants:u}=Object(r.useSelect)(l.a),{insertBlocks:d,moveBlocksToPosition:b,updateBlockAttributes:p,clearSelectedBlock:m}=Object(r.useDispatch)(l.a),f=i(e,t,s,u,b,d,m),h=function(e,t,n,r,c,l){return i=>{if(!n)return;const a=Object(o.findTransform)(Object(o.getBlockTransforms)("from"),t=>"files"===t.type&&c(t.blockName,e)&&t.isMatch(i));if(a){const n=a.transform(i,r);l(n,t,e)}}}(e,t,n,p,a,d),g=function(e,t,n){return r=>{const c=Object(o.pasteHandler)({HTML:r,mode:"BLOCKS"});c.length&&n(c,t,e)}}(e,t,d);return e=>{const t=Object(c.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length?h(t):n?g(n):f(e)}}},"0E5u":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("kWXm"),i=n("DmX/"),a=n("suLj"),s=n("bTSr"),u=n("l3Sj");const d={left:l.a,center:i.a,right:a.a,"space-between":s.a};var b=function(e){let{allowedControls:t=["left","center","right","space-between"],isCollapsed:n=!0,onChange:b,value:p,popoverProps:m,isToolbar:f}=e;const h=e=>{b(e===p?void 0:e)},g=p?d[p]:d.left,O=[{name:"left",icon:l.a,title:Object(u.__)("Justify items left"),isActive:"left"===p,onClick:()=>h("left")},{name:"center",icon:i.a,title:Object(u.__)("Justify items center"),isActive:"center"===p,onClick:()=>h("center")},{name:"right",icon:a.a,title:Object(u.__)("Justify items right"),isActive:"right"===p,onClick:()=>h("right")},{name:"space-between",icon:s.a,title:Object(u.__)("Space between items"),isActive:"space-between"===p,onClick:()=>h("space-between")}],v=f?c.ToolbarGroup:c.ToolbarDropdownMenu,j=f?{isCollapsed:n}:{};return Object(r.createElement)(v,Object(o.a)({icon:g,popoverProps:m,label:Object(u.__)("Change items justification"),controls:O.filter(e=>t.includes(e.name))},j))};function p(e){return Object(r.createElement)(b,Object(o.a)({},e,{isToolbar:!1}))}function m(e){return Object(r.createElement)(b,Object(o.a)({},e,{isToolbar:!0}))}},"14PQ":function(e,t,n){"use strict";n.d(t,"gc",(function(){return o.b})),n.d(t,"hc",(function(){return o.c})),n.d(t,"ic",(function(){return o.d})),n.d(t,"fc",(function(){return o.a})),n.d(t,"uc",(function(){return o.e})),n.d(t,"xb",(function(){return r.a})),n.d(t,"nc",(function(){return r.e})),n.d(t,"yb",(function(){return r.b})),n.d(t,"mc",(function(){return r.d})),n.d(t,"Rb",(function(){return r.c})),n.d(t,"jc",(function(){return c.b})),n.d(t,"kc",(function(){return c.c})),n.d(t,"lc",(function(){return c.d})),n.d(t,"I",(function(){return c.a})),n.d(t,"vc",(function(){return c.e})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return T.a})),n.d(t,"e",(function(){return T.b})),n.d(t,"nb",(function(){return N})),n.d(t,"lb",(function(){return M})),n.d(t,"f",(function(){return z})),n.d(t,"mb",(function(){return G})),n.d(t,"h",(function(){return U.a})),n.d(t,"i",(function(){return W.b})),n.d(t,"m",(function(){return W.a})),n.d(t,"g",(function(){return Y})),n.d(t,"j",(function(){return X.a})),n.d(t,"pc",(function(){return k.c})),n.d(t,"n",(function(){return C.a})),n.d(t,"r",(function(){return Be})),n.d(t,"pb",(function(){return xe})),n.d(t,"ob",(function(){return We})),n.d(t,"qb",(function(){return $e})),n.d(t,"A",(function(){return nt})),n.d(t,"z",(function(){return tt})),n.d(t,"rb",(function(){return ot.a})),n.d(t,"sb",(function(){return rt.a})),n.d(t,"C",(function(){return ct.a})),n.d(t,"B",(function(){return ct.b})),n.d(t,"D",(function(){return at})),n.d(t,"E",(function(){return ut})),n.d(t,"F",(function(){return dt.a})),n.d(t,"ub",(function(){return bt.a})),n.d(t,"vb",(function(){return pt.a})),n.d(t,"wb",(function(){return mt.a})),n.d(t,"Eb",(function(){return ft.a})),n.d(t,"Ob",(function(){return ht.a})),n.d(t,"Pb",(function(){return gt.a})),n.d(t,"tb",(function(){return st.a})),n.d(t,"Lb",(function(){return Ot.a})),n.d(t,"Ab",(function(){return on})),n.d(t,"zb",(function(){return qt})),n.d(t,"Bb",(function(){return cn})),n.d(t,"J",(function(){return ln.a})),n.d(t,"rc",(function(){return ln.b})),n.d(t,"M",(function(){return an.b})),n.d(t,"L",(function(){return an.a})),n.d(t,"O",(function(){return sn.b})),n.d(t,"N",(function(){return sn.a})),n.d(t,"Gb",(function(){return Hn})),n.d(t,"Hb",(function(){return xn})),n.d(t,"Jb",(function(){return yn})),n.d(t,"Ib",(function(){return kn})),n.d(t,"P",(function(){return Vn.a})),n.d(t,"Kb",(function(){return Se})),n.d(t,"R",(function(){return $n})),n.d(t,"Q",(function(){return to})),n.d(t,"S",(function(){return qn})),n.d(t,"T",(function(){return Kn})),n.d(t,"X",(function(){return no})),n.d(t,"Y",(function(){return Ro})),n.d(t,"Nb",(function(){return Lo})),n.d(t,"ab",(function(){return xo})),n.d(t,"bb",(function(){return Mo})),n.d(t,"cb",(function(){return Ao})),n.d(t,"Yb",(function(){return Do})),n.d(t,"eb",(function(){return zo})),n.d(t,"Qb",(function(){return Ho})),n.d(t,"gb",(function(){return gn})),n.d(t,"hb",(function(){return Wo})),n.d(t,"ib",(function(){return Jn})),n.d(t,"Cb",(function(){return Yo})),n.d(t,"tc",(function(){return it})),n.d(t,"Ub",(function(){return Xo.a})),n.d(t,"Xb",(function(){return Zo.a})),n.d(t,"Mb",(function(){return Qo})),n.d(t,"Tb",(function(){return Jo})),n.d(t,"o",(function(){return ur})),n.d(t,"p",(function(){return dr.c})),n.d(t,"qc",(function(){return br.a})),n.d(t,"Db",(function(){return pr.b})),n.d(t,"q",(function(){return mr.a})),n.d(t,"s",(function(){return Te.a})),n.d(t,"t",(function(){return fr.a})),n.d(t,"Zb",(function(){return fr.b})),n.d(t,"u",(function(){return hr.a})),n.d(t,"v",(function(){return gr.a})),n.d(t,"w",(function(){return F.a})),n.d(t,"x",(function(){return Or.a})),n.d(t,"y",(function(){return Er})),n.d(t,"G",(function(){return Cr.a})),n.d(t,"bc",(function(){return Cr.b})),n.d(t,"H",(function(){return Sr.a})),n.d(t,"Vb",(function(){return wr.a})),n.d(t,"K",(function(){return Br.a})),n.d(t,"Fb",(function(){return xr})),n.d(t,"k",(function(){return Pr})),n.d(t,"U",(function(){return Rr})),n.d(t,"V",(function(){return Nr.a})),n.d(t,"W",(function(){return Dr})),n.d(t,"ec",(function(){return Ar})),n.d(t,"cc",(function(){return Mr})),n.d(t,"Z",(function(){return Fr})),n.d(t,"db",(function(){return tr})),n.d(t,"fb",(function(){return Gr})),n.d(t,"dc",(function(){return Vr})),n.d(t,"jb",(function(){return Ur.a})),n.d(t,"kb",(function(){return Wr.a})),n.d(t,"ac",(function(){return Kr})),n.d(t,"oc",(function(){return ce.a})),n.d(t,"Wb",(function(){return $r.a})),n.d(t,"Sb",(function(){return Zr})),n.d(t,"l",(function(){return Qr.a})),n.d(t,"sc",(function(){return lt.a}));var o=n("5gPN"),r=n("zmSX"),c=n("9XVa"),l=n("wx14"),i=n("GRId"),a=n("YLtl"),s=n("l3Sj"),u=n("tI+e"),d=n("fPbg"),b=n("plpT"),p=n("ziDm");const m=[{icon:d.a,title:Object(s.__)("Align text left"),align:"left"},{icon:b.a,title:Object(s.__)("Align text center"),align:"center"},{icon:p.a,title:Object(s.__)("Align text right"),align:"right"}],f={position:"bottom right",isAlternate:!0};var h=function(e){let{value:t,onChange:n,alignmentControls:o=m,label:r=Object(s.__)("Align"),describedBy:c=Object(s.__)("Change text alignment"),isCollapsed:b=!0,isToolbar:h}=e;function g(e){return()=>n(t===e?void 0:e)}const O=Object(a.find)(o,e=>e.align===t),v=h?u.ToolbarGroup:u.ToolbarDropdownMenu,j=h?{isCollapsed:b}:{};return Object(i.createElement)(v,Object(l.a)({icon:O?O.icon:Object(s.isRTL)()?p.a:d.a,label:r,toggleProps:{describedBy:c},popoverProps:f,controls:o.map(e=>{const{align:n}=e,o=t===n;return{...e,isActive:o,role:b?"menuitemradio":void 0,onClick:g(n)}})},j))};function g(e){return Object(i.createElement)(h,Object(l.a)({},e,{isToolbar:!1}))}function O(e){return Object(i.createElement)(h,Object(l.a)({},e,{isToolbar:!0}))}var v=n("g56x"),j=n("HSyU"),k=n("ur0x"),_=n("1ZqX"),y=n("pOGT"),E=n("+G0a"),C=n("7SSY"),S=n("BhPs");var w={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockName:n}=Object(_.useSelect)(e=>{const{getSelectedBlockClientId:t,getBlockName:n,getBlockInsertionPoint:o}=e(S.a),r=t();return{selectedBlockName:r?n(r):null,rootClientId:o().rootClientId}},[]),[o,r,c]=Object(E.a)(t,a.noop),l=Object(i.useMemo)(()=>(e.trim()?Object(y.a)(o,r,c,e):Object(a.orderBy)(o,["frecency"],["desc"])).filter(e=>e.name!==n).slice(0,9),[e,n,o,r,c]);return[Object(i.useMemo)(()=>l.map(e=>{const{title:t,icon:n,isDisabled:o}=e;return{key:"block-"+e.id,value:e,label:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C.a,{key:"icon",icon:n,showColors:!0}),t),isDisabled:o}}),[l])]},allowContext:(e,t)=>!(/\S/.test(e)||/\S/.test(t)),getOptionCompletion(e){const{name:t,initialAttributes:n,innerBlocks:o}=e;return{action:"replace",value:Object(j.createBlock)(t,n,Object(j.createBlocksFromInnerBlocksTemplate)(o))}}};const B=[];function I(e){let{completers:t=B}=e;const{name:n}=Object(k.c)();return Object(i.useMemo)(()=>{let e=t;return(n===Object(j.getDefaultBlockName)()||Object(j.getBlockSupport)(n,"__experimentalSlashInserter",!1))&&(e=e.concat([w])),Object(v.hasFilter)("editor.Autocomplete.completers")&&(e===t&&(e=e.map(a.clone)),e=Object(v.applyFilters)("editor.Autocomplete.completers",e,n)),e},[t,n])}var x=function(e){return Object(i.createElement)(u.Autocomplete,Object(l.a)({},e,{completers:I(e)}))},T=n("vtO0"),P=n("Tqx9");var R=Object(i.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(P.Path,{d:"M4.2 9h1.5V5.8H9V4.2H4.2V9zm14 9.2H15v1.5h4.8V15h-1.5v3.2zM15 4.2v1.5h3.2V9h1.5V4.2H15zM5.8 15H4.2v4.8H9v-1.5H5.8V15z"}));var N=function(e){let{isActive:t,label:n=Object(s.__)("Toggle full height"),onToggle:o,isDisabled:r}=e;return Object(i.createElement)(u.ToolbarButton,{isActive:t,icon:R,label:n,onClick:()=>o(!t),disabled:r})},L=n("RxS6");var M=function(e){const{label:t=Object(s.__)("Change matrix alignment"),onChange:n=a.noop,value:o="center",isDisabled:r}=e,c=Object(i.createElement)(u.__experimentalAlignmentMatrixControl.Icon,{value:o}),l="block-editor-block-alignment-matrix-control";return Object(i.createElement)(u.Dropdown,{position:"bottom right",className:l,popoverProps:{className:"block-editor-block-alignment-matrix-control__popover",isAlternate:!0},renderToggle:e=>{let{onToggle:n,isOpen:o}=e;return Object(i.createElement)(u.ToolbarButton,{onClick:n,"aria-haspopup":"true","aria-expanded":o,onKeyDown:e=>{o||e.keyCode!==L.DOWN||(e.preventDefault(),n())},label:t,icon:c,showTooltip:!0,disabled:r})},renderContent:()=>Object(i.createElement)(u.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:n,value:o})})},A=n("iClF");var D=Object(i.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(P.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})),F=n("f8JO");var z=function(e){let{rootLabelText:t}=e;const{selectBlock:n,clearSelectedBlock:o}=Object(_.useDispatch)(S.a),{clientId:r,parents:c,hasSelection:l}=Object(_.useSelect)(e=>{const{getSelectionStart:t,getSelectedBlockClientId:n,getBlockParents:o}=e(S.a),r=n();return{parents:o(r),clientId:r,hasSelection:!!t().clientId}},[]),a=t||Object(s.__)("Document");return Object(i.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":Object(s.__)("Block breadcrumb")},Object(i.createElement)("li",{className:l?void 0:"block-editor-block-breadcrumb__current","aria-current":l?void 0:"true"},l&&Object(i.createElement)(u.Button,{className:"block-editor-block-breadcrumb__button",variant:"tertiary",onClick:o},a),!l&&a,!!r&&Object(i.createElement)(A.a,{icon:D,className:"block-editor-block-breadcrumb__separator"})),c.map(e=>Object(i.createElement)("li",{key:e},Object(i.createElement)(u.Button,{className:"block-editor-block-breadcrumb__button",variant:"tertiary",onClick:()=>n(e)},Object(i.createElement)(F.a,{clientId:e})),Object(i.createElement)(A.a,{icon:D,className:"block-editor-block-breadcrumb__separator"}))),!!r&&Object(i.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(i.createElement)(F.a,{clientId:r})))},H=n("TSYQ"),V=n.n(H);function G(e){let{clientId:t,tagName:n="div",wrapperProps:o,className:r}=e;const[c,a]=Object(i.useState)(!0),[s,u]=Object(i.useState)(!1),{isParentSelected:d,hasChildSelected:b,isDraggingBlocks:p,isParentHighlighted:m}=Object(_.useSelect)(e=>{const{isBlockSelected:n,hasSelectedInnerBlock:o,isDraggingBlocks:r,isBlockHighlighted:c}=e(S.a);return{isParentSelected:n(t),hasChildSelected:o(t,!0),isDraggingBlocks:r(),isParentHighlighted:c(t)}},[t]),f=V()("block-editor-block-content-overlay",null==o?void 0:o.className,r,{"overlay-active":c,"parent-highlighted":m,"is-dragging-blocks":p});return Object(i.useEffect)(()=>{d||b||c||a(!0),d&&!s&&c&&a(!1),b&&c&&a(!1)},[d,b,c,s]),Object(i.createElement)(n,Object(l.a)({},o,{className:f,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),onMouseUp:c?()=>a(!1):void 0}),null==o?void 0:o.children)}var U=n("uoCR"),W=n("fOYa");const q=()=>Object(i.createElement)(u.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(i.createElement)(u.Path,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"})),K=e=>{let{style:t,className:n}=e;return Object(i.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(i.createElement)("div",{className:n+" block-library-colors-selector__state-selection",style:t},Object(i.createElement)(q,null)))},$=e=>{let{TextColor:t,BackgroundColor:n}=e;return e=>{let{onToggle:o,isOpen:r}=e;return Object(i.createElement)(u.ToolbarGroup,null,Object(i.createElement)(u.ToolbarButton,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(s.__)("Open Colors Selector"),onClick:o,onKeyDown:e=>{r||e.keyCode!==L.DOWN||(e.preventDefault(),o())},icon:Object(i.createElement)(n,null,Object(i.createElement)(t,null,Object(i.createElement)(K,null)))}))}};var Y=e=>{let{children:t,...n}=e;return Object(i.createElement)(u.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:$(n),renderContent:()=>t})},X=n("JRTi"),Z=n("OzlF"),Q=n("K9lf"),J=n("VKE3"),ee=n("+DUQ"),te=n("Xkls");const ne=Object(ee.animated)(u.__experimentalTreeGridRow);function oe(e){let{isSelected:t,position:n,level:o,rowCount:r,children:c,className:a,path:s,...u}=e;const d=Object(te.a)({isSelected:t,adjustScrolling:!1,enableAnimation:!0,triggerAnimationOnChange:s});return Object(i.createElement)(ne,Object(l.a)({ref:d,className:V()("block-editor-list-view-leaf",a),level:o,positionInSet:n,setSize:r},u),c)}var re=n("9Ma0"),ce=n("wC17");function le(e){let{onClick:t}=e;return Object(i.createElement)("span",{className:"block-editor-list-view__expander",onClick:e=>t(e,{forceToggle:!0}),"aria-hidden":"true"},Object(i.createElement)(A.a,{icon:D}))}var ie=Object(i.forwardRef)((function e(t,n){let{className:o,block:{clientId:r},isSelected:c,onClick:l,onToggleExpanded:a,position:d,siblingBlockCount:b,level:p,tabIndex:m,onFocus:f,onDragStart:h,onDragEnd:g,draggable:O}=t;const v=Object(ce.a)(r),j="list-view-block-select-button__"+Object(Q.useInstanceId)(e),k=((e,t,n)=>Object(s.sprintf)(Object(s.__)("Block %1$d of %2$d, Level %3$d"),e,t,n))(d,b,p);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.Button,{className:V()("block-editor-list-view-block-select-button",o),onClick:l,"aria-describedby":j,ref:n,tabIndex:m,onFocus:f,onDragStart:h,onDragEnd:g,draggable:O},Object(i.createElement)(le,{onClick:a}),Object(i.createElement)(C.a,{icon:null==v?void 0:v.icon,showColors:!0}),Object(i.createElement)(F.a,{clientId:r}),(null==v?void 0:v.anchor)&&Object(i.createElement)("span",{className:"block-editor-list-view-block-select-button__anchor"},v.anchor),c&&Object(i.createElement)(u.VisuallyHidden,null,Object(s.__)("(selected block)"))),Object(i.createElement)("div",{className:"block-editor-list-view-block-select-button__description",id:j},k))})),ae=n("ZAjO");var se=Object(i.forwardRef)((e,t)=>{let{onClick:n,onToggleExpanded:o,block:r,isSelected:c,position:a,siblingBlockCount:s,level:u,...d}=e;const{clientId:b}=r,{blockMovingClientId:p,selectedBlockInBlockEditor:m}=Object(_.useSelect)(e=>{const{getBlockRootClientId:t,hasBlockMovingClientId:n,getSelectedBlockClientId:o}=e(S.a);return{rootClientId:t(b)||"",blockMovingClientId:n(),selectedBlockInBlockEditor:o()}},[b]),f=p&&m===b,h=V()("block-editor-list-view-block-contents",{"is-dropping-before":f});return Object(i.createElement)(ae.a,{clientIds:[r.clientId]},e=>{let{draggable:b,onDragStart:p,onDragEnd:m}=e;return Object(i.createElement)(ie,Object(l.a)({ref:t,className:h,block:r,onClick:n,onToggleExpanded:o,isSelected:c,position:a,siblingBlockCount:s,level:u,draggable:b,onDragStart:p,onDragEnd:m},d))})}),ue=n("1eGn");const de=Object(i.createContext)({__experimentalFeatures:!1,__experimentalPersistentListViewFeatures:!1}),be=()=>Object(i.useContext)(de);var pe=Object(i.memo)((function(e){let{block:t,isDragged:n,isSelected:o,isBranchSelected:r,selectBlock:c,position:l,level:a,rowCount:s,siblingBlockCount:d,showBlockMovers:b,path:p,isExpanded:m}=e;const f=Object(i.useRef)(null),[h,g]=Object(i.useState)(!1),{clientId:O}=t,{toggleBlockHighlight:v}=Object(_.useDispatch)(S.a),{__experimentalFeatures:j,__experimentalPersistentListViewFeatures:k,__experimentalHideContainerBlockActions:y,isTreeGridMounted:E,expand:C,collapse:w}=be(),B=b&&d>0,I=V()("block-editor-list-view-block__mover-cell",{"is-visible":h||o}),x=V()("block-editor-list-view-block__menu-cell",{"is-visible":h||o});Object(i.useEffect)(()=>{k&&!E&&o&&f.current.focus()},[]);const T=k?v:()=>{},P=Object(i.useCallback)(()=>{g(!0),T(O,!0)},[O,g,T]),R=Object(i.useCallback)(()=>{g(!1),T(O,!1)},[O,g,T]),N=Object(i.useCallback)(e=>{e.stopPropagation(),c(O)},[O,c]),L=Object(i.useCallback)(e=>{e.stopPropagation(),!0===m?w(O):!1===m&&C(O)},[O,C,w,m]),M=j&&(!y||y&&a>1),A=j&&!M;let D;B?D=2:A&&(D=3);const F=V()({"is-selected":o,"is-branch-selected":k&&r,"is-dragging":n,"has-single-cell":A});return Object(i.createElement)(oe,{className:F,onMouseEnter:P,onMouseLeave:R,onFocus:P,onBlur:R,level:a,position:l,rowCount:s,path:p,id:"list-view-block-"+O,"data-block":O,isExpanded:m},Object(i.createElement)(u.__experimentalTreeGridCell,{className:"block-editor-list-view-block__contents-cell",colSpan:D,ref:f},e=>{let{ref:n,tabIndex:r,onFocus:c}=e;return Object(i.createElement)("div",{className:"block-editor-list-view-block__contents-container"},Object(i.createElement)(se,{block:t,onClick:N,onToggleExpanded:L,isSelected:o,position:l,siblingBlockCount:d,level:a,ref:n,tabIndex:r,onFocus:c}))}),B&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.__experimentalTreeGridCell,{className:I,withoutGridItem:!0},Object(i.createElement)(u.__experimentalTreeGridItem,null,e=>{let{ref:t,tabIndex:n,onFocus:o}=e;return Object(i.createElement)(re.b,{orientation:"vertical",clientIds:[O],ref:t,tabIndex:n,onFocus:o})}),Object(i.createElement)(u.__experimentalTreeGridItem,null,e=>{let{ref:t,tabIndex:n,onFocus:o}=e;return Object(i.createElement)(re.a,{orientation:"vertical",clientIds:[O],ref:t,tabIndex:n,onFocus:o})}))),M&&Object(i.createElement)(u.__experimentalTreeGridCell,{className:x},e=>{let{ref:t,tabIndex:n,onFocus:o}=e;return Object(i.createElement)(ue.a,{clientIds:[O],icon:J.a,toggleProps:{ref:t,className:"block-editor-list-view-block__menu",tabIndex:n,onFocus:o},disableOpenOnArrowDown:!0,__experimentalSelectBlock:N})}))}));function me(e,t,n){var o;if(null==n?void 0:n.includes(e.clientId))return 0;return null===(o=t[e.clientId])||void 0===o||o?1+e.innerBlocks.reduce(fe(t,n),0):1}const fe=(e,t)=>(n,o)=>{var r;if(null==t?void 0:t.includes(o.clientId))return n;return(null===(r=e[o.clientId])||void 0===r||r)&&o.innerBlocks.length>0?n+me(o,e,t):n+1};function he(e){const{blocks:t,selectBlock:n,showBlockMovers:o,showNestedBlocks:r,selectedClientIds:c,level:l=1,path:s="",isBranchSelected:u=!1,listPosition:d=0,fixedListWindow:b}=e,{expandedState:p,draggedClientIds:m,__experimentalPersistentListViewFeatures:f}=be(),h=Object(a.compact)(t),g=h.length;let O=d;return Object(i.createElement)(i.Fragment,null,h.map((e,t)=>{var d;const{clientId:v,innerBlocks:j}=e;t>0&&(O+=me(h[t-1],p,m));const k=f,{itemInView:y}=b,E=!k||y(O),C=t+1,S=s.length>0?`${s}_${C}`:""+C,w=r&&!!j&&!!j.length,B=w?null===(d=p[v])||void 0===d||d:void 0,I=!(null==m||!m.includes(v)),x=I||E,T=((e,t)=>Object(a.isArray)(t)&&t.length?-1!==t.indexOf(e):t===e)(v,c),P=u||T&&w;return Object(i.createElement)(_.AsyncModeProvider,{key:v,value:!T},x&&Object(i.createElement)(pe,{block:e,selectBlock:n,isSelected:T,isBranchSelected:P,isDragged:I,level:l,position:C,rowCount:g,siblingBlockCount:g,showBlockMovers:o,path:S,isExpanded:B,listPosition:O}),!x&&Object(i.createElement)("tr",null,Object(i.createElement)("td",{className:"block-editor-list-view-placeholder"})),w&&B&&!I&&Object(i.createElement)(he,{blocks:j,selectBlock:n,showBlockMovers:o,showNestedBlocks:r,level:l+1,path:S,listPosition:O+1,fixedListWindow:b,isBranchSelected:P,selectedClientIds:c}))}))}he.defaultProps={selectBlock:()=>{}};var ge=Object(i.memo)(he);function Oe(e){let{listViewRef:t,blockDropTarget:n}=e;const{rootClientId:o,clientId:r,dropPosition:c}=n||{},[l,a]=Object(i.useMemo)(()=>{if(!t.current)return[];return[o?t.current.querySelector(`[data-block="${o}"]`):void 0,r?t.current.querySelector(`[data-block="${r}"]`):void 0]},[o,r]),s=a||l,d=Object(i.useCallback)(()=>{if(!l)return 0;const e=s.getBoundingClientRect();return l.querySelector(".block-editor-block-icon").getBoundingClientRect().right-e.left},[l,s]),b=Object(i.useMemo)(()=>{if(!s)return{};const e=d();return{width:s.offsetWidth-e}},[d,s]),p=Object(i.useCallback)(()=>{if(!s)return{};const e=s.ownerDocument,t=s.getBoundingClientRect(),n=d(),o={left:t.left+n,right:t.right,width:0,height:t.height,ownerDocument:e};return"top"===c?{...o,top:t.top,bottom:t.top}:"bottom"===c||"inside"===c?{...o,top:t.bottom,bottom:t.bottom}:{}},[s,c,d]);return s?Object(i.createElement)(u.Popover,{noArrow:!0,animate:!1,getAnchorRect:p,focusOnMount:!1,className:"block-editor-list-view-drop-indicator"},Object(i.createElement)("div",{style:b,className:"block-editor-list-view-drop-indicator__line"})):null}var ve=n("vIlp"),je=n("/lNF");function ke(e,t){return t.left<=e.x&&t.right>=e.x&&t.top<=e.y&&t.bottom>=e.y}const _e=["top","bottom"];function ye(){const{getBlockRootClientId:e,getBlockIndex:t,getBlockCount:n,getDraggedBlockClientIds:o,canInsertBlocks:r}=Object(_.useSelect)(S.a),[c,l]=Object(i.useState)(),{rootClientId:a,blockIndex:s}=c||{},u=Object(je.a)(a,s),d=o(),b=Object(Q.useThrottle)(Object(i.useCallback)((o,c)=>{const i={x:o.clientX,y:o.clientY},a=!(null==d||!d.length),s=function(e,t){let n,o,r,c;for(const l of e){if(l.isDraggedBlock)continue;const i=l.element.getBoundingClientRect(),[a,s]=Object(ve.a)(t,i,_e),u=ke(t,i);if(void 0===r||a0||function(e,t){const n=t.left+t.width/2;return e.x>n}(t,c)))return{rootClientId:o.clientId,blockIndex:0,dropPosition:"inside"};if(!o.canInsertDraggedBlocksAsSibling)return;const i=l?1:0;return{rootClientId:o.rootClientId,clientId:o.clientId,blockIndex:o.blockIndex+i,dropPosition:n}}(Array.from(c.querySelectorAll("[data-block]")).map(o=>{const c=o.dataset.block,l=e(c);return{clientId:c,rootClientId:l,blockIndex:t(c,l),element:o,isDraggedBlock:!!a&&d.includes(c),innerBlockCount:n(c),canInsertDraggedBlocksAsSibling:!a||r(d,l),canInsertDraggedBlocksAsChild:!a||r(d,c)}}),i);s&&l(s)},[d]),200);return{ref:Object(Q.__experimentalUseDropZone)({onDrop:u,onDragOver(e){b(e,e.currentTarget)},onDragEnd(){b.cancel(),l(null)}}),target:c}}const Ee=()=>{},Ce=(e,t)=>{switch(t.type){case"expand":return{...e,[t.clientId]:!0};case"collapse":return{...e,[t.clientId]:!1};default:return e}};var Se=Object(i.forwardRef)((function(e,t){let{blocks:n,onSelect:o=Ee,__experimentalFeatures:r,__experimentalPersistentListViewFeatures:c,__experimentalHideContainerBlockActions:a,showNestedBlocks:d,showBlockMovers:b,...p}=e;const{clientIdsTree:m,draggedClientIds:f,selectedClientIds:h}=function(e){return Object(_.useSelect)(t=>{const{getDraggedBlockClientIds:n,getSelectedBlockClientIds:o,__unstableGetClientIdsTree:r}=t(S.a);return{selectedClientIds:o(),draggedClientIds:n(),clientIdsTree:e||r()}},[e])}(n),{selectBlock:g}=Object(_.useDispatch)(S.a),{visibleBlockCount:O}=Object(_.useSelect)(e=>{const{getGlobalBlockCount:t,getClientIdsOfDescendants:n}=e(S.a),o=(null==f?void 0:f.length)>0?n(f).length+1:0;return{visibleBlockCount:t()-o}},[f]),v=Object(i.useCallback)(e=>{g(e),o(e)},[g,o]),[j,k]=Object(i.useReducer)(Ce,{}),{ref:y,target:E}=ye(),C=Object(i.useRef)(),w=Object(Q.useMergeRefs)([C,y,t]),B=Object(i.useRef)(!1);Object(i.useEffect)(()=>{B.current=!0},[]);const[I]=Object(Q.__experimentalUseFixedWindowList)(C,36,O,{useWindowing:c,windowOverscan:40}),x=Object(i.useCallback)(e=>{e&&k({type:"expand",clientId:e})},[k]),T=Object(i.useCallback)(e=>{e&&k({type:"collapse",clientId:e})},[k]),P=Object(i.useCallback)(e=>{var t;x(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)},[x]),R=Object(i.useCallback)(e=>{var t;T(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)},[T]),N=Object(i.useMemo)(()=>({__experimentalFeatures:r,__experimentalPersistentListViewFeatures:c,__experimentalHideContainerBlockActions:a,isTreeGridMounted:B.current,draggedClientIds:f,expandedState:j,expand:x,collapse:T}),[r,c,a,B.current,f,j,x,T]);return Object(i.createElement)(_.AsyncModeProvider,{value:!0},Object(i.createElement)(Oe,{listViewRef:C,blockDropTarget:E}),Object(i.createElement)(u.__experimentalTreeGrid,{className:"block-editor-list-view-tree","aria-label":Object(s.__)("Block navigation structure"),ref:w,onCollapseRow:R,onExpandRow:P},Object(i.createElement)(de.Provider,{value:N},Object(i.createElement)(ge,Object(l.a)({blocks:m,selectBlock:v,showNestedBlocks:d,showBlockMovers:b,fixedListWindow:I,selectedClientIds:h},p)))))}));function we(e){let{isEnabled:t,onToggle:n,isOpen:o,innerRef:r,...c}=e;return Object(i.createElement)(u.Button,Object(l.a)({},c,{ref:r,icon:Z.a,"aria-expanded":o,"aria-haspopup":"true",onClick:t?n:void 0,label:Object(s.__)("List view"),className:"block-editor-block-navigation","aria-disabled":!t}))}var Be=Object(i.forwardRef)((function(e,t){let{isDisabled:n,__experimentalFeatures:o,...r}=e;const c=Object(_.useSelect)(e=>!!e(S.a).getBlockCount(),[])&&!n;return Object(i.createElement)(u.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:e=>{let{isOpen:n,onToggle:o}=e;return Object(i.createElement)(we,Object(l.a)({},r,{innerRef:t,isOpen:n,onToggle:o,isEnabled:c}))},renderContent:()=>Object(i.createElement)("div",{className:"block-editor-block-navigation__container"},Object(i.createElement)("p",{className:"block-editor-block-navigation__label"},Object(s.__)("List view")),Object(i.createElement)(Se,{showNestedBlocks:!0,__experimentalFeatures:o}))})})),Ie=n("Civd");var xe=function(e){let{icon:t=Ie.a,label:n=Object(s.__)("Choose variation"),instructions:o=Object(s.__)("Select a variation to start with."),variations:r,onSelect:c,allowSkip:l}=e;const a=V()("block-editor-block-variation-picker",{"has-many-variations":r.length>4});return Object(i.createElement)(u.Placeholder,{icon:t,label:n,instructions:o,className:a},Object(i.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(s.__)("Block variations")},r.map(e=>Object(i.createElement)("li",{key:e.name},Object(i.createElement)(u.Button,{variant:"secondary",icon:e.icon,iconSize:48,onClick:()=>c(e),className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),Object(i.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title)))),l&&Object(i.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(i.createElement)(u.Button,{variant:"link",onClick:()=>c()},Object(s.__)("Skip"))))},Te=n("REKd"),Pe=n("2gm7"),Re=n("1iEr"),Ne=n("XNw2"),Le=n("b2RC");const Me="carousel",Ae="grid",De=e=>{let{onStartBlank:t,onBlockPatternSelect:n}=e;return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__actions"},Object(i.createElement)(u.Button,{onClick:t},Object(s.__)("Start blank")),Object(i.createElement)(u.Button,{variant:"primary",onClick:n},Object(s.__)("Choose")))},Fe=e=>{let{handlePrevious:t,handleNext:n,activeSlide:o,totalSlides:r}=e;return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__navigation"},Object(i.createElement)(u.Button,{icon:Pe.a,label:Object(s.__)("Previous pattern"),onClick:t,disabled:0===o}),Object(i.createElement)(u.Button,{icon:Re.a,label:Object(s.__)("Next pattern"),onClick:n,disabled:o===r-1}))};var ze=e=>{let{viewMode:t,setViewMode:n,handlePrevious:o,handleNext:r,activeSlide:c,totalSlides:l,onBlockPatternSelect:a,onStartBlank:d}=e;const b=t===Me,p=Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__display-controls"},Object(i.createElement)(u.Button,{icon:Ne.a,label:Object(s.__)("Carousel view"),onClick:()=>n(Me),isPressed:b}),Object(i.createElement)(u.Button,{icon:Le.a,label:Object(s.__)("Grid view"),onClick:()=>n(Ae),isPressed:t===Ae}));return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__toolbar"},b&&Object(i.createElement)(Fe,{handlePrevious:o,handleNext:r,activeSlide:c,totalSlides:l}),p,b&&Object(i.createElement)(De,{onBlockPatternSelect:a,onStartBlank:d}))};var He=function(e,t,n){return Object(_.useSelect)(o=>{const{getBlockRootClientId:r,__experimentalGetPatternsByBlockTypes:c,__experimentalGetAllowedPatterns:l}=o(S.a),i=r(e);return n?l(i).filter(n):c(t,i)},[e,t,n])};const Ve=e=>{let{viewMode:t,activeSlide:n,patterns:o,onBlockPatternSelect:r}=e;const c=Object(u.__unstableUseCompositeState)(),a="block-editor-block-pattern-setup__container";if(t===Me){const e=new Map([[n,"active-slide"],[n-1,"previous-slide"],[n+1,"next-slide"]]);return Object(i.createElement)("div",{className:a},Object(i.createElement)("ul",{className:"carousel-container"},o.map((t,n)=>Object(i.createElement)(Ue,{className:e.get(n)||"",key:t.name,pattern:t}))))}return Object(i.createElement)(u.__unstableComposite,Object(l.a)({},c,{role:"listbox",className:a,"aria-label":Object(s.__)("Patterns list")}),o.map(e=>Object(i.createElement)(Ge,{key:e.name,pattern:e,onSelect:r,composite:c})))};function Ge(e){let{pattern:t,onSelect:n,composite:o}=e;const r="block-editor-block-pattern-setup-list",{blocks:c,title:a,description:s,viewportWidth:d=700}=t,b=Object(Q.useInstanceId)(Ge,r+"__item-description");return Object(i.createElement)("div",{className:r+"__list-item","aria-label":t.title,"aria-describedby":t.description?b:void 0},Object(i.createElement)(u.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},o,{className:r+"__item",onClick:()=>n(c)}),Object(i.createElement)(Te.a,{blocks:c,viewportWidth:d}),Object(i.createElement)("div",{className:r+"__item-title"},a)),!!s&&Object(i.createElement)(u.VisuallyHidden,{id:b},s))}function Ue(e){let{className:t,pattern:n}=e;const{blocks:o,title:r,description:c}=n,l=Object(Q.useInstanceId)(Ue,"block-editor-block-pattern-setup-list__item-description");return Object(i.createElement)("li",{className:"pattern-slide "+t,"aria-label":r,"aria-describedby":c?l:void 0},Object(i.createElement)(Te.a,{blocks:o,__experimentalLive:!0}),!!c&&Object(i.createElement)(u.VisuallyHidden,{id:l},c))}var We=e=>{let{clientId:t,blockName:n,filterPatternsFn:o,startBlankComponent:r,onBlockPatternSelect:c}=e;const[l,a]=Object(i.useState)(Me),[s,u]=Object(i.useState)(0),[d,b]=Object(i.useState)(!1),{replaceBlock:p}=Object(_.useDispatch)(S.a),m=He(t,n,o);if(null==m||!m.length||d)return r;const f=c||(e=>{const n=e.map(e=>Object(j.cloneBlock)(e));p(t,n)});return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup view-mode-"+l},Object(i.createElement)(ze,{viewMode:l,setViewMode:a,activeSlide:s,totalSlides:m.length,handleNext:()=>{u(e=>e+1)},handlePrevious:()=>{u(e=>e-1)},onBlockPatternSelect:()=>{f(m[s].blocks)},onStartBlank:()=>{b(!0)}}),Object(i.createElement)(Ve,{viewMode:l,activeSlide:s,patterns:m,onBlockPatternSelect:f}))},qe=n("NWDH"),Ke=n("Btt3");var $e=function(e){let{blockClientId:t}=e;const[n,o]=Object(i.useState)(),{updateBlockAttributes:r}=Object(_.useDispatch)(S.a),{variations:c,blockAttributes:l}=Object(_.useSelect)(e=>{const{getBlockVariations:n}=e(j.store),{getBlockName:o,getBlockAttributes:r}=e(S.a),c=t&&o(t);return{variations:c&&n(c,"transform"),blockAttributes:r(t)}},[t]);if(Object(i.useEffect)(()=>{var e;o(null===(e=Object(Ke.a)(l,c))||void 0===e?void 0:e.name)},[l,c]),null==c||!c.length)return null;const a=c.map(e=>{let{name:t,title:n,description:o}=e;return{value:t,label:n,info:o}}),d=e=>{r(t,{...c.find(t=>{let{name:n}=t;return n===e}).attributes})},b="block-editor-block-variation-transforms";return Object(i.createElement)(u.DropdownMenu,{className:b,label:Object(s.__)("Transform to variation"),text:Object(s.__)("Transform to variation"),popoverProps:{position:"bottom center",className:b+"__popover"},icon:qe.a,toggleProps:{iconPosition:"right"}},()=>Object(i.createElement)("div",{className:b+"__container"},Object(i.createElement)(u.MenuGroup,null,Object(i.createElement)(u.MenuItemsChoice,{choices:a,value:n,onSelect:d}))))};const Ye=Object(i.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(u.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Xe=Object(i.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(u.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),Ze={top:{icon:Object(i.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(u.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:Object(s._x)("Align top","Block vertical alignment setting")},center:{icon:Xe,title:Object(s._x)("Align middle","Block vertical alignment setting")},bottom:{icon:Ye,title:Object(s._x)("Align bottom","Block vertical alignment setting")}},Qe=["top","center","bottom"],Je={isAlternate:!0};var et=function(e){let{value:t,onChange:n,controls:o=Qe,isCollapsed:r=!0,isToolbar:c}=e;const a=Ze[t],d=Ze.top,b=c?u.ToolbarGroup:u.ToolbarDropdownMenu,p=c?{isCollapsed:r}:{};return Object(i.createElement)(b,Object(l.a)({popoverProps:Je,icon:a?a.icon:d.icon,label:Object(s._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map(e=>{return{...Ze[e],isActive:t===e,role:r?"menuitemradio":void 0,onClick:(o=e,()=>n(t===o?void 0:o))};var o})},p))};function tt(e){return Object(i.createElement)(et,Object(l.a)({},e,{isToolbar:!1}))}function nt(e){return Object(i.createElement)(et,Object(l.a)({},e,{isToolbar:!0}))}var ot=n("Wy3j"),rt=n("2YCo"),ct=n("I5Hl"),lt=n("v5LD"),it=Object(Q.createHigherOrderComponent)(e=>t=>{const n=Object(lt.a)("color.palette"),o=!Object(lt.a)("color.custom"),r=void 0===t.colors?n:t.colors,c=void 0===t.disableCustomColors?o:t.disableCustomColors,s=!Object(a.isEmpty)(r)||!c;return Object(i.createElement)(e,Object(l.a)({},t,{colors:r,disableCustomColors:c,hasColorsToChoose:s}))},"withColorContext"),at=it(u.ColorPalette),st=n("hMaJ");function ut(e){let{onChange:t,value:n,...o}=e;return Object(i.createElement)(st.a,Object(l.a)({},o,{onColorChange:t,colorValue:n,gradients:[],disableCustomGradients:!0}))}var dt=n("6c9H"),bt=n("1uGa"),pt=n("Bo0k"),mt=n("GKUk"),ft=n("xBDm"),ht=n("kVRd"),gt=n("/Hvg"),Ot=n("yU1v"),vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var jt=function(){return(jt=Object.assign||function(e){for(var t,n=1,o=arguments.length;nu*r?{width:u*r,height:u}:{width:s,height:s/r}}function St(e,t,n,o,r){void 0===r&&(r=0);var c=Mt(t.width,t.height,r),l=c.width,i=c.height;return{x:wt(e.x,l,n.width,o),y:wt(e.y,i,n.height,o)}}function wt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function Bt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function It(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function xt(e,t,n,o,r,c,l){void 0===c&&(c=0),void 0===l&&(l=!0);var i=l&&0===c?Tt:Pt,a={x:i(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:i(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:i(100,n.width/t.width*100/r),height:i(100,n.height/t.height*100/r)},s=Math.round(i(t.naturalWidth,a.width*t.naturalWidth/100)),u=Math.round(i(t.naturalHeight,a.height*t.naturalHeight/100)),d=t.naturalWidth>=t.naturalHeight*o?{width:Math.round(u*o),height:u}:{width:s,height:Math.round(s/o)};return{croppedAreaPercentages:a,croppedAreaPixels:jt(jt({},d),{x:Math.round(i(t.naturalWidth-d.width,a.x*t.naturalWidth/100)),y:Math.round(i(t.naturalHeight-d.height,a.y*t.naturalHeight/100))})}}function Tt(e,t){return Math.min(e,Math.max(0,t))}function Pt(e,t){return t}function Rt(e,t,n){var o=t.width/t.naturalWidth,r=function(e,t,n){var o=t.width/t.naturalWidth;if(n)return n.height>n.width?n.height/o/e.height:n.width/o/e.width;var r=e.width/e.height;return t.naturalWidth>=t.naturalHeight*r?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,n),c=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*c,y:((t.naturalHeight-e.height)/2-e.y)*c},zoom:r}}function Nt(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function Lt(e,t,n,o,r){var c=Math.cos,l=Math.sin,i=r*Math.PI/180;return[(e-n)*c(i)-(t-o)*l(i)+n,(e-n)*l(i)+(t-o)*c(i)+o]}function Mt(e,t,n){var o=e/2,r=t/2,c=[Lt(0,0,o,r,n),Lt(e,0,o,r,n),Lt(e,t,o,r,n),Lt(0,t,o,r,n)],l=Math.min.apply(Math,c.map((function(e){return e[0]}))),i=Math.max.apply(Math,c.map((function(e){return e[0]}))),a=Math.min.apply(Math,c.map((function(e){return e[1]})));return{width:i-l,height:Math.max.apply(Math,c.map((function(e){return e[1]})))-a}}function At(){for(var e=[],t=0;t0})).join(" ").trim()}var Dt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.imageRef=null,n.videoRef=null,n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.state={cropSize:null,hasWheelJustStarted:!1},n.preventZoomSafari=function(e){return e.preventDefault()},n.cleanEvents=function(){document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onDragStopped),document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onDragStopped)},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){n.computeSizes(),n.emitCropData(),n.setInitialCrop(),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(){var e=n.props,t=e.initialCroppedAreaPixels,o=e.cropSize;if(t){var r=Rt(t,n.mediaSize,o),c=r.crop,l=r.zoom;n.props.onCropChange(c),n.props.onZoomChange&&n.props.onZoomChange(l)}},n.computeSizes=function(){var e,t,o,r,c,l,i=n.imageRef||n.videoRef;if(i&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.mediaSize={width:i.offsetWidth,height:i.offsetHeight,naturalWidth:(null===(e=n.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(o=n.imageRef)||void 0===o?void 0:o.naturalHeight)||(null===(r=n.videoRef)||void 0===r?void 0:r.videoHeight)||0};var a=n.props.cropSize?n.props.cropSize:Ct(i.offsetWidth,i.offsetHeight,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);(null===(c=n.state.cropSize)||void 0===c?void 0:c.height)===a.height&&(null===(l=n.state.cropSize)||void 0===l?void 0:l.width)===a.width||n.props.onCropSizeChange&&n.props.onCropSizeChange(a),n.setState({cropSize:a},n.recomputeCropPosition)}},n.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",n.onMouseMove),document.addEventListener("mouseup",n.onDragStopped),n.onDragStart(t.getMousePoint(e))},n.onMouseMove=function(e){return n.onDrag(t.getMousePoint(e))},n.onTouchStart=function(e){document.addEventListener("touchmove",n.onTouchMove,{passive:!1}),document.addEventListener("touchend",n.onDragStopped),2===e.touches.length?n.onPinchStart(e):1===e.touches.length&&n.onDragStart(t.getTouchPoint(e.touches[0]))},n.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?n.onPinchMove(e):1===e.touches.length&&n.onDrag(t.getTouchPoint(e.touches[0]))},n.onDragStart=function(e){var t,o,r=e.x,c=e.y;n.dragStartPosition={x:r,y:c},n.dragStartCrop=jt({},n.props.crop),null===(o=(t=n.props).onInteractionStart)||void 0===o||o.call(t)},n.onDrag=function(e){var t=e.x,o=e.y;n.rafDragTimeout&&window.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=window.requestAnimationFrame((function(){if(n.state.cropSize&&void 0!==t&&void 0!==o){var e=t-n.dragStartPosition.x,r=o-n.dragStartPosition.y,c={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},l=n.props.restrictPosition?St(c,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):c;n.props.onCropChange(l)}}))},n.onDragStopped=function(){var e,t;n.cleanEvents(),n.emitCropData(),null===(t=(e=n.props).onInteractionEnd)||void 0===t||t.call(e)},n.onWheel=function(e){e.preventDefault();var o=t.getMousePoint(e),r=Et()(e).pixelY,c=n.props.zoom-r*n.props.zoomSpeed/200;n.setNewZoom(c,o),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=n.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=window.setTimeout((function(){return n.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=n.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},n.getPointOnContainer=function(e){var t=e.x,o=e.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(t-n.containerRect.left),y:n.containerRect.height/2-(o-n.containerRect.top)}},n.getPointOnMedia=function(e){var t=e.x,o=e.y,r=n.props,c=r.crop,l=r.zoom;return{x:(t+c.x)/l,y:(o+c.y)/l}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),c=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),l={x:r.x*c-o.x,y:r.y*c-o.y},i=n.props.restrictPosition?St(l,n.mediaSize,n.state.cropSize,c,n.props.rotation):l;n.props.onCropChange(i),n.props.onZoomChange(c)}},n.getCropData=function(){return n.state.cropSize?xt(n.props.restrictPosition?St(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition):null},n.emitCropData=function(){var e=n.getCropData();if(e){var t=e.croppedAreaPercentages,o=e.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(t,o),n.props.onCropAreaChange&&n.props.onCropAreaChange(t,o)}},n.emitCropAreaChange=function(){var e=n.getCropData();if(e){var t=e.croppedAreaPercentages,o=e.croppedAreaPixels;n.props.onCropAreaChange&&n.props.onCropAreaChange(t,o)}},n.recomputeCropPosition=function(){if(n.state.cropSize){var e=n.props.restrictPosition?St(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;n.props.onCropChange(e),n.emitCropData()}},n}return function(e,t){function n(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_Contain {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n.reactEasyCrop_Cover_Horizontal {\n width: 100%;\n height: auto;\n}\n.reactEasyCrop_Cover_Vertical {\n width: auto;\n height: 100%;\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){var e;window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&(null===(e=this.styleRef.parentNode)||void 0===e||e.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){var t,n,o,r,c,l,i,a,s;e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(t=e.cropSize)||void 0===t?void 0:t.height)!==(null===(n=this.props.cropSize)||void 0===n?void 0:n.height)||(null===(o=e.cropSize)||void 0===o?void 0:o.width)!==(null===(r=this.props.cropSize)||void 0===r?void 0:r.width)?this.computeSizes():(null===(c=e.crop)||void 0===c?void 0:c.x)===(null===(l=this.props.crop)||void 0===l?void 0:l.x)&&(null===(i=e.crop)||void 0===i?void 0:i.y)===(null===(a=this.props.crop)||void 0===a?void 0:a.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),e.video!==this.props.video&&(null===(s=this.videoRef)||void 0===s||s.load())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,n=e.aspect;return t?t.width/t.height:n},t.prototype.onPinchStart=function(e){var n=t.getTouchPoint(e.touches[0]),o=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=Bt(n,o),this.lastPinchRotation=It(n,o),this.onDragStart(Nt(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),c=Nt(o,r);this.onDrag(c),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=Bt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,c),n.lastPinchDistance=e;var l=It(o,r),i=n.props.rotation+(l-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(i),n.lastPinchRotation=l}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,c=t.transform,l=t.crop,i=l.x,a=l.y,s=t.rotation,u=t.zoom,d=t.cropShape,b=t.showGrid,p=t.style,m=p.containerStyle,f=p.cropAreaStyle,h=p.mediaStyle,g=t.classes,O=g.containerClassName,v=g.cropAreaClassName,j=g.mediaClassName,k=t.objectFit;return _t.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:m,className:At("reactEasyCrop_Container",O)},n?_t.a.createElement("img",jt({alt:"",className:At("reactEasyCrop_Image","contain"===k&&"reactEasyCrop_Contain","horizontal-cover"===k&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===k&&"reactEasyCrop_Cover_Vertical",j)},r,{src:n,ref:function(t){return e.imageRef=t},style:jt(jt({},h),{transform:c||"translate("+i+"px, "+a+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):o&&_t.a.createElement("video",jt({autoPlay:!0,loop:!0,muted:!0,className:At("reactEasyCrop_Video","contain"===k&&"reactEasyCrop_Contain","horizontal-cover"===k&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===k&&"reactEasyCrop_Cover_Vertical",j)},r,{ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:jt(jt({},h),{transform:c||"translate("+i+"px, "+a+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1}),(Array.isArray(o)?o:[{src:o}]).map((function(e){return _t.a.createElement("source",jt({key:e.src},e))}))),this.state.cropSize&&_t.a.createElement("div",{style:jt(jt({},f),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:At("reactEasyCrop_CropArea","round"===d&&"reactEasyCrop_CropAreaRound",b&&"reactEasyCrop_CropAreaGrid",v)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(_t.a.Component);const Ft={position:"bottom right",isAlternate:!0};var zt=n("ywyh"),Ht=n.n(zt),Vt=n("onLe");function Gt(e,t){const n=function(e){let{url:t,naturalWidth:n,naturalHeight:o}=e;const[r,c]=Object(i.useState)(),[l,a]=Object(i.useState)(),[s,u]=Object(i.useState)({x:0,y:0}),[d,b]=Object(i.useState)(),[p,m]=Object(i.useState)(),[f,h]=Object(i.useState)(),[g,O]=Object(i.useState)(),j=Object(i.useCallback)(()=>{u({x:0,y:0}),b(100),m(0),h(n/o),O(n/o)},[n,o,u,b,m,h,O]),k=Object(i.useCallback)(()=>{const e=(p+90)%360;let r=n/o;if(p%180==90&&(r=o/n),0===e)return c(),m(e),h(1/f),void u({x:-s.y*r,y:s.x*r});const l=new window.Image;l.src=t,l.onload=function(t){const n=document.createElement("canvas");let o=0,l=0;e%180?(n.width=t.target.height,n.height=t.target.width):(n.width=t.target.width,n.height=t.target.height),90!==e&&180!==e||(o=n.width),270!==e&&180!==e||(l=n.height);const i=n.getContext("2d");i.translate(o,l),i.rotate(e*Math.PI/180),i.drawImage(t.target,0,0),n.toBlob(t=>{c(URL.createObjectURL(t)),m(e),h(1/f),u({x:-s.y*r,y:s.x*r})})};const i=Object(v.applyFilters)("media.crossOrigin",void 0,t);"string"==typeof i&&(l.crossOrigin=i)},[p,n,o,c,m,h,u]);return Object(i.useMemo)(()=>({editedUrl:r,setEditedUrl:c,crop:l,setCrop:a,position:s,setPosition:u,zoom:d,setZoom:b,rotation:p,setRotation:m,rotateClockwise:k,aspect:f,setAspect:h,defaultAspect:g,initializeTransformValues:j}),[r,c,l,a,s,u,d,b,p,m,k,f,h,g,j])}(e),{initializeTransformValues:o}=n;return Object(i.useEffect)(()=>{t&&o()},[t,o]),n}const Ut=Object(i.createContext)({}),Wt=()=>Object(i.useContext)(Ut);function qt(e){let{id:t,url:n,naturalWidth:o,naturalHeight:r,isEditing:c,onFinishEditing:l,onSaveImage:a,children:u}=e;const d=Gt({url:n,naturalWidth:o,naturalHeight:r},c),b=function(e){let{crop:t,rotation:n,height:o,width:r,aspect:c,url:l,id:a,onSaveImage:u,onFinishEditing:d}=e;const{createErrorNotice:b}=Object(_.useDispatch)(Vt.store),[p,m]=Object(i.useState)(!1),f=Object(i.useCallback)(()=>{m(!1),d()},[m,d]),h=Object(i.useCallback)(()=>{m(!0);let e={};(t.width<99.9||t.height<99.9)&&(e=t),n>0&&(e.rotation=n),e.src=l,Ht()({path:`/wp/v2/media/${a}/edit`,method:"POST",data:e}).then(e=>{u({id:e.id,url:e.source_url,height:o&&r?r/c:void 0})}).catch(e=>{b(Object(s.sprintf)(Object(s.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})}).finally(()=>{m(!1),d()})},[m,t,n,o,r,c,l,u,b,m,d]);return Object(i.useMemo)(()=>({isInProgress:p,apply:h,cancel:f}),[p,h,f])}({id:t,url:n,onSaveImage:a,onFinishEditing:l,...d}),p=Object(i.useMemo)(()=>({...d,...b}),[d,b]);return Object(i.createElement)(Ut.Provider,{value:p},u)}function Kt(e){let{url:t,width:n,height:o,clientWidth:r,naturalHeight:c,naturalWidth:l}=e;const{isInProgress:a,editedUrl:s,position:d,zoom:b,aspect:p,setPosition:m,setCrop:f,setZoom:h,rotation:g}=Wt();let O=o||r*c/l;return g%180==90&&(O=r*l/c),Object(i.createElement)("div",{className:V()("wp-block-image__crop-area",{"is-applying":a}),style:{width:n||r,height:O}},Object(i.createElement)(Dt,{image:s||t,disabled:a,minZoom:1,maxZoom:3,crop:d,zoom:b/100,aspect:p,onCropChange:m,onCropComplete:e=>{f(e)},onZoomChange:e=>{h(100*e)}}),a&&Object(i.createElement)(u.Spinner,null))}var $t=n("cGtP");function Yt(){const{isInProgress:e,zoom:t,setZoom:n}=Wt();return Object(i.createElement)(u.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:Ft,renderToggle:t=>{let{isOpen:n,onToggle:o}=t;return Object(i.createElement)(u.ToolbarButton,{icon:$t.a,label:Object(s.__)("Zoom"),onClick:o,"aria-expanded":n,disabled:e})},renderContent:()=>Object(i.createElement)(u.RangeControl,{label:Object(s.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var Xt=n("RMJe");var Zt=Object(i.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(P.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function Qt(e){let{aspectRatios:t,isDisabled:n,label:o,onClick:r,value:c}=e;return Object(i.createElement)(u.MenuGroup,{label:o},t.map(e=>{let{title:t,aspect:o}=e;return Object(i.createElement)(u.MenuItem,{key:o,disabled:n,onClick:()=>{r(o)},role:"menuitemradio",isSelected:o===c,icon:o===c?Xt.a:void 0},t)}))}function Jt(e){let{toggleProps:t}=e;const{isInProgress:n,aspect:o,setAspect:r,defaultAspect:c}=Wt();return Object(i.createElement)(u.DropdownMenu,{icon:Zt,label:Object(s.__)("Aspect Ratio"),popoverProps:Ft,toggleProps:t,className:"wp-block-image__aspect-ratio"},e=>{let{onClose:t}=e;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Qt,{isDisabled:n,onClick:e=>{r(e),t()},value:o,aspectRatios:[{title:Object(s.__)("Original"),aspect:c},{title:Object(s.__)("Square"),aspect:1}]}),Object(i.createElement)(Qt,{label:Object(s.__)("Landscape"),isDisabled:n,onClick:e=>{r(e),t()},value:o,aspectRatios:[{title:Object(s.__)("16:10"),aspect:1.6},{title:Object(s.__)("16:9"),aspect:16/9},{title:Object(s.__)("4:3"),aspect:4/3},{title:Object(s.__)("3:2"),aspect:1.5}]}),Object(i.createElement)(Qt,{label:Object(s.__)("Portrait"),isDisabled:n,onClick:e=>{r(e),t()},value:o,aspectRatios:[{title:Object(s.__)("10:16"),aspect:.625},{title:Object(s.__)("9:16"),aspect:9/16},{title:Object(s.__)("3:4"),aspect:3/4},{title:Object(s.__)("2:3"),aspect:2/3}]}))})}var en=Object(i.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(P.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function tn(){const{isInProgress:e,rotateClockwise:t}=Wt();return Object(i.createElement)(u.ToolbarButton,{icon:en,label:Object(s.__)("Rotate"),onClick:t,disabled:e})}function nn(){const{isInProgress:e,apply:t,cancel:n}=Wt();return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.ToolbarButton,{onClick:t,disabled:e},Object(s.__)("Apply")),Object(i.createElement)(u.ToolbarButton,{onClick:n},Object(s.__)("Cancel")))}function on(e){let{url:t,width:n,height:o,clientWidth:r,naturalHeight:c,naturalWidth:l}=e;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Kt,{url:t,width:n,height:o,clientWidth:r,naturalHeight:c,naturalWidth:l}),Object(i.createElement)(W.b,null,Object(i.createElement)(u.ToolbarGroup,null,Object(i.createElement)(Yt,null),Object(i.createElement)(u.ToolbarItem,null,e=>Object(i.createElement)(Jt,{toggleProps:e})),Object(i.createElement)(tn,null)),Object(i.createElement)(u.ToolbarGroup,null,Object(i.createElement)(nn,null))))}const rn=[25,50,75,100];function cn(e){let{imageWidth:t,imageHeight:n,imageSizeOptions:o=[],isResizable:r=!0,slug:c,width:l,height:d,onChange:b,onChangeImage:p=a.noop}=e;const{currentHeight:m,currentWidth:f,updateDimension:h,updateDimensions:g}=function(e,t,n,o,r){var c,l;const[a,s]=Object(i.useState)(null!==(c=null!=t?t:o)&&void 0!==c?c:""),[u,d]=Object(i.useState)(null!==(l=null!=e?e:n)&&void 0!==l?l:"");return Object(i.useEffect)(()=>{void 0===t&&void 0!==o&&s(o),void 0===e&&void 0!==n&&d(n)},[o,n]),Object(i.useEffect)(()=>{void 0!==t&&Number.parseInt(t)!==Number.parseInt(a)&&s(t),void 0!==e&&Number.parseInt(e)!==Number.parseInt(u)&&d(e)},[t,e]),{currentHeight:u,currentWidth:a,updateDimension:(e,t)=>{"width"===e?s(t):d(t),r({[e]:""===t?void 0:parseInt(t,10)})},updateDimensions:(e,t)=>{d(null!=e?e:n),s(null!=t?t:o),r({height:e,width:t})}}}(d,l,n,t,b);return Object(i.createElement)(i.Fragment,null,!Object(a.isEmpty)(o)&&Object(i.createElement)(u.SelectControl,{label:Object(s.__)("Image size"),value:c,options:o,onChange:p}),r&&Object(i.createElement)("div",{className:"block-editor-image-size-control"},Object(i.createElement)("p",{className:"block-editor-image-size-control__row"},Object(s.__)("Image dimensions")),Object(i.createElement)("div",{className:"block-editor-image-size-control__row"},Object(i.createElement)(u.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(s.__)("Width"),value:f,min:1,onChange:e=>h("width",e)}),Object(i.createElement)(u.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(s.__)("Height"),value:m,min:1,onChange:e=>h("height",e)})),Object(i.createElement)("div",{className:"block-editor-image-size-control__row"},Object(i.createElement)(u.ButtonGroup,{"aria-label":Object(s.__)("Image size presets")},rn.map(e=>{const o=Math.round(t*(e/100)),r=Math.round(n*(e/100)),c=f===o&&m===r;return Object(i.createElement)(u.Button,{key:e,isSmall:!0,variant:c?"primary":void 0,isPressed:c,onClick:()=>g(r,o)},e,"%")})),Object(i.createElement)(u.Button,{isSmall:!0,onClick:()=>g()},Object(s.__)("Reset")))))}var ln=n("p3NJ"),an=n("1oY3"),sn=n("0E5u"),un=n("btIw"),dn=n("1CF3");var bn=e=>{let{value:t,onChange:n=a.noop,settings:o}=e;if(!o||!o.length)return null;const r=e=>o=>{n({...t,[e.id]:o})},c=o.map(e=>Object(i.createElement)(u.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:r(e),checked:!!t&&!!t[e.id]}));return Object(i.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(i.createElement)(u.VisuallyHidden,{as:"legend"},Object(s.__)("Currently selected link settings")),c)},pn=n("9Do8"),mn=n.n(pn),fn=n("Mmq9");class hn extends i.Component{constructor(e){super(e),this.onChange=this.onChange.bind(this),this.onFocus=this.onFocus.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.selectLink=this.selectLink.bind(this),this.handleOnClick=this.handleOnClick.bind(this),this.bindSuggestionNode=this.bindSuggestionNode.bind(this),this.autocompleteRef=e.autocompleteRef||Object(i.createRef)(),this.inputRef=Object(i.createRef)(),this.updateSuggestions=Object(a.debounce)(this.updateSuggestions.bind(this),200),this.suggestionNodes=[],this.isUpdatingSuggestions=!1,this.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null,suggestionsListboxId:"",suggestionOptionIdPrefix:""}}componentDidUpdate(e){const{showSuggestions:t,selectedSuggestion:n}=this.state,{value:o,__experimentalShowInitialSuggestions:r=!1}=this.props;t&&null!==n&&this.suggestionNodes[n]&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,mn()(this.suggestionNodes[n],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout(()=>{this.scrollingIntoView=!1},100)),e.value===o||this.props.disableSuggestions||this.isUpdatingSuggestions||(null!=o&&o.length?this.updateSuggestions(o):r&&this.updateSuggestions())}componentDidMount(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}componentWillUnmount(){var e,t;null===(e=this.suggestionsRequest)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e),delete this.suggestionsRequest}bindSuggestionNode(e){return t=>{this.suggestionNodes[e]=t}}shouldShowInitialSuggestions(){const{suggestions:e}=this.state,{__experimentalShowInitialSuggestions:t=!1,value:n}=this.props;return!this.isUpdatingSuggestions&&t&&!(n&&n.length)&&!(e&&e.length)}updateSuggestions(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{__experimentalFetchLinkSuggestions:n,__experimentalHandleURLSuggestions:o}=this.props;if(!n)return;const r=!(null!==(e=t)&&void 0!==e&&e.length);if(t=t.trim(),!r&&(t.length<2||!o&&Object(fn.isURL)(t)))return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});const c=n(t,{isInitialSuggestions:r});c.then(e=>{this.suggestionsRequest===c&&(this.setState({suggestions:e,loading:!1,showSuggestions:!!e.length}),e.length?this.props.debouncedSpeak(Object(s.sprintf)(Object(s._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):this.props.debouncedSpeak(Object(s.__)("No results."),"assertive"),this.isUpdatingSuggestions=!1)}).catch(()=>{this.suggestionsRequest===c&&(this.setState({loading:!1}),this.isUpdatingSuggestions=!1)}),this.suggestionsRequest=c}onChange(e){const t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}onFocus(){const{suggestions:e}=this.state,{disableSuggestions:t,value:n}=this.props;!n||t||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(n)}onKeyDown(e){const{showSuggestions:t,selectedSuggestion:n,suggestions:o,loading:r}=this.state;if(!t||!o.length||r){switch(e.keyCode){case L.UP:0!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(0,0));break;case L.DOWN:this.props.value.length!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length));break;case L.ENTER:this.props.onSubmit&&this.props.onSubmit(null,e)}return}const c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case L.UP:{e.preventDefault();const t=n?n-1:o.length-1;this.setState({selectedSuggestion:t});break}case L.DOWN:{e.preventDefault();const t=null===n||n===o.length-1?0:n+1;this.setState({selectedSuggestion:t});break}case L.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(s.__)("Link selected.")));break;case L.ENTER:null!==this.state.selectedSuggestion?(this.selectLink(c),this.props.onSubmit&&this.props.onSubmit(c,e)):this.props.onSubmit&&this.props.onSubmit(null,e)}}selectLink(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}handleOnClick(e){this.selectLink(e),this.inputRef.current.focus()}static getDerivedStateFromProps(e,t){let{value:n,instanceId:o,disableSuggestions:r,__experimentalShowInitialSuggestions:c=!1}=e,{showSuggestions:l}=t,i=l;const a=n&&n.length;return c||a||(i=!1),!0===r&&(i=!1),{showSuggestions:i,suggestionsListboxId:"block-editor-url-input-suggestions-"+o,suggestionOptionIdPrefix:"block-editor-url-input-suggestion-"+o}}render(){return Object(i.createElement)(i.Fragment,null,this.renderControl(),this.renderSuggestions())}renderControl(){const{label:e,className:t,isFullWidth:n,instanceId:o,placeholder:r=Object(s.__)("Paste URL or type to search"),__experimentalRenderControl:c,value:l=""}=this.props,{loading:a,showSuggestions:d,selectedSuggestion:b,suggestionsListboxId:p,suggestionOptionIdPrefix:m}=this.state,f={id:"url-input-control-"+o,label:e,className:V()("block-editor-url-input",t,{"is-full-width":n})},h={value:l,required:!0,className:"block-editor-url-input__input",type:"text",onChange:this.onChange,onFocus:this.onFocus,placeholder:r,onKeyDown:this.onKeyDown,role:"combobox","aria-label":Object(s.__)("URL"),"aria-expanded":d,"aria-autocomplete":"list","aria-owns":p,"aria-activedescendant":null!==b?`${m}-${b}`:void 0,ref:this.inputRef};return c?c(f,h,a):Object(i.createElement)(u.BaseControl,f,Object(i.createElement)("input",h),a&&Object(i.createElement)(u.Spinner,null))}renderSuggestions(){const{className:e,__experimentalRenderSuggestions:t,value:n="",__experimentalShowInitialSuggestions:o=!1}=this.props,{showSuggestions:r,suggestions:c,selectedSuggestion:s,suggestionsListboxId:d,suggestionOptionIdPrefix:b,loading:p}=this.state,m={id:d,ref:this.autocompleteRef,role:"listbox"},f=(e,t)=>({role:"option",tabIndex:"-1",id:`${b}-${t}`,ref:this.bindSuggestionNode(t),"aria-selected":t===s});return Object(a.isFunction)(t)&&r&&c.length?t({suggestions:c,selectedSuggestion:s,suggestionsListProps:m,buildSuggestionItemProps:f,isLoading:p,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:o&&!(n&&n.length)}):!Object(a.isFunction)(t)&&r&&c.length?Object(i.createElement)(u.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(i.createElement)("div",Object(l.a)({},m,{className:V()("block-editor-url-input__suggestions",e+"__suggestions")}),c.map((e,t)=>Object(i.createElement)(u.Button,Object(l.a)({},f(0,t),{key:e.id,className:V()("block-editor-url-input__suggestion",{"is-selected":t===s}),onClick:()=>this.handleOnClick(e)}),e.title)))):null}}var gn=Object(Q.compose)(Q.withSafeTimeout,u.withSpokenMessages,Q.withInstanceId,Object(_.withSelect)((e,t)=>{if(Object(a.isFunction)(t.__experimentalFetchLinkSuggestions))return;const{getSettings:n}=e(S.a);return{__experimentalFetchLinkSuggestions:n().__experimentalFetchLinkSuggestions}}))(hn),On=n("Q4Sy");var vn=e=>{let t,{searchTerm:n,onClick:o,itemProps:r,isSelected:c,buttonText:d}=e;return n?(t=d?Object(a.isFunction)(d)?d(n):d:Object(i.createInterpolateElement)(Object(s.sprintf)(Object(s.__)("Create: %s"),n),{mark:Object(i.createElement)("mark",null)}),Object(i.createElement)(u.Button,Object(l.a)({},r,{className:V()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":c}),onClick:o}),Object(i.createElement)(A.a,{className:"block-editor-link-control__search-item-icon",icon:On.a}),Object(i.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(i.createElement)("span",{className:"block-editor-link-control__search-item-title"},t)))):null};var jn=Object(i.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(P.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"}));var kn=e=>{let{itemProps:t,suggestion:n,isSelected:o=!1,onClick:r,isURL:c=!1,searchTerm:a="",shouldShowType:d=!1}=e;return Object(i.createElement)(u.Button,Object(l.a)({},t,{onClick:r,className:V()("block-editor-link-control__search-item",{"is-selected":o,"is-url":c,"is-entity":!c})}),c&&Object(i.createElement)(A.a,{className:"block-editor-link-control__search-item-icon",icon:jn}),Object(i.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(i.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(i.createElement)(u.TextHighlight,{text:n.title,highlight:a})),Object(i.createElement)("span",{"aria-hidden":!c,className:"block-editor-link-control__search-item-info"},!c&&(Object(fn.filterURLForDisplay)(Object(fn.safeDecodeURI)(n.url))||""),c&&Object(s.__)("Press ENTER to add this link"))),d&&n.type&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===n.type?"tag":n.type))};const _n=[{id:"opensInNewTab",title:Object(s.__)("Open in new tab")}];function yn(e){let{instanceId:t,withCreateSuggestion:n,currentInputValue:o,handleSuggestionClick:r,suggestionsListProps:c,buildSuggestionItemProps:a,suggestions:d,selectedSuggestion:b,isLoading:p,isInitialSuggestions:m,createSuggestionButtonText:f,suggestionsQuery:h}=e;const g=V()("block-editor-link-control__search-results",{"is-loading":p}),O=["url","mailto","tel","internal"],v=1===d.length&&O.includes(d[0].type.toLowerCase()),j=n&&!v&&!m,k=!(null!=h&&h.type),_="block-editor-link-control-search-results-label-"+t,y=m?Object(s.__)("Recently updated"):Object(s.sprintf)(Object(s.__)('Search results for "%s"'),o),E=Object(i.createElement)(m?i.Fragment:u.VisuallyHidden,{},Object(i.createElement)("span",{className:"block-editor-link-control__search-results-label",id:_},y));return Object(i.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},E,Object(i.createElement)("div",Object(l.a)({},c,{className:g,"aria-labelledby":_}),d.map((e,t)=>j&&"__CREATE__"===e.type?Object(i.createElement)(vn,{searchTerm:o,buttonText:f,onClick:()=>r(e),key:e.type,itemProps:a(e,t),isSelected:t===b}):"__CREATE__"===e.type?null:Object(i.createElement)(kn,{key:`${e.id}-${e.type}`,itemProps:a(e,t),suggestion:e,index:t,onClick:()=>{r(e)},isSelected:t===b,isURL:O.includes(e.type.toLowerCase()),searchTerm:o,shouldShowType:k}))))}function En(e){const t=Object(a.startsWith)(e,"#");return Object(fn.isURL)(e)||e&&e.includes("www.")||t}const Cn=()=>Promise.resolve([]),Sn=e=>{let t="URL";const n=Object(fn.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(a.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:e,title:e,url:"URL"===t?Object(fn.prependHTTP)(e):e,type:t}])};function wn(e,t,n,o){const{fetchSearchSuggestions:r}=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return{fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}},[]),c=t?Sn:Cn;return Object(i.useCallback)((t,l)=>{let{isInitialSuggestions:i}=l;return En(t)?c(t,{isInitialSuggestions:i}):(async(e,t,n,o,r,c)=>{const{isInitialSuggestions:l}=t;let i=await Promise.all([n(e,t),o(e)]);return i=!e.includes(" ")&&c&&!l?i[0].concat(i[1]):i[0],l||En(e)||!r?i:i.concat({title:e,url:e,type:"__CREATE__"})})(t,{...e,isInitialSuggestions:i},r,c,n,o)},[c,r,n])}const Bn=()=>Promise.resolve([]),In=Object(i.forwardRef)((e,t)=>{let{value:n,children:o,currentLink:r={},className:c=null,placeholder:l=null,withCreateSuggestion:u=!1,onCreateSuggestion:d=a.noop,onChange:b=a.noop,onSelect:p=a.noop,showSuggestions:m=!0,renderSuggestions:f=(e=>Object(i.createElement)(yn,e)),fetchSuggestions:h=null,allowDirectEntry:g=!0,showInitialSuggestions:O=!1,suggestionsQuery:v={},withURLSuggestion:j=!0,createSuggestionButtonText:k,useLabel:_=!1}=e;const y=wn(v,g,u,j),E=m?h||y:Bn,C=Object(Q.useInstanceId)(In),[S,w]=Object(i.useState)(),B=async e=>{let t=e;if("__CREATE__"!==e.type)(g||t&&Object.keys(t).length>=1)&&p({...Object(a.omit)(r,"id","url"),...t},t);else try{var n;t=await d(e.title),null!==(n=t)&&void 0!==n&&n.url&&p(t)}catch(e){}},I=V()(c,{"has-no-label":!_});return Object(i.createElement)("div",{className:"block-editor-link-control__search-input-container"},Object(i.createElement)(gn,{label:_?"URL":void 0,className:I,value:n,onChange:(e,t)=>{b(e),w(t)},placeholder:null!=l?l:Object(s.__)("Search or type url"),__experimentalRenderSuggestions:m?e=>f({...e,instanceId:C,withCreateSuggestion:u,currentInputValue:n,createSuggestionButtonText:k,suggestionsQuery:v,handleSuggestionClick:t=>{e.handleSuggestionClick&&e.handleSuggestionClick(t),B(t)}}):null,__experimentalFetchLinkSuggestions:E,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:O,onSubmit:(e,t)=>{var o;const r=e||S;r||null!=n&&null!==(o=n.trim())&&void 0!==o&&o.length?B(r||{url:n}):t.preventDefault()},ref:t}),o)});var xn=In,Tn=n("FnAh"),Pn=n("B9Az"),Rn=n("Mp0b");const{Slot:Nn,Fill:Ln}=Object(u.createSlotFill)("BlockEditorLinkControlViewer");function Mn(e,t){switch(t.type){case"RESOLVED":return{...e,isFetching:!1,richData:t.richData};case"ERROR":return{...e,isFetching:!1,richData:null};case"LOADING":return{...e,isFetching:!0};default:throw new Error("Unexpected action type "+t.type)}}var An=function(e){const[t,n]=Object(i.useReducer)(Mn,{richData:null,isFetching:!1}),{fetchRichUrlData:o}=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return{fetchRichUrlData:t().__experimentalFetchRichUrlData}},[]);return Object(i.useEffect)(()=>{if(null!=e&&e.length&&o&&"undefined"!=typeof AbortController){n({type:"LOADING"});const t=new window.AbortController,r=t.signal;return o(e,{signal:r}).then(e=>{n({type:"RESOLVED",richData:e})}).catch(()=>{r.aborted||n({type:"ERROR"})}),()=>{t.abort()}}},[e]),t};function Dn(e){let{value:t,onEditClick:n,hasRichPreviews:o=!1,hasUnlinkControl:r=!1,onRemove:c}=e;const l=o?null==t?void 0:t.url:null,{richData:a,isFetching:d}=An(l),b=a&&Object.keys(a).length,p=t&&Object(fn.filterURLForDisplay)(Object(fn.safeDecodeURI)(t.url),16)||"",m=(null==a?void 0:a.title)||(null==t?void 0:t.title)||p,f=!t.url.length;let h;return h=null!=a&&a.icon?Object(i.createElement)("img",{src:null==a?void 0:a.icon,alt:""}):f?Object(i.createElement)(A.a,{icon:Tn.a,size:32}):Object(i.createElement)(A.a,{icon:jn}),Object(i.createElement)("div",{"aria-label":Object(s.__)("Currently selected"),"aria-selected":"true",className:V()("block-editor-link-control__search-item",{"is-current":!0,"is-rich":b,"is-fetching":!!d,"is-preview":!0,"is-error":f})},Object(i.createElement)("div",{className:"block-editor-link-control__search-item-top"},Object(i.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(i.createElement)("span",{className:V()("block-editor-link-control__search-item-icon",{"is-image":null==a?void 0:a.icon})},h),Object(i.createElement)("span",{className:"block-editor-link-control__search-item-details"},f?Object(i.createElement)("span",{className:"block-editor-link-control__search-item-error-notice"},"Link is empty"):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.ExternalLink,{className:"block-editor-link-control__search-item-title",href:t.url},Object(dn.__unstableStripHTML)(m)),(null==t?void 0:t.url)&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-info"},p)))),Object(i.createElement)(u.Button,{icon:Pn.a,label:Object(s.__)("Edit"),className:"block-editor-link-control__search-item-action",onClick:n,iconSize:24}),r&&Object(i.createElement)(u.Button,{icon:Rn.a,label:Object(s.__)("Unlink"),className:"block-editor-link-control__search-item-action block-editor-link-control__unlink",onClick:c,iconSize:24}),Object(i.createElement)(Nn,{fillProps:t})),(b&&((null==a?void 0:a.image)||(null==a?void 0:a.description))||d)&&Object(i.createElement)("div",{className:"block-editor-link-control__search-item-bottom"},((null==a?void 0:a.image)||d)&&Object(i.createElement)("div",{"aria-hidden":!(null!=a&&a.image),className:V()("block-editor-link-control__search-item-image",{"is-placeholder":!(null!=a&&a.image)})},(null==a?void 0:a.image)&&Object(i.createElement)("img",{src:null==a?void 0:a.image,alt:""})),((null==a?void 0:a.description)||d)&&Object(i.createElement)("div",{"aria-hidden":!(null!=a&&a.description),className:V()("block-editor-link-control__search-item-description",{"is-placeholder":!(null!=a&&a.description)})},(null==a?void 0:a.description)&&Object(i.createElement)(u.__experimentalText,{truncate:!0,numberOfLines:"2"},a.description))))}const Fn=e=>{let t=!1;return{promise:new Promise((n,o)=>{e.then(e=>t?o({isCanceled:!0}):n(e),e=>o(t?{isCanceled:!0}:e))}),cancel(){t=!0}}};function zn(e){var t,n,o;let{searchInputPlaceholder:r,value:c,settings:l=_n,onChange:d=a.noop,onRemove:b,noDirectEntry:p=!1,showSuggestions:m=!0,showInitialSuggestions:f,forceIsEditingLink:h,createSuggestion:g,withCreateSuggestion:O,inputValue:v="",suggestionsQuery:j={},noURLSuggestion:k=!1,createSuggestionButtonText:_,hasRichPreviews:y=!1,hasTextControl:E=!1,renderControlBottom:C=null}=e;void 0===O&&g&&(O=!0);const S=Object(i.useRef)(!0),w=Object(i.useRef)(),B=Object(i.useRef)(),[I,x]=Object(i.useState)((null==c?void 0:c.url)||""),[T,P]=Object(i.useState)((null==c?void 0:c.title)||""),R=v||I,[N,M]=Object(i.useState)(void 0!==h?h:!c||!c.url),A=Object(i.useRef)(!1),D=!(null!=R&&null!==(t=R.trim())&&void 0!==t&&t.length);function F(){var e;A.current=!(null===(e=w.current)||void 0===e||!e.contains(w.current.ownerDocument.activeElement)),M(!1)}Object(i.useEffect)(()=>{void 0!==h&&h!==N&&M(h)},[h]),Object(i.useEffect)(()=>{if(S.current)return void(S.current=!1);const e=null!=B&&B.current?1:0;(dn.focus.focusable.find(w.current)[e]||w.current).focus(),A.current=!1},[N]),Object(i.useEffect)(()=>{null!=c&&c.title&&c.title!==T&&P(c.title),null!=c&&c.url&&x(c.url)},[c]);const{createPage:z,isCreatingPage:H,errorMessage:G}=function(e){const t=Object(i.useRef)(),[n,o]=Object(i.useState)(!1),[r,c]=Object(i.useState)(null);return Object(i.useEffect)(()=>()=>{t.current&&t.current.cancel()},[]),{createPage:async function(n){o(!0),c(null);try{return t.current=Fn(Promise.resolve(e(n))),await t.current.promise}catch(e){if(e&&e.isCanceled)return;throw c(e.message||Object(s.__)("An unknown error occurred during creation. Please try again.")),e}finally{o(!1)}},isCreatingPage:n,errorMessage:r}}(g),U=()=>{R===(null==c?void 0:c.url)&&T===(null==c?void 0:c.title)||d({url:R,title:T}),F()},W=b&&c&&!N&&!H,q=!(null==l||!l.length),K=(null==c||null===(n=c.url)||void 0===n||null===(o=n.trim())||void 0===o?void 0:o.length)>0&&E;return Object(i.createElement)("div",{tabIndex:-1,ref:w,className:"block-editor-link-control"},H&&Object(i.createElement)("div",{className:"block-editor-link-control__loading"},Object(i.createElement)(u.Spinner,null)," ",Object(s.__)("Creating"),"…"),(N||!c)&&!H&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:V()({"block-editor-link-control__search-input-wrapper":!0,"has-text-control":K})},K&&Object(i.createElement)(u.TextControl,{ref:B,className:"block-editor-link-control__field block-editor-link-control__text-content",label:"Text",value:T,onChange:P,onKeyDown:e=>{const{keyCode:t}=e;t!==L.ENTER||D||(e.preventDefault(),U())}}),Object(i.createElement)(xn,{currentLink:c,className:"block-editor-link-control__field block-editor-link-control__search-input",placeholder:r,value:R,withCreateSuggestion:O,onCreateSuggestion:z,onChange:x,onSelect:e=>{d({...e,title:T||(null==e?void 0:e.title)}),F()},showInitialSuggestions:f,allowDirectEntry:!p,showSuggestions:m,suggestionsQuery:j,withURLSuggestion:!k,createSuggestionButtonText:_,useLabel:K},Object(i.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(i.createElement)(u.Button,{onClick:U,label:Object(s.__)("Submit"),icon:un.a,className:"block-editor-link-control__search-submit",disabled:D})))),G&&Object(i.createElement)(u.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},G)),c&&!N&&!H&&Object(i.createElement)(Dn,{key:null==c?void 0:c.url,value:c,onEditClick:()=>M(!0),hasRichPreviews:y,hasUnlinkControl:W,onRemove:b}),q&&Object(i.createElement)("div",{className:"block-editor-link-control__tools"},Object(i.createElement)(bn,{value:c,settings:l,onChange:d})),C&&C())}zn.ViewerFill=Ln;var Hn=zn,Vn=n("weEX"),Gn=n("gdqT"),Un=n("rH4q"),Wn=n("NTP4");var qn=Object(u.withFilters)("editor.MediaUpload")(()=>null);var Kn=function(e){let{fallback:t=null,children:n}=e;return Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return!!t().mediaUpload},[])?n:t};var $n=Object(Q.compose)([Object(_.withDispatch)(e=>{const{createNotice:t,removeNotice:n}=e(Vt.store);return{createNotice:t,removeNotice:n}}),Object(u.withFilters)("editor.MediaReplaceFlow")])(e=>{let{mediaURL:t,mediaId:n,allowedTypes:o,accept:r,onSelect:c,onSelectURL:l,onFilesUpload:d=a.noop,name:b=Object(s.__)("Replace"),createNotice:p,removeNotice:m,children:f}=e;const[h,g]=Object(i.useState)(t),O=Object(_.useSelect)(e=>e(S.a).getSettings().mediaUpload,[]),v=Object(i.createRef)(),j=Object(a.uniqueId)("block-editor/media-replace-flow/error-notice/"),k=e=>{const t=document.createElement("div");t.innerHTML=Object(i.renderToString)(e);const n=t.textContent||t.innerText||"";setTimeout(()=>{p("error",n,{speak:!0,id:j,isDismissible:!0})},1e3)},y=e=>{g(e.url),c(e),Object(Gn.speak)(Object(s.__)("The media file has been replaced")),m(j)},E=e=>{e.keyCode===L.DOWN&&(e.preventDefault(),e.target.click())};return Object(i.createElement)(u.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(i.createElement)(u.ToolbarButton,{ref:v,"aria-expanded":t,"aria-haspopup":"true",onClick:n,onKeyDown:E},b)},renderContent:e=>{let{onClose:t}=e;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(i.createElement)(qn,{value:n,onSelect:e=>y(e),allowedTypes:o,render:e=>{let{open:t}=e;return Object(i.createElement)(u.MenuItem,{icon:Un.a,onClick:t},Object(s.__)("Open Media Library"))}}),Object(i.createElement)(Kn,null,Object(i.createElement)(u.FormFileUpload,{onChange:e=>{(e=>{const t=e.target.files;d(t);O({allowedTypes:o,filesList:t,onFileChange:e=>{let[t]=e;y(t)},onError:k})})(e)},accept:r,render:e=>{let{openFileDialog:t}=e;return Object(i.createElement)(u.MenuItem,{icon:Wn.a,onClick:()=>{t()}},Object(s.__)("Upload"))}})),f),l&&Object(i.createElement)("form",{className:"block-editor-media-flow__url-input"},Object(i.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(s.__)("Current media URL:")),Object(i.createElement)(Hn,{value:{url:h},settings:[],showSuggestions:!1,onChange:e=>{let{url:t}=e;g(t),l(t),v.current.focus()}})))}})}),Yn=n("NMb1"),Xn=n.n(Yn);function Zn(e){let{url:t,urlLabel:n,className:o}=e;const r=V()(o,"block-editor-url-popover__link-viewer-url");return t?Object(i.createElement)(u.ExternalLink,{className:r,href:t},n||Object(fn.filterURLForDisplay)(Object(fn.safeDecodeURI)(t))):Object(i.createElement)("span",{className:r})}function Qn(e){let{additionalControls:t,children:n,renderSettings:o,position:r="bottom center",focusOnMount:c="firstElement",...a}=e;const[d,b]=Object(i.useState)(!1),p=!!o&&d;return Object(i.createElement)(u.Popover,Object(l.a)({className:"block-editor-url-popover",focusOnMount:c,position:r},a),Object(i.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(i.createElement)("div",{className:"block-editor-url-popover__row"},n,!!o&&Object(i.createElement)(u.Button,{className:"block-editor-url-popover__settings-toggle",icon:qe.a,label:Object(s.__)("Link settings"),onClick:()=>{b(!d)},"aria-expanded":d})),p&&Object(i.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},o())),t&&!p&&Object(i.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}Qn.LinkEditor=function(e){let{autocompleteRef:t,className:n,onChangeInputValue:o,value:r,...c}=e;return Object(i.createElement)("form",Object(l.a)({className:V()("block-editor-url-popover__link-editor",n)},c),Object(i.createElement)(gn,{value:r,onChange:o,autocompleteRef:t}),Object(i.createElement)(u.Button,{icon:un.a,label:Object(s.__)("Apply"),type:"submit"}))},Qn.LinkViewer=function(e){let{className:t,linkClassName:n,onEditLinkClick:o,url:r,urlLabel:c,...a}=e;return Object(i.createElement)("div",Object(l.a)({className:V()("block-editor-url-popover__link-viewer",t)},a),Object(i.createElement)(Zn,{url:r,urlLabel:c,className:n}),o&&Object(i.createElement)(u.Button,{icon:Pn.a,label:Object(s.__)("Edit"),onClick:o}))};var Jn=Qn;const eo=e=>{let{src:t,onChange:n,onSubmit:o,onClose:r}=e;return Object(i.createElement)(Jn,{onClose:r},Object(i.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:o},Object(i.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"text","aria-label":Object(s.__)("URL"),placeholder:Object(s.__)("Paste or type URL"),onChange:n,value:t}),Object(i.createElement)(u.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:un.a,label:Object(s.__)("Apply"),type:"submit"})))};var to=Object(u.withFilters)("editor.MediaPlaceholder")((function(e){let{value:t={},allowedTypes:n,className:o,icon:r,labels:c={},mediaPreview:l,notices:d,isAppender:b,accept:p,addToGallery:m,multiple:f=!1,handleUpload:h=!0,dropZoneUIOnly:g,disableDropZone:O,disableMediaButtons:v,onError:j,onSelect:k,onCancel:y,onSelectURL:E,onDoubleClick:C,onFilesPreUpload:w=a.noop,onHTMLDrop:B=a.noop,children:I,mediaLibraryButton:x,placeholder:T,style:P}=e;const R=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return t().mediaUpload},[]),[N,L]=Object(i.useState)(""),[M,A]=Object(i.useState)(!1);Object(i.useEffect)(()=>{var e;L(null!==(e=null==t?void 0:t.src)&&void 0!==e?e:"")},[null==t?void 0:t.src]);const D=e=>{L(e.target.value)},F=()=>{A(!0)},z=()=>{A(!1)},H=e=>{e.preventDefault(),N&&E&&(E(N),z())},G=e=>{if(!h)return k(e);let o;if(w(e),f)if(m){let e=[];o=n=>{const o=(null!=t?t:[]).filter(t=>t.id?!e.some(e=>{let{id:n}=e;return Number(n)===Number(t.id)}):!e.some(e=>{let{urlSlug:n}=e;return t.url.includes(n)}));k(o.concat(n)),e=n.map(e=>{const t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}})}}else o=k;else o=e=>{let[t]=e;return k(t)};R({allowedTypes:n,filesList:e,onFileChange:o,onError:j})},U=e=>{G(e.target.files)},W=null!=T?T:e=>{let{instructions:t,title:a}=c;if(R||E||(t=Object(s.__)("To edit this block, you need permission to upload media.")),void 0===t||void 0===a){const e=null!=n?n:[],[o]=e,r=1===e.length,c=r&&"audio"===o,l=r&&"image"===o,i=r&&"video"===o;void 0===t&&R&&(t=Object(s.__)("Upload a media file or pick one from your media library."),c?t=Object(s.__)("Upload an audio file, pick one from your media library, or add one with a URL."):l?t=Object(s.__)("Upload an image file, pick one from your media library, or add one with a URL."):i&&(t=Object(s.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===a&&(a=Object(s.__)("Media"),c?a=Object(s.__)("Audio"):l?a=Object(s.__)("Image"):i&&(a=Object(s.__)("Video")))}const p=V()("block-editor-media-placeholder",o,{"is-appender":b});return Object(i.createElement)(u.Placeholder,{icon:r,label:a,instructions:t,className:p,notices:d,onDoubleClick:C,preview:l,style:P},e,I)},q=()=>O?null:Object(i.createElement)(u.DropZone,{onFilesDrop:G,onHTMLDrop:B}),K=()=>y&&Object(i.createElement)(u.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(s.__)("Cancel"),variant:"link",onClick:y},Object(s.__)("Cancel")),$=()=>E&&Object(i.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(i.createElement)(u.Button,{className:"block-editor-media-placeholder__button",onClick:F,isPressed:M,variant:"tertiary"},Object(s.__)("Insert from URL")),M&&Object(i.createElement)(eo,{src:N,onChange:D,onSubmit:H,onClose:z}));return g||v?(g&&Xn()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{since:"5.4",alternative:"disableMediaButtons"}),Object(i.createElement)(Kn,null,q())):Object(i.createElement)(Kn,{fallback:W($())},(()=>{const e=null!=x?x:e=>{let{open:t}=e;return Object(i.createElement)(u.Button,{variant:"tertiary",onClick:()=>{t()}},Object(s.__)("Media Library"))},o=Object(i.createElement)(qn,{addToGallery:m,gallery:f&&!(!n||0===n.length)&&n.every(e=>"image"===e||e.startsWith("image/")),multiple:f,onSelect:k,allowedTypes:n,value:Array.isArray(t)?t.map(e=>{let{id:t}=e;return t}):t.id,render:e});if(R&&b)return Object(i.createElement)(i.Fragment,null,q(),Object(i.createElement)(u.FormFileUpload,{onChange:U,accept:p,multiple:f,render:e=>{let{openFileDialog:t}=e;const n=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.Button,{variant:"primary",className:V()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onClick:t},Object(s.__)("Upload")),o,$(),K());return W(n)}}));if(R){const e=Object(i.createElement)(i.Fragment,null,q(),Object(i.createElement)(u.FormFileUpload,{variant:"primary",className:V()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:U,accept:p,multiple:f},Object(s.__)("Upload")),o,$(),K());return W(e)}return W(o)})())}));var no=e=>{let{colorSettings:t,...n}=e;const o=t.map(e=>{let{value:t,onChange:n,...o}=e;return{...o,colorValue:t,onColorChange:n}});return Object(i.createElement)(Ot.a,Object(l.a)({settings:o,gradients:[],disableCustomGradients:!0},n))},oo=n("O6Fj"),ro=n.n(oo),co=n("qRz9");const lo={position:"bottom right",isAlternate:!0};var io=()=>Object(i.createElement)(i.Fragment,null,["bold","italic","link"].map(e=>Object(i.createElement)(u.Slot,{name:"RichText.ToolbarControls."+e,key:e})),Object(i.createElement)(u.Slot,{name:"RichText.ToolbarControls"},e=>{if(!e.length)return null;const t=e.map(e=>{let[{props:t}]=e;return t}).some(e=>{let{isActive:t}=e;return t});return Object(i.createElement)(u.ToolbarItem,null,n=>Object(i.createElement)(u.DropdownMenu,{icon:qe.a,label:Object(s.__)("More"),toggleProps:{...n,className:V()(n.className,{"is-pressed":t}),describedBy:Object(s.__)("Displays more block tools")},controls:Object(a.orderBy)(e.map(e=>{let[{props:t}]=e;return t}),"title"),popoverProps:lo}))}));var ao=e=>{let{inline:t,anchorRef:n}=e;return t?Object(i.createElement)(u.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar",__unstableSlotName:"block-toolbar"},Object(i.createElement)("div",{className:"block-editor-rich-text__inline-format-toolbar-group"},Object(i.createElement)(u.ToolbarGroup,null,Object(i.createElement)(io,null)))):Object(i.createElement)(W.b,{group:"inline"},Object(i.createElement)(io,null))};function so(){const{didAutomaticChange:e,getSettings:t}=Object(_.useSelect)(S.a);return Object(Q.useRefEffect)(n=>{function o(n){const{keyCode:o}=n;n.defaultPrevented||o!==L.DELETE&&o!==L.BACKSPACE&&o!==L.ESCAPE||e()&&(n.preventDefault(),t().__experimentalUndo())}return n.addEventListener("keydown",o),()=>{n.removeEventListener("keydown",o)}},[])}var uo=n("xTGt");function bo(e){return e.filter(e=>{let{type:t}=e;return/^image\/(?:jpe?g|png|gif)$/.test(t)}).map(e=>``).join("")}var po=n("SVSp");function mo(e,t){if(null!=t&&t.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function fo(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function ho(e){let{allowedFormats:t,formattingControls:n,disableFormats:o}=e;return o?ho.EMPTY_ARRAY:t||n?t||(Xn()("wp.blockEditor.RichText formattingControls prop",{since:"5.4",alternative:"allowedFormats"}),n.map(e=>"core/"+e)):void 0}ho.EMPTY_ARRAY=[];function go(e){let{value:t,pastedBlocks:n=[],onReplace:o,onSplit:r,onSplitMiddle:c,multilineTag:l}=e;if(!o||!r)return;const i=[],[a,s]=Object(co.split)(t),u=n.length>0;let d=-1;const b=Object(co.isEmpty)(a)&&!Object(co.isEmpty)(s);u&&Object(co.isEmpty)(a)||(i.push(r(Object(co.toHTMLString)({value:a,multilineTag:l}),!b)),d+=1),u?(i.push(...n),d+=n.length):c&&i.push(c()),(u||c)&&Object(co.isEmpty)(s)||i.push(r(Object(co.toHTMLString)({value:s,multilineTag:l}),b));o(i,u?d:1,u?-1:0)}function Oo(e,t){return t?Object(co.replace)(e,/\n+/g,co.__UNSTABLE_LINE_SEPARATOR):Object(co.replace)(e,new RegExp(co.__UNSTABLE_LINE_SEPARATOR,"g"),"\n")}function vo(e){const t=Object(i.useRef)(e);return t.current=e,Object(Q.useRefEffect)(e=>{function n(e){const{isSelected:n,disableFormats:o,onChange:r,value:c,formatTypes:l,tagName:i,onReplace:a,onSplit:s,onSplitMiddle:u,__unstableEmbedURLOnPaste:d,multilineTag:b,preserveWhiteSpace:p,pastePlainText:m}=t.current;if(!n)return void e.preventDefault();const{clipboardData:f}=e;let h="",g="";try{h=f.getData("text/plain"),g=f.getData("text/html")}catch(e){try{g=f.getData("Text")}catch(e){return}}if(g=function(e){return e.replace(/.*/s,"").replace(/.*/s,"")}(g),g=function(e){const t="";if(e.startsWith(t))return e.slice(t.length);return e}(g),e.preventDefault(),window.console.log("Received HTML:\n\n",g),window.console.log("Received plain text:\n\n",h),o)return void r(Object(co.insert)(c,h));const O=l.reduce((e,t)=>{let{__unstablePasteRule:n}=t;return n&&e===c&&(e=n(c,{html:g,plainText:h})),e},c);if(O!==c)return void r(O);const v=[...Object(dn.getFilesFromDataTransfer)(f)];if("true"===f.getData("rich-text")){const e=f.getData("rich-text-multi-line-tag")||void 0;let t=Object(co.create)({html:g,multilineTag:e,multilineWrapperTags:"li"===e?["ul","ol"]:void 0,preserveWhiteSpace:p});return t=Oo(t,!!b),mo(t,c.activeFormats),void r(Object(co.insert)(c,t))}if(m)return void r(Object(co.insert)(c,Object(co.create)({text:h})));if(v&&v.length&&!g){const e=Object(j.pasteHandler)({HTML:bo(v),mode:"BLOCKS",tagName:i,preserveWhiteSpace:p});return window.console.log("Received items:\n\n",v),void(a&&Object(co.isEmpty)(c)?a(e):go({value:c,pastedBlocks:e,onReplace:a,onSplit:s,onSplitMiddle:u,multilineTag:b}))}let k=a&&s?"AUTO":"INLINE";var _;"AUTO"===k&&Object(co.isEmpty)(c)&&(_=h,Object(po.regexp)(".*").test(_))&&(k="BLOCKS"),d&&Object(co.isEmpty)(c)&&Object(fn.isURL)(h.trim())&&(k="BLOCKS");const y=Object(j.pasteHandler)({HTML:g,plainText:h,mode:k,tagName:i,preserveWhiteSpace:p});if("string"==typeof y){let e=Object(co.create)({html:y});e=Oo(e,!!b),mo(e,c.activeFormats),r(Object(co.insert)(c,e))}else y.length>0&&(a&&Object(co.isEmpty)(c)?a(y,y.length-1,-1):go({value:c,pastedBlocks:y,onReplace:a,onSplit:s,onSplitMiddle:u,multilineTag:b}))}return e.addEventListener("paste",n),()=>{e.removeEventListener("paste",n)}},[])}function jo(e){const{__unstableMarkLastChangeAsPersistent:t,__unstableMarkAutomaticChange:n}=Object(_.useDispatch)(S.a),o=Object(i.useRef)(e);return o.current=e,Object(Q.useRefEffect)(e=>{function r(){const{value:e,onReplace:t}=o.current;if(!t)return;const{start:r,text:c}=e;if(" "!==c.slice(r-1,r))return;const l=c.slice(0,r).trim(),i=Object(j.getBlockTransforms)("from").filter(e=>{let{type:t}=e;return"prefix"===t}),a=Object(j.findTransform)(i,e=>{let{prefix:t}=e;return l===t});if(!a)return;const s=Object(co.toHTMLString)({value:Object(co.slice)(e,r,c.length)});t([a.transform(s)]),n()}function c(e){const{inputType:c,type:l}=e,{value:i,onChange:a,__unstableAllowPrefixTransformations:s,formatTypes:u}=o.current;if("insertText"!==c&&"compositionend"!==l)return;s&&r&&r();const d=u.reduce((e,t)=>{let{__unstableInputRule:n}=t;return n&&(e=n(e)),e},i);d!==i&&(t(),a({...d,activeFormats:i.activeFormats}),n())}return e.addEventListener("input",c),e.addEventListener("compositionend",c),()=>{e.removeEventListener("input",c),e.removeEventListener("compositionend",c)}},[])}function ko(e){const{__unstableMarkAutomaticChange:t}=Object(_.useDispatch)(S.a),n=Object(i.useRef)(e);return n.current=e,Object(Q.useRefEffect)(e=>{function o(e){if(e.defaultPrevented)return;const{removeEditorOnlyFormats:o,value:r,onReplace:c,onSplit:l,onSplitMiddle:i,multilineTag:a,onChange:s,disableLineBreaks:u,onSplitAtEnd:d}=n.current;if(e.keyCode!==L.ENTER)return;e.preventDefault();const b={...r};b.formats=o(r);const p=c&&l;if(c){const e=Object(j.getBlockTransforms)("from").filter(e=>{let{type:t}=e;return"enter"===t}),n=Object(j.findTransform)(e,e=>e.regExp.test(b.text));n&&(c([n.transform({content:b.text})]),t())}if(a)e.shiftKey?u||s(Object(co.insert)(b,"\n")):p&&Object(co.__unstableIsEmptyLine)(b)?go({value:b,onReplace:c,onSplit:l,onSplitMiddle:i,multilineTag:a}):s(Object(co.__unstableInsertLineSeparator)(b));else{const{text:t,start:n,end:o}=b,r=d&&n===o&&o===t.length;e.shiftKey||!p&&!r?u||s(Object(co.insert)(b,"\n")):!p&&r?d():p&&go({value:b,onReplace:c,onSplit:l,onSplitMiddle:i,multilineTag:a})}}return e.addEventListener("keydown",o),()=>{e.removeEventListener("keydown",o)}},[])}function _o(e){return e(co.store).getFormatTypes()}const yo=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function Eo(e){return Object(Q.useRefEffect)(t=>{function n(t){for(const n of e.current)n(t)}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},[])}function Co(e){return Object(Q.useRefEffect)(t=>{function n(t){for(const n of e.current)n(t)}return t.addEventListener("input",n),()=>{t.removeEventListener("input",n)}},[])}function So(e){let{formatTypes:t,onChange:n,onFocus:o,value:r,forwardedRef:c}=e;return t.map(e=>{const{name:t,edit:l}=e;if(!l)return null;const s=Object(co.getActiveFormat)(r,t);let u=void 0!==s;const d=Object(co.getActiveObject)(r),b=void 0!==d&&d.type===t;if("core/link"===t&&!Object(co.isCollapsed)(r)){const e=r.formats,t=Object(a.find)(e[r.start],{type:"core/link"}),n=Object(a.find)(e[r.end-1],{type:"core/link"});t&&n&&t===n||(u=!1)}return Object(i.createElement)(l,{key:t,isActive:u,activeAttributes:u&&s.attributes||{},isObjectActive:b,activeObjectAttributes:b&&d.attributes||{},value:r,onChange:n,onFocus:o,contentRef:c})})}const wo=Object(i.createContext)(),Bo=Object(i.createContext)();const Io=Object(i.forwardRef)((function e(t,n){let{children:o,tagName:r="div",value:c="",onChange:s,isSelected:d,multiline:b,inlineToolbar:p,wrapperClassName:m,autocompleters:f,onReplace:h,placeholder:g,allowedFormats:O,formattingControls:v,withoutInteractiveFormatting:y,onRemove:E,onMerge:C,onSplit:w,__unstableOnSplitAtEnd:B,__unstableOnSplitMiddle:x,identifier:T,preserveWhiteSpace:P,__unstablePastePlainText:R,__unstableEmbedURLOnPaste:N,__unstableDisableFormats:M,disableLineBreaks:A,unstableOnFocus:D,__unstableAllowPrefixTransformations:F,...z}=t;const H=Object(Q.useInstanceId)(e);T=T||H,z=function(e){return Object(a.omit)(e,["__unstableMobileNoFocusOnMount","deleteEnter","placeholderTextColor","textAlign","selectionColor","tagsToEliminate","rootTagsToEliminate","disableEditingMenu","fontSize","fontFamily","fontWeight","fontStyle","minWidth","maxWidth","setRef"])}(z);const G=Object(i.useRef)(),{clientId:U}=Object(k.c)(),{selectionStart:W,selectionEnd:q,isSelected:K,disabled:$}=Object(_.useSelect)(e=>{const{getSelectionStart:t,getSelectionEnd:n,isMultiSelecting:o,hasMultiSelection:r}=e(S.a),c=t(),l=n();let i;return void 0===d?i=c.clientId===U&&c.attributeKey===T:d&&(i=c.clientId===U),{selectionStart:i?c.offset:void 0,selectionEnd:i?l.offset:void 0,isSelected:i,disabled:o()||r()}}),{selectionChange:Y}=Object(_.useDispatch)(S.a),X=fo(b),Z=ho({allowedFormats:O,formattingControls:v,disableFormats:M}),J=!Z||Z.length>0;let ee=c,te=s;Array.isArray(c)&&(ee=j.children.toHTML(c),te=e=>s(j.children.fromDOM(Object(co.__unstableCreateElement)(document,e).childNodes)));const ne=Object(i.useCallback)((e,t)=>{Y(U,T,e,t)},[U,T]),{formatTypes:oe,prepareHandlers:re,valueHandlers:ce,changeHandlers:le,dependencies:ie}=function(e){let{clientId:t,identifier:n,withoutInteractiveFormatting:o,allowedFormats:r}=e;const c=Object(_.useSelect)(_o,[]),l=Object(i.useMemo)(()=>c.filter(e=>{let{name:t,tagName:n}=e;return!(r&&!r.includes(t))&&(!o||!yo.has(n))}),[c,r,yo]),a=Object(_.useSelect)(e=>l.reduce((o,r)=>(r.__experimentalGetPropsForEditableTreePreparation&&(o[r.name]=r.__experimentalGetPropsForEditableTreePreparation(e,{richTextIdentifier:n,blockClientId:t})),o),{}),[l,t,n]),s=Object(_.useDispatch)(),u=[],d=[],b=[],p=[];return l.forEach(e=>{if(e.__experimentalCreatePrepareEditableTree){const o=a[e.name],r=e.__experimentalCreatePrepareEditableTree(o,{richTextIdentifier:n,blockClientId:t});e.__experimentalCreateOnChangeEditableValue?d.push(r):u.push(r);for(const e in o)p.push(o[e])}if(e.__experimentalCreateOnChangeEditableValue){let o={};e.__experimentalGetPropsForEditableTreeChangeHandler&&(o=e.__experimentalGetPropsForEditableTreeChangeHandler(s,{richTextIdentifier:n,blockClientId:t})),b.push(e.__experimentalCreateOnChangeEditableValue({...a[e.name]||{},...o},{richTextIdentifier:n,blockClientId:t}))}}),{formatTypes:l,prepareHandlers:u,valueHandlers:d,changeHandlers:b,dependencies:p}}({clientId:U,identifier:T,withoutInteractiveFormatting:y,allowedFormats:Z});function ae(e){return oe.forEach(t=>{t.__experimentalCreatePrepareEditableTree&&(e=Object(co.removeFormat)(e,t.name,0,e.text.length))}),e.formats}const{value:se,onChange:ue,ref:de}=Object(co.__unstableUseRichText)({value:ee,onChange(e,t){let{__unstableFormats:n,__unstableText:o}=t;te(e),Object.values(le).forEach(e=>{e(n,o)})},selectionStart:W,selectionEnd:q,onSelectionChange:ne,placeholder:g,__unstableIsSelected:K,__unstableMultilineTag:X,__unstableDisableFormats:M,preserveWhiteSpace:P,__unstableDependencies:[...ie,r],__unstableAfterParse:function(e){return ce.reduce((t,n)=>n(t,e.text),e.formats)},__unstableBeforeSerialize:ae,__unstableAddInvisibleFormats:function(e){return re.reduce((t,n)=>n(t,e.text),e.formats)}}),be=function(e){return Object(u.__unstableUseAutocompleteProps)({...e,completers:I(e)})}({onReplace:h,completers:f,record:se,onChange:ue});!function(e){let{value:t}=e;const n=t.activeFormats&&!!t.activeFormats.length,{isCaretWithinFormattedText:o}=Object(_.useSelect)(S.a),{enterFormattedText:r,exitFormattedText:c}=Object(_.useDispatch)(S.a);Object(i.useEffect)(()=>{n?o()||r():o()&&c()},[n])}({value:se}),function(e){let{html:t,value:n}=e;const o=Object(i.useRef)(),r=n.activeFormats&&!!n.activeFormats.length,{__unstableMarkLastChangeAsPersistent:c}=Object(_.useDispatch)(S.a);Object(i.useLayoutEffect)(()=>{if(o.current){if(o.current!==n.text){const e=window.setTimeout(()=>{c()},1e3);return o.current=n.text,()=>{window.clearTimeout(e)}}c()}else o.current=n.text},[t,r])}({html:ee,value:se});const pe=Object(i.useRef)(new Set),me=Object(i.useRef)(new Set);function fe(){G.current.focus()}const he=r,ge=Object(i.createElement)(i.Fragment,null,K&&Object(i.createElement)(wo.Provider,{value:pe},Object(i.createElement)(Bo.Provider,{value:me},Object(i.createElement)(u.Popover.__unstableSlotNameProvider,{value:"__unstable-block-tools-after"},o&&o({value:se,onChange:ue,onFocus:fe}),Object(i.createElement)(So,{value:se,onChange:ue,onFocus:fe,formatTypes:oe,forwardedRef:G})))),K&&J&&Object(i.createElement)(ao,{inline:p,anchorRef:G.current}),Object(i.createElement)(he,Object(l.a)({role:"textbox","aria-multiline":!0,"aria-label":g},z,be,{ref:Object(Q.useMergeRefs)([be.ref,z.ref,de,jo({value:se,onChange:ue,__unstableAllowPrefixTransformations:F,formatTypes:oe,onReplace:h}),Object(Q.useRefEffect)(e=>{function t(e){(L.isKeyboardEvent.primary(e,"z")||L.isKeyboardEvent.primary(e,"y")||L.isKeyboardEvent.primaryShift(e,"z"))&&e.preventDefault()}return e.addEventListener("keydown",t),()=>{e.addEventListener("keydown",t)}},[]),Eo(pe),Co(me),so(),vo({isSelected:K,disableFormats:M,onChange:ue,value:se,formatTypes:oe,tagName:r,onReplace:h,onSplit:w,onSplitMiddle:x,__unstableEmbedURLOnPaste:N,multilineTag:X,preserveWhiteSpace:P,pastePlainText:R}),ko({removeEditorOnlyFormats:ae,value:se,onReplace:h,onSplit:w,onSplitMiddle:x,multilineTag:X,onChange:ue,disableLineBreaks:A,onSplitAtEnd:B}),G,n]),contentEditable:!$||void 0,suppressContentEditableWarning:!$,className:V()("block-editor-rich-text__editable",z.className,"rich-text"),onFocus:D,onKeyDown:function(e){const{keyCode:t}=e;if(!e.defaultPrevented&&(t===L.DELETE||t===L.BACKSPACE)){const{start:n,end:o,text:r}=se,c=t===L.BACKSPACE,l=se.activeFormats&&!!se.activeFormats.length;if(!Object(co.isCollapsed)(se)||l||c&&0!==n||!c&&o!==r.length)return;C&&C(!c),E&&Object(co.isEmpty)(se)&&c&&E(!c),e.preventDefault()}}})));if(!m)return ge;Xn()("wp.blockEditor.RichText wrapperClassName prop",{since:"5.4",alternative:"className prop or create your own wrapper div"});const Oe=V()("block-editor-rich-text",m);return Object(i.createElement)("div",{className:Oe},ge)}));Io.Content=e=>{let{value:t,tagName:n,multiline:o,...r}=e;Array.isArray(t)&&(t=j.children.toHTML(t));const c=fo(o);!t&&c&&(t=`<${c}>`);const l=Object(i.createElement)(i.RawHTML,null,t);return n?Object(i.createElement)(n,Object(a.omit)(r,["format"]),l):l},Io.isEmpty=e=>!e||0===e.length;var xo=Io;const To=Object(i.forwardRef)((e,t)=>Object(i.createElement)(xo,Object(l.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0})));To.Content=e=>{let{value:t="",tagName:n="div",...o}=e;return Object(i.createElement)(n,o,t)};var Po=To;var Ro=Object(i.forwardRef)((e,t)=>{let{__experimentalVersion:n,...o}=e;if(2===n)return Object(i.createElement)(Po,Object(l.a)({ref:t},o));const{className:r,onChange:c,...a}=o;return Object(i.createElement)(ro.a,Object(l.a)({ref:t,className:V()("block-editor-plain-text",r),onChange:e=>c(e.target.value)},a))});function No(e){let{property:t,viewport:n,desc:o}=e;const r=Object(Q.useInstanceId)(No),c=o||Object(s.sprintf)(Object(s._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(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{"aria-describedby":"rbc-desc-"+r},n.label),Object(i.createElement)(u.VisuallyHidden,{as:"span",id:"rbc-desc-"+r},c))}var Lo=function(e){const{title:t,property:n,toggleLabel:o,onIsResponsiveChange:r,renderDefaultControl:c,renderResponsiveControls:l,isResponsive:a=!1,defaultLabel:d={id:"all",label:Object(s.__)("All")},viewports:b=[{id:"small",label:Object(s.__)("Small screens")},{id:"medium",label:Object(s.__)("Medium screens")},{id:"large",label:Object(s.__)("Large screens")}]}=e;if(!t||!n||!c)return null;const p=o||Object(s.sprintf)(Object(s.__)("Use the same %s on all screensizes."),n),m=Object(s.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),f=c(Object(i.createElement)(No,{property:n,viewport:d}),d);return Object(i.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(i.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(i.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(i.createElement)(u.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!a,onChange:r,help:m}),Object(i.createElement)("div",{className:V()("block-editor-responsive-block-control__group",{"is-responsive":a})},!a&&f,a&&(l?l(b):b.map(e=>Object(i.createElement)(i.Fragment,{key:e.id},c(Object(i.createElement)(No,{property:n,viewport:e}),e)))))))};function Mo(e){let{character:t,type:n,onUse:o}=e;const r=Object(i.useContext)(wo),c=Object(i.useRef)();return c.current=o,Object(i.useEffect)(()=>{function e(e){L.isKeyboardEvent[n](e,t)&&(c.current(),e.preventDefault())}return r.current.add(e),()=>{r.current.delete(e)}},[t,n]),null}function Ao(e){let t,{name:n,shortcutType:o,shortcutCharacter:r,...c}=e,a="RichText.ToolbarControls";return n&&(a+="."+n),o&&r&&(t=L.displayShortcut[o](r)),Object(i.createElement)(u.Fill,{name:a},Object(i.createElement)(u.ToolbarButton,Object(l.a)({},c,{shortcut:t})))}function Do(e){let{inputType:t,onInput:n}=e;const o=Object(i.useContext)(Bo),r=Object(i.useRef)();return r.current=n,Object(i.useEffect)(()=>{function e(e){e.inputType===t&&(r.current(),e.preventDefault())}return o.current.add(e),()=>{o.current.delete(e)}},[t]),null}const Fo=Object(i.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(u.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 zo=Object(i.forwardRef)((function(e,t){const n=Object(_.useSelect)(e=>e(S.a).isNavigationMode(),[]),{setNavigationMode:o}=Object(_.useDispatch)(S.a),r=e=>{o("edit"!==e)};return Object(i.createElement)(u.Dropdown,{renderToggle:o=>{let{isOpen:r,onToggle:c}=o;return Object(i.createElement)(u.Button,Object(l.a)({},e,{ref:t,icon:n?Fo:Pn.a,"aria-expanded":r,"aria-haspopup":"true",onClick:c,label:Object(s.__)("Tools")}))},position:"bottom right",renderContent:()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.NavigableMenu,{role:"menu","aria-label":Object(s.__)("Tools")},Object(i.createElement)(u.MenuItemsChoice,{value:n?"select":"edit",onSelect:r,choices:[{value:"edit",label:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(A.a,{icon:Pn.a}),Object(s.__)("Edit"))},{value:"select",label:Object(i.createElement)(i.Fragment,null,Fo,Object(s.__)("Select"))}]})),Object(i.createElement)("div",{className:"block-editor-tool-selector__help"},Object(s.__)("Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.")))})}));function Ho(e){let{units:t,...n}=e;const o=Object(u.__experimentalUseCustomUnits)({availableUnits:Object(lt.a)("spacing.units")||["%","px","em","rem","vw"],units:t});return Object(i.createElement)(u.__experimentalUnitControl,Object(l.a)({units:o},n))}var Vo=n("Bpkj"),Go=n("cjQ8");class Uo extends i.Component{constructor(){super(...arguments),this.toggle=this.toggle.bind(this),this.submitLink=this.submitLink.bind(this),this.state={expanded:!1}}toggle(){this.setState({expanded:!this.state.expanded})}submitLink(e){e.preventDefault(),this.toggle()}render(){const{url:e,onChange:t}=this.props,{expanded:n}=this.state,o=e?Object(s.__)("Edit link"):Object(s.__)("Insert link");return Object(i.createElement)("div",{className:"block-editor-url-input__button"},Object(i.createElement)(u.Button,{icon:Vo.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!e}),n&&Object(i.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(i.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(i.createElement)(u.Button,{className:"block-editor-url-input__back",icon:Go.a,label:Object(s.__)("Close"),onClick:this.toggle}),Object(i.createElement)(gn,{value:e||"",onChange:t}),Object(i.createElement)(u.Button,{icon:un.a,label:Object(s.__)("Submit"),type:"submit"}))))}}var Wo=Uo,qo=n("w95h");const Ko=["noreferrer","noopener"],$o=Object(i.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(u.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(i.createElement)(u.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(i.createElement)(u.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),Yo=e=>{let{linkDestination:t,onChangeUrl:n,url:o,mediaType:r="image",mediaUrl:c,mediaLink:l,linkTarget:d,linkClass:b,rel:p}=e;const[m,f]=Object(i.useState)(!1),h=Object(i.useCallback)(()=>{f(!0)}),[g,O]=Object(i.useState)(!1),[v,j]=Object(i.useState)(null),k=Object(i.useRef)(null),_=Object(i.useCallback)(()=>{"media"!==t&&"attachment"!==t||j(""),O(!0)}),y=Object(i.useCallback)(()=>{O(!1)}),E=Object(i.useCallback)(()=>{j(null),y(),f(!1)}),C=e=>{let t=e;return void 0===e||Object(a.isEmpty)(t)||Object(a.isEmpty)(t)||(Object(a.each)(Ko,e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")}),t!==e&&(t=t.trim()),Object(a.isEmpty)(t)&&(t=void 0)),t},S=Object(i.useCallback)(()=>e=>{const t=k.current;t&&t.contains(e.target)||(f(!1),j(null),y())}),w=Object(i.useCallback)(()=>e=>{if(v){var t;const e=(null===(t=I().find(e=>e.url===v))||void 0===t?void 0:t.linkDestination)||"custom";n({href:v,linkDestination:e})}y(),j(null),e.preventDefault()}),B=Object(i.useCallback)(()=>{n({linkDestination:"none",href:""})}),I=()=>{const e=[{linkDestination:"media",title:Object(s.__)("Media File"),url:"image"===r?c:void 0,icon:$o}];return"image"===r&&l&&e.push({linkDestination:"attachment",title:Object(s.__)("Attachment Page"),url:"image"===r?l:void 0,icon:Object(i.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(u.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(i.createElement)(u.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"}))}),e},x=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.ToggleControl,{label:Object(s.__)("Open in new tab"),onChange:e=>{const t=(e=>{const t=e?"_blank":void 0;let n;return n=t||p?C(p):void 0,{linkTarget:t,rel:n}})(e);n(t)},checked:"_blank"===d}),Object(i.createElement)(u.TextControl,{label:Object(s.__)("Link Rel"),value:C(p)||"",onChange:e=>{n({rel:e})}}),Object(i.createElement)(u.TextControl,{label:Object(s.__)("Link CSS Class"),value:b||"",onChange:e=>{n({linkClass:e})}})),T=null!==v?v:o,P=(Object(a.find)(I(),["linkDestination",t])||{}).title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.ToolbarButton,{icon:Vo.a,className:"components-toolbar__control",label:o?Object(s.__)("Edit link"):Object(s.__)("Insert link"),"aria-expanded":m,onClick:h}),m&&Object(i.createElement)(Jn,{onFocusOutside:S(),onClose:E,renderSettings:()=>x,additionalControls:!T&&Object(i.createElement)(u.NavigableMenu,null,Object(a.map)(I(),e=>Object(i.createElement)(u.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:()=>{j(null),(e=>{const t=I();let o;o=e?(Object(a.find)(t,t=>t.url===e)||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:o,href:e})})(e.url),y()}},e.title)))},(!o||g)&&Object(i.createElement)(Jn.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:T,onChangeInputValue:j,onSubmit:w(),autocompleteRef:k}),o&&!g&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Jn.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:o,onEditLinkClick:_,urlLabel:P}),Object(i.createElement)(u.Button,{icon:qo.a,label:Object(s.__)("Remove link"),onClick:B}))))};var Xo=n("Jyyd"),Zo=n("mlss");function Qo(e){let{children:t,className:n,isEnabled:o=!0,deviceType:r,setDeviceType:c}=e;if(Object(Q.useViewportMatch)("small","<"))return null;const l={className:V()(n,"block-editor-post-preview__dropdown-content"),position:"bottom left"},a={variant:"tertiary",className:"block-editor-post-preview__button-toggle",disabled:!o,children:Object(s.__)("Preview")};return Object(i.createElement)(u.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:l,toggleProps:a,icon:null},()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.MenuGroup,null,Object(i.createElement)(u.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>c("Desktop"),icon:"Desktop"===r&&Xt.a},Object(s.__)("Desktop")),Object(i.createElement)(u.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>c("Tablet"),icon:"Tablet"===r&&Xt.a},Object(s.__)("Tablet")),Object(i.createElement)(u.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>c("Mobile"),icon:"Mobile"===r&&Xt.a},Object(s.__)("Mobile"))),t))}function Jo(e){const[t,n]=Object(i.useState)(window.innerWidth);Object(i.useEffect)(()=>{if("Desktop"===e)return;const t=()=>n(window.innerWidth);return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]);const o=e=>{let n;switch(e){case"Tablet":n=780;break;case"Mobile":n=360;break;default:return null}return n{const t="Mobile"===e?"768px":"1024px";switch(e){case"Tablet":case"Mobile":return{width:o(e),margin:(window.innerHeight<800?36:72)+"px auto",height:t,borderRadius:"2px 2px 2px 2px",border:"1px solid #ddd",overflowY:"auto"};default:return null}})(e)}var er=n("PKbb");var tr=Object(_.withSelect)(e=>({selectedBlockClientId:e(S.a).getBlockSelectionStart()}))(e=>{let{selectedBlockClientId:t}=e;const n=Object(er.b)(t);return t?Object(i.createElement)(u.Button,{variant:"secondary",className:"block-editor-skip-to-selected-block",onClick:()=>{n.current.focus()}},Object(s.__)("Skip to the selected block")):null}),nr=n("GvwK"),or=n("7NR9"),rr=n("7fqt"),cr=n("wzfx");var lr=Object(_.withSelect)(e=>{const{getMultiSelectedBlocks:t}=e(S.a);return{blocks:t()}})((function(e){let{blocks:t}=e;const n=Object(rr.count)(Object(j.serialize)(t),"words");return Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(i.createElement)(C.a,{icon:cr.a,showColors:!0}),Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},Object(s.sprintf)(Object(s._n)("%d block","%d blocks",t.length),t.length)),Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(s.sprintf)(Object(s._n)("%d word","%d words",n),n))))}));function ir(e){let{blockName:t}=e;const{preferredStyle:n,onUpdatePreferredStyleVariations:o,styles:r}=Object(_.useSelect)(e=>{var n,o;const r=e(S.a).getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==r||null===(n=r.value)||void 0===n?void 0:n[t],onUpdatePreferredStyleVariations:null!==(o=null==r?void 0:r.onChange)&&void 0!==o?o:null,styles:e(j.store).getBlockStyles(t)}},[t]),c=Object(i.useMemo)(()=>[{label:Object(s.__)("Not set"),value:""},...r.map(e=>{let{label:t,name:n}=e;return{label:t,value:n}})],[r]),l=Object(i.useCallback)(e=>{o(t,e)},[t,o]);return o&&Object(i.createElement)(u.SelectControl,{options:c,value:n||"",label:Object(s.__)("Default Style"),onChange:l})}const ar=e=>{let{clientId:t,blockName:n,hasBlockStyles:o,bubblesVirtually:r}=e;const c=Object(ce.a)(t);return Object(i.createElement)("div",{className:"block-editor-block-inspector"},Object(i.createElement)(nr.a,c),Object(i.createElement)($e,{blockClientId:t}),o&&Object(i.createElement)("div",null,Object(i.createElement)(u.PanelBody,{title:Object(s.__)("Styles")},Object(i.createElement)(or.a,{clientId:t}),Object(j.hasBlockSupport)(n,"defaultStylePicker",!0)&&Object(i.createElement)(ir,{blockName:n}))),Object(i.createElement)(an.b.Slot,{bubblesVirtually:r}),Object(i.createElement)(an.b.Slot,{__experimentalGroup:"typography",bubblesVirtually:r,label:Object(s.__)("Typography")}),Object(i.createElement)(an.b.Slot,{__experimentalGroup:"dimensions",bubblesVirtually:r,label:Object(s.__)("Dimensions")}),Object(i.createElement)("div",null,Object(i.createElement)(sr,{bubblesVirtually:r})),Object(i.createElement)(tr,{key:"back"}))},sr=e=>{let{bubblesVirtually:t}=e;const n=Object(u.__experimentalUseSlot)(an.a.slotName);return Boolean(n.fills&&n.fills.length)?Object(i.createElement)(u.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(s.__)("Advanced"),initialOpen:!1},Object(i.createElement)(an.b.Slot,{__experimentalGroup:"advanced",bubblesVirtually:t})):null};var ur=e=>{let{showNoBlockSelectedMessage:t=!0,bubblesVirtually:n=!0}=e;const{count:o,hasBlockStyles:r,selectedBlockName:c,selectedBlockClientId:l,blockType:a}=Object(_.useSelect)(e=>{const{getSelectedBlockClientId:t,getSelectedBlockCount:n,getBlockName:o}=e(S.a),{getBlockStyles:r}=e(j.store),c=t(),l=c&&o(c),i=l&&Object(j.getBlockType)(l),a=l&&r(l);return{count:n(),selectedBlockClientId:c,selectedBlockName:l,blockType:i,hasBlockStyles:a&&a.length>0}},[]);if(o>1)return Object(i.createElement)("div",{className:"block-editor-block-inspector"},Object(i.createElement)(lr,null),Object(i.createElement)(an.b.Slot,{bubblesVirtually:n}));const u=c===Object(j.getUnregisteredTypeHandlerName)();return a&&l&&!u?Object(i.createElement)(ar,{clientId:l,blockName:a.name,hasBlockStyles:r,bubblesVirtually:n}):t?Object(i.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(s.__)("No block selected.")):null},dr=n("VyCT"),br=n("nlh6"),pr=n("w8sn"),mr=n("JygI"),fr=n("zQI6"),hr=n("U1WI"),gr=n("pXCJ"),Or=n("+gtr"),vr=n("hF7m"),jr=n("PS/H"),kr=n("xCFn"),_r=n("JUfZ"),yr=n("2z9l");function Er(e){let{children:t,__unstableContentRef:n,...o}=e;const r=Object(Q.useViewportMatch)("medium"),c=Object(_.useSelect)(e=>e(S.a).getSettings().hasFixedToolbar,[]),s=Object(vr.__unstableUseShortcutEventMatch)(),{getSelectedBlockClientIds:d,getBlockRootClientId:b}=Object(_.useSelect)(S.a),{duplicateBlocks:p,removeBlocks:m,insertAfterBlock:f,insertBeforeBlock:h,clearSelectedBlock:g,moveBlocksUp:O,moveBlocksDown:v}=Object(_.useDispatch)(S.a);return Object(i.createElement)("div",Object(l.a)({},o,{onKeyDown:function(e){if(s("core/block-editor/move-up",e)){const t=d();if(t.length){e.preventDefault();const n=b(Object(a.first)(t));O(t,n)}}else if(s("core/block-editor/move-down",e)){const t=d();if(t.length){e.preventDefault();const n=b(Object(a.first)(t));v(t,n)}}else if(s("core/block-editor/duplicate",e)){const t=d();t.length&&(e.preventDefault(),p(t))}else if(s("core/block-editor/remove",e)){const t=d();t.length&&(e.preventDefault(),m(t))}else if(s("core/block-editor/insert-after",e)){const t=d();t.length&&(e.preventDefault(),f(Object(a.last)(t)))}else if(s("core/block-editor/insert-before",e)){const t=d();t.length&&(e.preventDefault(),h(Object(a.first)(t)))}else if(s("core/block-editor/delete-multi-selection",e)){const t=d();t.length>1&&(e.preventDefault(),m(t))}else if(s("core/block-editor/unselect",e)){d().length>1&&(e.preventDefault(),g(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges())}}}),Object(i.createElement)(jr.b,{__unstableContentRef:n},(c||!r)&&Object(i.createElement)(_r.a,{isFixed:!0}),Object(i.createElement)(kr.a,{__unstableContentRef:n}),Object(i.createElement)(u.Popover.Slot,{name:"block-toolbar",ref:Object(yr.a)(n)}),t,Object(i.createElement)(u.Popover.Slot,{name:"__unstable-block-tools-after",ref:Object(yr.a)(n)})))}var Cr=n("+0ps"),Sr=n("5L8O"),wr=n("KyyN"),Br=n("qrxh"),Ir=n("xZzQ");var xr=function(e){let{rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:c=!1,__experimentalInsertionIndex:l,__experimentalFilterValue:s,onSelect:u=a.noop,shouldFocusBlock:d=!1}=e;const b=Object(_.useSelect)(e=>{const{getBlockRootClientId:o}=e(S.a);return t||o(n)||void 0},[n,t]);return Object(i.createElement)(Ir.a,{onSelect:u,rootClientId:b,clientId:n,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:c,__experimentalInsertionIndex:l,__experimentalFilterValue:s,shouldFocusBlock:d})};function Tr(){return null}Tr.Register=function(){const{registerShortcut:e}=Object(_.useDispatch)(vr.store);return Object(i.useEffect)(()=>{e({name:"core/block-editor/duplicate",category:"block",description:Object(s.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(s.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(s.__)("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(s.__)("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(s.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(s.__)("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(s.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(s.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(s.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(s.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})},[e]),null};var Pr=Tr;function Rr(){return Xn()("wp.blockEditor.MultiSelectScrollIntoView",{hint:"This behaviour is now built-in."}),null}var Nr=n("GkEL");const Lr=new Set([L.UP,L.RIGHT,L.DOWN,L.LEFT,L.ENTER,L.BACKSPACE]);function Mr(){const e=Object(_.useSelect)(e=>e(S.a).isTyping(),[]),{stopTyping:t}=Object(_.useDispatch)(S.a);return Object(Q.useRefEffect)(n=>{if(!e)return;const{ownerDocument:o}=n;let r,c;function l(e){const{clientX:n,clientY:o}=e;r&&c&&(r!==n||c!==o)&&t(),r=n,c=o}return o.addEventListener("mousemove",l),()=>{o.removeEventListener("mousemove",l)}},[e,t])}function Ar(){const e=Object(_.useSelect)(e=>e(S.a).isTyping()),{startTyping:t,stopTyping:n}=Object(_.useDispatch)(S.a),o=Mr(),r=Object(Q.useRefEffect)(o=>{const{ownerDocument:r}=o,{defaultView:c}=r;if(e){let e;function l(t){const{target:o}=t;e=c.setTimeout(()=>{Object(dn.isTextField)(o)||n()})}function i(e){const{keyCode:t}=e;t!==L.ESCAPE&&t!==L.TAB||n()}function a(){const e=c.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||n()}return o.addEventListener("focus",l),o.addEventListener("keydown",i),r.addEventListener("selectionchange",a),()=>{c.clearTimeout(e),o.removeEventListener("focus",l),o.removeEventListener("keydown",i),r.removeEventListener("selectionchange",a)}}function s(e){const{type:n,target:r}=e;Object(dn.isTextField)(r)&&o.contains(r)&&("keydown"!==n||function(e){const{keyCode:t,shiftKey:n}=e;return!n&&Lr.has(t)}(e))&&t()}return o.addEventListener("keypress",s),o.addEventListener("keydown",s),()=>{o.removeEventListener("keypress",s),o.removeEventListener("keydown",s)}},[e,t,n]);return Object(Q.useMergeRefs)([o,r])}var Dr=function(e){let{children:t}=e;return Object(i.createElement)("div",{ref:Ar()},t)};function Fr(){return Xn()("PreserveScrollInReorder component",{since:"5.4",hint:"This behavior is now built-in the block list"}),null}const zr=-1!==window.navigator.userAgent.indexOf("Trident"),Hr=new Set([L.UP,L.DOWN,L.LEFT,L.RIGHT]);function Vr(){const e=Object(_.useSelect)(e=>e(S.a).hasSelectedBlock(),[]);return Object(Q.useRefEffect)(t=>{if(!e)return;const{ownerDocument:n}=t,{defaultView:o}=n;let r,c,l;function i(){r||(r=o.requestAnimationFrame(()=>{b(),r=null}))}function a(e){c&&o.cancelAnimationFrame(c),c=o.requestAnimationFrame(()=>{s(e),c=null})}function s(e){let{keyCode:r}=e;if(!p())return;const c=Object(dn.computeCaretRect)(o);if(!c)return;if(!l)return void(l=c);if(Hr.has(r))return void(l=c);const i=c.top-l.top;if(0===i)return;const a=Object(dn.getScrollContainer)(t);if(!a)return;const s=a===n.body,u=s?o.scrollY:a.scrollTop,d=s?0:a.getBoundingClientRect().top,b=s?l.top/o.innerHeight:(l.top-d)/(o.innerHeight-d);if(0===u&&b<.75&&function(){const e=t.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===n.activeElement}())return void(l=c);const m=s?o.innerHeight:a.clientHeight;l.top+l.height>d+m||l.top{o.removeEventListener("scroll",i,!0),o.removeEventListener("resize",i,!0),t.removeEventListener("keydown",a),t.removeEventListener("keyup",s),t.removeEventListener("mousedown",u),t.removeEventListener("touchstart",u),n.removeEventListener("selectionchange",d),o.cancelAnimationFrame(r),o.cancelAnimationFrame(c)}},[e])}var Gr=zr?e=>e.children:function(e){let{children:t}=e;return Object(i.createElement)("div",{ref:Vr(),className:"block-editor__typewriter"},t)},Ur=n("Zzu2"),Wr=n("TVFh");const qr=Object(a.overEvery)([dn.isTextField,dn.focus.tabbable.isTabbableIndex]);function Kr(){return Object(Q.useRefEffect)(e=>{function t(t){if(t.target!==e)return;const n=dn.focus.focusable.find(e),o=Object(a.findLast)(n,qr);if(!o)return;const{bottom:r}=o.getBoundingClientRect();t.clientY{e.addEventListener("mousedown",t)}},[])}var $r=n("hHnB");const Yr=Object(i.createContext)({});function Xr(e,t,n){const o={...e,[t]:e[t]?new Set(e[t]):new Set};return o[t].add(n),o}function Zr(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const o=Object(i.useContext)(Yr),{name:r}=Object(k.c)();n=n||r;const c=Boolean(null===(t=o[n])||void 0===t?void 0:t.has(e)),l=Object(i.useMemo)(()=>Xr(o,n,e),[o,n,e]),a=Object(i.useCallback)(e=>{let{children:t}=e;return Object(i.createElement)(Yr.Provider,{value:l},t)},[l]);return[c,a]}var Qr=n("/QNa")},"16Al":function(e,t,n){"use strict";var o=n("WbBG");function r(){}function c(){}c.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,c,l){if(l!==o){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:r};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1CF3":function(e,t){e.exports=window.wp.dom},"1K8p":function(e,t,n){"use strict";var o=n("jrfk"),r=n("ez49");function c(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}c.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=c},"1ZqX":function(e,t){e.exports=window.wp.data},"1eGn":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("l3Sj"),i=n("tI+e"),a=n("1ZqX"),s=n("VKE3"),u=n("HSyU"),d=n("hF7m"),b=n("K9lf"),p=n("+0ps"),m=n("BhPs");function f(e){let{clientIds:t,children:n,__experimentalUpdateSelection:o}=e;const{canInsertBlockType:r,getBlockRootClientId:l,getBlocksByClientId:i,canMoveBlocks:s,canRemoveBlocks:d}=Object(a.useSelect)(m.a),{getDefaultBlockName:b,getGroupingBlockName:f}=Object(a.useSelect)(u.store),h=i(t),g=l(t[0]),O=Object(c.every)(h,e=>!!e&&Object(u.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,g)),v=r(b(),g),j=s(t,g),k=d(t,g),{removeBlocks:_,replaceBlocks:y,duplicateBlocks:E,insertAfterBlock:C,insertBeforeBlock:S,flashBlock:w,setBlockMovingClientId:B,setNavigationMode:I,selectBlock:x}=Object(a.useDispatch)(m.a),T=Object(p.c)();return n({canDuplicate:O,canInsertDefaultBlock:v,canMove:j,canRemove:k,rootClientId:g,blocks:h,onDuplicate:()=>E(t,o),onRemove:()=>_(t,o),onInsertBefore(){S(Object(c.first)(Object(c.castArray)(t)))},onInsertAfter(){C(Object(c.last)(Object(c.castArray)(t)))},onMoveTo(){I(!0),x(t[0]),B(t[0])},onGroup(){if(!h.length)return;const e=f(),n=Object(u.switchToBlockType)(h,e);n&&y(t,n)},onUngroup(){if(!h.length)return;const e=h[0].innerBlocks;e.length&&y(t,e)},onCopy(){const e=h.map(e=>{let{clientId:t}=e;return t});1===h.length&&w(e[0]),T("copy",e)}})}var h=Object(b.compose)([Object(a.withSelect)((e,t)=>{let{clientId:n}=t;const{getBlock:o,getBlockMode:r,getSettings:c}=e(m.a),l=o(n),i=c().codeEditingEnabled;return{mode:r(n),blockType:l?Object(u.getBlockType)(l.name):null,isCodeEditingEnabled:i}}),Object(a.withDispatch)((e,t)=>{let{onToggle:n=c.noop,clientId:o}=t;return{onToggleMode(){e(m.a).toggleBlockMode(o),n()}}})])((function(e){let{blockType:t,mode:n,onToggleMode:o,small:c=!1,isCodeEditingEnabled:a=!0}=e;if(!Object(u.hasBlockSupport)(t,"html",!0)||!a)return null;const s="visual"===n?Object(l.__)("Edit as HTML"):Object(l.__)("Edit visually");return Object(r.createElement)(i.MenuItem,{onClick:o},!c&&s)}));var g=Object(b.compose)(Object(a.withSelect)((e,t)=>{let{clientId:n}=t;const o=e(m.a).getBlock(n);return{block:o,shouldRender:o&&"core/html"===o.name}}),Object(a.withDispatch)((e,t)=>{let{block:n}=t;return{onClick:()=>e(m.a).replaceBlocks(n.clientId,Object(u.rawHandler)({HTML:Object(u.getBlockContent)(n)}))}}))((function(e){let{shouldRender:t,onClick:n,small:o}=e;if(!t)return null;const c=Object(l.__)("Convert to Blocks");return Object(r.createElement)(i.MenuItem,{onClick:n},!o&&c)})),O=n("Jyyd"),v=n("pXCJ");const j={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};function k(e){let{blocks:t,onCopy:n}=e;const o=Object(b.useCopyToClipboard)(()=>Object(u.serialize)(t),n);return Object(r.createElement)(i.MenuItem,{ref:o},Object(l.__)("Copy"))}t.a=function(e){let{clientIds:t,__experimentalSelectBlock:n,children:b,...p}=e;const _=Object(c.castArray)(t),y=_.length,E=_[0],{onlyBlock:C,title:S}=Object(a.useSelect)(e=>{var t;const{getBlockCount:n,getBlockName:o}=e(m.a),{getBlockType:r}=e(u.store);return{onlyBlock:1===n(),title:null===(t=r(o(E)))||void 0===t?void 0:t.title}},[E]),w=Object(a.useSelect)(e=>{const{getShortcutRepresentation:t}=e(d.store);return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}},[]),B=Object(r.useCallback)(n?async e=>{const t=await e;t&&t[0]&&n(t[0])}:c.noop,[n]),I=Object(l.sprintf)(Object(l.__)("Remove %s"),S),x=1===y?I:Object(l.__)("Remove blocks");return Object(r.createElement)(f,{clientIds:t,__experimentalUpdateSelection:!n},e=>{let{canDuplicate:n,canInsertDefaultBlock:a,canMove:u,canRemove:d,onDuplicate:m,onInsertAfter:f,onInsertBefore:_,onRemove:S,onCopy:I,onMoveTo:T,blocks:P}=e;return Object(r.createElement)(i.DropdownMenu,Object(o.a)({icon:s.a,label:Object(l.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:j,noIcons:!0},p),e=>{let{onClose:o}=e;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.MenuGroup,null,Object(r.createElement)(O.a.Slot,{fillProps:{onClose:o}}),1===y&&Object(r.createElement)(g,{clientId:E}),Object(r.createElement)(k,{blocks:P,onCopy:I}),n&&Object(r.createElement)(i.MenuItem,{onClick:Object(c.flow)(o,m,B),shortcut:w.duplicate},Object(l.__)("Duplicate")),a&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.MenuItem,{onClick:Object(c.flow)(o,_),shortcut:w.insertBefore},Object(l.__)("Insert before")),Object(r.createElement)(i.MenuItem,{onClick:Object(c.flow)(o,f),shortcut:w.insertAfter},Object(l.__)("Insert after"))),u&&!C&&Object(r.createElement)(i.MenuItem,{onClick:Object(c.flow)(o,T)},Object(l.__)("Move to")),1===y&&Object(r.createElement)(h,{clientId:E,onToggle:o})),Object(r.createElement)(v.a.Slot,{fillProps:{onClose:o},clientIds:t}),"function"==typeof b?b({onClose:o}):r.Children.map(e=>Object(r.cloneElement)(e,{onClose:o})),d&&Object(r.createElement)(i.MenuGroup,null,Object(r.createElement)(i.MenuItem,{onClick:Object(c.flow)(o,S,B),shortcut:w.remove},x)))})})}},"1iEr":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=c},"1oY3":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("wx14"),r=n("GRId"),c=n("NtoT"),l=n("jwne");const i=c.a;i.Slot=l.a;const a=e=>Object(r.createElement)(c.a,Object(o.a)({},e,{__experimentalGroup:"advanced"}));a.Slot=e=>Object(r.createElement)(l.a,Object(o.a)({},e,{__experimentalGroup:"advanced"})),a.slotName="InspectorAdvancedControls",t.b=i},"1uGa":function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),l=n("RxS6");t.a=function(e){let{colorPalette:t,duotonePalette:n,disableCustomColors:i,disableCustomDuotone:a,value:s,onChange:u}=e;return Object(o.createElement)(r.Dropdown,{popoverProps:{className:"block-editor-duotone-control__popover",headerTitle:Object(c.__)("Duotone"),isAlternate:!0},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(o.createElement)(r.ToolbarButton,{showTooltip:!0,onClick:n,"aria-haspopup":"true","aria-expanded":t,onKeyDown:e=>{t||e.keyCode!==l.DOWN||(e.preventDefault(),n())},label:Object(c.__)("Apply duotone filter"),icon:Object(o.createElement)(r.DuotoneSwatch,{values:s})})},renderContent:()=>Object(o.createElement)(r.MenuGroup,{label:Object(c.__)("Duotone")},Object(o.createElement)("div",{className:"block-editor-duotone-control__description"},Object(c.__)("Create a two-tone color effect without losing your original image.")),Object(o.createElement)(r.DuotonePicker,{colorPalette:t,duotonePalette:n,disableCustomColors:i,disableCustomDuotone:a,value:s,onChange:u}))})}},"2YCo":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),l=n("bVTw"),i=n("Tqx9");var a=Object(o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},Object(o.createElement)(i.Path,{fillRule:"evenodd",d:"M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",clipRule:"evenodd"}));var s=Object(o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},Object(o.createElement)(i.Path,{fillRule:"evenodd",d:"M5.25 11.25h1.5v1.5h-1.5v-1.5zm3 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5zm1.5 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5z",clipRule:"evenodd"}));const u=[{label:Object(c.__)("Solid"),icon:l.a,value:"solid"},{label:Object(c.__)("Dashed"),icon:a,value:"dashed"},{label:Object(c.__)("Dotted"),icon:s,value:"dotted"}];function d(e){let{onChange:t,value:n}=e;return Object(o.createElement)("fieldset",{className:"components-border-style-control"},Object(o.createElement)("legend",null,Object(c.__)("Style")),Object(o.createElement)("div",{className:"components-border-style-control__buttons"},u.map(e=>Object(o.createElement)(r.Button,{key:e.value,icon:e.icon,isSmall:!0,isPressed:e.value===n,onClick:()=>t(e.value===n?void 0:e.value),"aria-label":e.label}))))}},"2gm7":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=c},"2z9l":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("K9lf");function r(e){return Object(o.useRefEffect)(t=>{if(!e)return;function n(t){const{deltaX:n,deltaY:o}=t;e.current.scrollBy(n,o)}const o={passive:!0};return t.addEventListener("wheel",n,o),()=>{t.removeEventListener("wheel",n,o)}},[e])}},"5L8O":function(e,t,n){"use strict";var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("l3Sj"),i=n("K9lf"),a=n("HSyU"),s=n("rmEH"),u=n("1ZqX"),d=n("qrxh"),b=n("BhPs");t.a=Object(i.compose)(Object(u.withSelect)((e,t)=>{const{getBlockCount:n,getBlockName:o,isBlockValid:r,getSettings:c,getTemplateLock:l}=e(b.a),i=!n(t.rootClientId),s=o(t.lastBlockClientId)===Object(a.getDefaultBlockName)(),u=r(t.lastBlockClientId),{bodyPlaceholder:d}=c();return{isVisible:i||!s||!u,showPrompt:i,isLocked:!!l(t.rootClientId),placeholder:d}}),Object(u.withDispatch)((e,t)=>{const{insertDefaultBlock:n,startTyping:o}=e(b.a);return{onAppend(){const{rootClientId:e}=t;n(void 0,e),o()}}}))((function(e){let{isLocked:t,isVisible:n,onAppend:r,showPrompt:i,placeholder:a,rootClientId:u}=e;if(t||!n)return null;const b=Object(s.decodeEntities)(a)||Object(l.__)("Type / to choose a block");return Object(o.createElement)("div",{"data-root-client-id":u||"",className:c()("block-editor-default-block-appender",{"has-visible-prompt":i})},Object(o.createElement)("p",{tabIndex:"0",contentEditable:!0,suppressContentEditableWarning:!0,role:"button","aria-label":Object(l.__)("Add block"),className:"block-editor-default-block-appender__content",onFocus:r},i?b:"\ufeff"),Object(o.createElement)(d.a,{rootClientId:u,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}))},"5gPN":function(e,t,n){"use strict";n.d(t,"b",(function(){return o.a})),n.d(t,"c",(function(){return o.b})),n.d(t,"d",(function(){return o.c})),n.d(t,"a",(function(){return p})),n.d(t,"e",(function(){return m}));var o=n("bVpQ"),r=n("wx14"),c=n("GRId"),l=n("YLtl"),i=n("K9lf"),a=n("v5LD");const s=[],u=e=>Object(i.createHigherOrderComponent)(t=>n=>Object(c.createElement)(t,Object(r.a)({},n,{colors:e})),"withCustomColorPalette"),d=()=>Object(i.createHigherOrderComponent)(e=>t=>{const n=Object(a.a)("color.palette")||s;return Object(c.createElement)(e,Object(r.a)({},t,{colors:n}))},"withEditorColorPalette");function b(e,t){const n=Object(l.reduce)(e,(e,t)=>({...e,...Object(l.isString)(t)?{[t]:Object(l.kebabCase)(t)}:t}),{});return Object(i.compose)([t,e=>class extends c.Component{constructor(e){super(e),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(e){const{colors:t}=this.props;return Object(o.d)(t,e)}createSetters(){return Object(l.reduce)(n,(e,t,n)=>{const o=Object(l.upperFirst)(n),r="custom"+o;return e["set"+o]=this.createSetColor(n,r),e},{})}createSetColor(e,t){return n=>{const r=Object(o.c)(this.props.colors,n);this.props.setAttributes({[e]:r&&r.slug?r.slug:void 0,[t]:r&&r.slug?void 0:n})}}static getDerivedStateFromProps(e,t){let{attributes:r,colors:c}=e;return Object(l.reduce)(n,(e,n,i)=>{const a=Object(o.b)(c,r[i],r["custom"+Object(l.upperFirst)(i)]),s=t[i];return(null==s?void 0:s.color)===a.color&&s?e[i]=s:e[i]={...a,class:Object(o.a)(n,a.slug)},e},{})}render(){return Object(c.createElement)(e,Object(r.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}])}function p(e){return function(){const t=u(e);for(var n=arguments.length,o=new Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:window;const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}var p=Object(o.memo)((function(e){let{className:t,isFirst:n,item:l,onSelect:p,onHover:m,isDraggable:f,...h}=e;const g=Object(o.useRef)(!1),O=l.icon?{backgroundColor:l.icon.background,color:l.icon.foreground}:{},v=Object(o.useMemo)(()=>[Object(r.createBlock)(l.name,l.initialAttributes,Object(r.createBlocksFromInnerBlocksTemplate)(l.innerBlocks))],[l.name,l.initialAttributes,l.initialAttributes]);return Object(o.createElement)(d.a,{isEnabled:f&&!l.disabled,blocks:v,icon:l.icon},e=>{let{draggable:r,onDragStart:d,onDragEnd:f}=e;return Object(o.createElement)("div",{className:"block-editor-block-types-list__list-item",draggable:r,onDragStart:e=>{g.current=!0,d&&(m(null),d(e))},onDragEnd:e=>{g.current=!1,f&&f(e)}},Object(o.createElement)(u.a,Object(c.a)({isFirst:n,className:i()("block-editor-block-types-list__item",t),disabled:l.isDisabled,onClick:e=>{e.preventDefault(),p(l,b()?e.metaKey:e.ctrlKey),m(null)},onKeyDown:e=>{const{keyCode:t}=e;t===a.ENTER&&(e.preventDefault(),p(l,b()?e.metaKey:e.ctrlKey),m(null))},onFocus:()=>{g.current||m(l)},onMouseEnter:()=>{g.current||m(l)},onMouseLeave:()=>m(null),onBlur:()=>m(null)},h),Object(o.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:O},Object(o.createElement)(s.a,{icon:l.icon,showColors:!0})),Object(o.createElement)("span",{className:"block-editor-block-types-list__item-title"},l.title)))})})),m=n("xkPd"),f=n("HC45");t.a=function(e){let{items:t=[],onSelect:n,onHover:c=(()=>{}),children:l,label:i,isDraggable:a=!0}=e;return Object(o.createElement)(m.a,{className:"block-editor-block-types-list","aria-label":i},function(e,t){const n=[];for(let o=0,r=e.length;oObject(o.createElement)(f.a,{key:t},e.map((e,l)=>Object(o.createElement)(p,{key:e.id,item:e,className:Object(r.getBlockMenuDefaultClassName)(e.id),onSelect:n,onHover:c,isDraggable:a,isFirst:0===t&&0===l})))),l)}},"6c9H":function(e,t,n){"use strict";var o=n("GRId"),r=n("fHnH"),c=n("abaT"),l=n("7bKH"),i=n("gdqT"),a=n("l3Sj"),s=n("tI+e");function u(e){let{colordBackgroundColor:t,colordTextColor:n,backgroundColor:r,textColor:c}=e;const l=t.brightness(){Object(i.speak)(Object(a.__)("This color combination may be hard for people to read."))},[r,c]),Object(o.createElement)("div",{className:"block-editor-contrast-checker"},Object(o.createElement)(s.Notice,{spokenMessage:null,status:"warning",isDismissible:!1},l))}Object(r.b)([c.a,l.a]),t.a=function(e){let{backgroundColor:t,fallbackBackgroundColor:n,fallbackTextColor:c,fontSize:l,isLargeText:i,textColor:a}=e;if(!t&&!n||!a&&!c)return null;const s=Object(r.a)(t||n),d=Object(r.a)(a||c);return 1!==s.alpha()||1!==d.alpha()||d.isReadable(s,{level:"AA",size:i||!1!==i&&l>=24?"large":"small"})?null:Object(o.createElement)(u,{backgroundColor:t,textColor:a,colordBackgroundColor:s,colordTextColor:d})}},"6jxZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("K9lf"),c=n("OL6h"),l=n("BhPs");function i(e){const{isBlockSelected:t}=Object(o.useSelect)(l.a),{selectBlock:n,selectionChange:i}=Object(o.useDispatch)(l.a);return Object(r.useRefEffect)(o=>{function r(r){t(e)?r.target.isContentEditable||i(e):Object(c.c)(o,r.target)&&n(e)}return o.addEventListener("focusin",r),()=>{o.removeEventListener("focusin",r)}},[t,n])}},"715p":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("YLtl");const r=e=>{if(!Object(o.isObject)(e)||Array.isArray(e))return e;const t=Object(o.pickBy)(Object(o.mapValues)(e,r),o.identity);return Object(o.isEmpty)(t)?void 0:t}},"7NR9":function(e,t,n){"use strict";var o=n("GRId"),r=n("YLtl"),c=n("TSYQ"),l=n.n(c),i=n("1ZqX"),a=n("RxS6"),s=n("l3Sj"),u=n("HSyU"),d=n("BLeD"),b=n.n(d);var p=n("REKd"),m=n("BhPs");const f={};function h(e){let{genericPreviewBlock:t,viewportWidth:n,style:r,isActive:c,onBlur:i,onHover:s,onSelect:u,styleClassName:d,itemRole:b}=e;const m=Object(o.useMemo)(()=>({...t,attributes:{...t.attributes,className:d}}),[t,d]);return Object(o.createElement)("div",{key:r.name,className:l()("block-editor-block-styles__item",{"is-active":c}),onClick:()=>u(),onKeyDown:e=>{a.ENTER!==e.keyCode&&a.SPACE!==e.keyCode||(e.preventDefault(),u())},onMouseEnter:s,onMouseLeave:i,role:b||"button",tabIndex:"0","aria-label":r.label||r.name},Object(o.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(o.createElement)(p.a,{viewportWidth:n,blocks:m})),Object(o.createElement)("div",{className:"block-editor-block-styles__item-label"},r.label||r.name))}t.a=function(e){let{clientId:t,onSwitch:n=r.noop,onHoverClassName:c=r.noop,itemRole:l}=e;const{styles:a,block:d,type:p,className:g}=Object(i.useSelect)(e=>{const{getBlock:n}=e(m.a),o=n(t);if(!o)return f;const r=Object(u.getBlockType)(o.name),{getBlockStyles:c}=e(u.store);return{block:o,type:r,styles:c(o.name),className:o.attributes.className||""}},[t]),{updateBlockAttributes:O}=Object(i.useDispatch)(m.a),v=function(e,t){return Object(o.useMemo)(()=>{const n=null==t?void 0:t.example,o=null==t?void 0:t.name;return n&&o?Object(u.getBlockFromExample)(o,{attributes:n.attributes,innerBlocks:n.innerBlocks}):e?Object(u.cloneBlock)(e):void 0},[null!=t&&t.example?null==e?void 0:e.name:e,t])}(d,p);if(!a||0===a.length)return null;const j=Object(r.find)(a,"isDefault")?a:[{name:"default",label:Object(s._x)("Default","block style"),isDefault:!0},...a],k=function(e,t){for(const n of new b.a(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=Object(r.find)(e,{name:t});if(o)return o}return Object(r.find)(e,"isDefault")}(j,g);return Object(o.createElement)("div",{className:"block-editor-block-styles"},j.map(e=>{var r,i;const a=function(e,t,n){const o=new b.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}(g,k,e);return Object(o.createElement)(h,{genericPreviewBlock:v,viewportWidth:null!==(r=null===(i=p.example)||void 0===i?void 0:i.viewportWidth)&&void 0!==r?r:500,className:g,isActive:k===e,key:e.name,onSelect:()=>{O(t,{className:a}),c(null),n()},onBlur:()=>c(null),onHover:()=>c(a),style:e,styleClassName:a,itemRole:l})}))}},"7SSY":function(e,t,n){"use strict";var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("tI+e"),i=n("//Lo");t.a=Object(o.memo)((function(e){var t;let{icon:n,showColors:r=!1,className:a}=e;"block-default"===(null===(t=n)||void 0===t?void 0:t.src)&&(n={src:i.a});const s=Object(o.createElement)(l.Icon,{icon:n&&n.src?n.src:n}),u=r?{backgroundColor:n&&n.background,color:n&&n.foreground}:{};return Object(o.createElement)("span",{style:u,className:c()("block-editor-block-icon",a,{"has-colors":r})},s)}))},"7bKH":function(e,t,n){"use strict";var o=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},r=function(e){return.2126*o(e.r)+.7152*o(e.g)+.0722*o(e.b)};t.a=function(e){e.prototype.luminance=function(){return e=r(this.rgba),void 0===(t=2)&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0;var e,t,n},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var n,o,c,l,i,a,s,u=t instanceof e?t:new e(t);return l=this.rgba,i=u.toRgb(),n=(a=r(l))>(s=r(i))?(a+.05)/(s+.05):(s+.05)/(a+.05),void 0===(o=2)&&(o=0),void 0===c&&(c=Math.pow(10,o)),Math.floor(c*n)/c+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(l=void 0===(c=(n=t).size)?"normal":c,"AAA"===(r=void 0===(o=n.level)?"AA":o)&&"normal"===l?7:"AA"===r&&"large"===l?3:4.5);var n,o,r,c,l}}},"7fqt":function(e,t){e.exports=window.wp.wordcount},"8oxB":function(e,t){var n,o,r=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===c||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:c}catch(e){n=c}try{o="function"==typeof clearTimeout?clearTimeout:l}catch(e){o=l}}();var a,s=[],u=!1,d=-1;function b(){u&&a&&(u=!1,a.length?s=a.concat(s):d=-1,s.length&&p())}function p(){if(!u){var e=i(b);u=!0;for(var t=s.length;t;){for(a=s,s=[];++d1)for(var n=1;n"up"===e?"horizontal"===l?Object(b.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===l?Object(b.isRTL)()?"left":"right":"down":null;if(e>1)return function(e,t,n,o,r){const c=t+1;if(r<0&&n)return Object(b.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(b.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(b.sprintf)(Object(b._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(r>0&&!o)return Object(b.sprintf)(Object(b._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,o,r,c);if(o&&r)return Object(b.sprintf)(Object(b.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!r){const e=a("down");if("down"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d down to position %3$d"),t,i,i+1);if("left"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d left to position %3$d"),t,i,i+1);if("right"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d right to position %3$d"),t,i,i+1)}if(c>0&&r){const e=a("down");if("down"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(c<0&&!o){const e=a("up");if("up"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d up to position %3$d"),t,i,i-1);if("left"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d left to position %3$d"),t,i,i-1);if("right"===e)return Object(b.sprintf)(Object(b.__)("Move %1$s block from position %2$d right to position %3$d"),t,i,i-1)}if(c<0&&o){const e=a("up");if("up"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===e)return Object(b.sprintf)(Object(b.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var O=n("BhPs");const v=(e,t)=>"up"===e?"horizontal"===t?Object(b.isRTL)()?p.a:m.a:f.a:"down"===e?"horizontal"===t?Object(b.isRTL)()?m.a:p.a:h.a:null,j=(e,t)=>"up"===e?"horizontal"===t?Object(b.isRTL)()?Object(b.__)("Move right"):Object(b.__)("Move left"):Object(b.__)("Move up"):"down"===e?"horizontal"===t?Object(b.isRTL)()?Object(b.__)("Move left"):Object(b.__)("Move right"):Object(b.__)("Move down"):null,k=Object(r.forwardRef)((e,t)=>{let{clientIds:n,direction:c,orientation:b,...p}=e;const m=Object(u.useInstanceId)(k),f=Object(i.castArray)(n).length,{blockType:h,isDisabled:_,rootClientId:y,isFirst:E,isLast:C,firstIndex:S,orientation:w="vertical"}=Object(d.useSelect)(e=>{const{getBlockIndex:t,getBlockRootClientId:o,getBlockOrder:r,getBlock:l,getBlockListSettings:s}=e(O.a),u=Object(i.castArray)(n),d=Object(i.first)(u),p=o(d),m=t(d,p),f=t(Object(i.last)(u),p),h=r(p),g=l(d),v=0===m,j=f===h.length-1,{orientation:k}=s(p)||{};return{blockType:g?Object(a.getBlockType)(g.name):null,isDisabled:"up"===c?v:j,rootClientId:p,firstIndex:m,isFirst:v,isLast:j,orientation:b||k}},[n,c]),{moveBlocksDown:B,moveBlocksUp:I}=Object(d.useDispatch)(O.a),x="up"===c?I:B,T="block-editor-block-mover-button__description-"+m;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.Button,Object(o.a)({ref:t,className:l()("block-editor-block-mover-button",`is-${c}-button`),icon:v(c,w),label:j(c,w),"aria-describedby":T},p,{onClick:_?null:e=>{x(n,y),p.onClick&&p.onClick(e)},"aria-disabled":_})),Object(r.createElement)("span",{id:T,className:"block-editor-block-mover-button__description"},g(f,h&&h.title,S,E,C,"up"===c?-1:1,w)))}),_=Object(r.forwardRef)((e,t)=>Object(r.createElement)(k,Object(o.a)({direction:"up",ref:t},e))),y=Object(r.forwardRef)((e,t)=>Object(r.createElement)(k,Object(o.a)({direction:"down",ref:t},e)))},"9XVa":function(e,t,n){"use strict";n.d(t,"b",(function(){return o.a})),n.d(t,"c",(function(){return o.b})),n.d(t,"d",(function(){return o.c})),n.d(t,"a",(function(){return r.a})),n.d(t,"e",(function(){return d}));var o=n("NMUH"),r=n("QP/w"),c=n("wx14"),l=n("GRId"),i=n("YLtl"),a=n("K9lf"),s=n("v5LD");const u=[];var d=function(){for(var e=arguments.length,t=new Array(e),n=0;n(e[t]="custom"+Object(i.upperFirst)(t),e),{});return Object(a.createHigherOrderComponent)(Object(a.compose)([Object(a.createHigherOrderComponent)(e=>t=>{const n=Object(s.a)("typography.fontSizes")||u;return Object(l.createElement)(e,Object(c.a)({},t,{fontSizes:n}))},"withFontSizes"),e=>class extends l.Component{constructor(e){super(e),this.setters=this.createSetters(),this.state={}}createSetters(){return Object(i.reduce)(r,(e,t,n)=>(e["set"+Object(i.upperFirst)(n)]=this.createSetFontSize(n,t),e),{})}createSetFontSize(e,t){return n=>{const o=Object(i.find)(this.props.fontSizes,{size:Number(n)});this.props.setAttributes({[e]:o&&o.slug?o.slug:void 0,[t]:o&&o.slug?void 0:n})}}static getDerivedStateFromProps(e,t){let{attributes:n,fontSizes:c}=e;const l=(e,o)=>!t[o]||(n[o]?n[o]!==t[o].slug:t[o].size!==n[e]);if(!Object(i.some)(r,l))return null;const a=Object(i.reduce)(Object(i.pickBy)(r,l),(e,t,r)=>{const l=n[r],i=Object(o.a)(c,l,n[t]);return e[r]={...i,class:Object(o.b)(l)},e},{});return{...t,...a}}render(){return Object(l.createElement)(e,Object(c.a)({},this.props,{fontSizes:void 0},this.state,this.setters))}}]),"withFontSizes")}},AHN3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o="core/block-editor"},AORF:function(e,t,n){"use strict";var o=n("YLtl"),r=n("1ZqX"),c=n("HSyU"),l=n("l3Sj"),i=n("gdqT"),a=n("GRId"),s=n("BhPs");t.a=function(e){let{rootClientId:t="",insertionIndex:n,clientId:u,isAppender:d,onSelect:b,shouldFocusBlock:p=!0}=e;const{getSelectedBlock:m}=Object(r.useSelect)(s.a),{destinationRootClientId:f,destinationIndex:h}=Object(r.useSelect)(e=>{const{getSelectedBlockClientId:o,getBlockRootClientId:r,getBlockIndex:c,getBlockOrder:l}=e(s.a),i=o();let a,b=t;return void 0!==n?a=n:u?a=c(u,b):!d&&i?(b=r(i),a=c(i,b)+1):a=l(b).length,{destinationRootClientId:b,destinationIndex:a}},[t,n,u,d]),{replaceBlocks:g,insertBlocks:O,showInsertionPoint:v,hideInsertionPoint:j}=Object(r.useDispatch)(s.a),k=Object(a.useCallback)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=m();!d&&r&&Object(c.isUnmodifiedDefaultBlock)(r)?g(r.clientId,e,null,p||n?0:null,t):O(e,h,f,!0,p||n?0:null,t);const a=Object(l.sprintf)(Object(l._n)("%d block added.","%d blocks added.",Object(o.castArray)(e).length),Object(o.castArray)(e).length);Object(i.speak)(a),b&&b()}),[d,m,g,O,f,h,b,p]),_=Object(a.useCallback)(e=>{e?v(f,h):j()},[v,j,f,h]);return[f,k,_]}},B9Az:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");var c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=c},BCrt:function(e,t,n){"use strict";n.d(t,"c",(function(){return o.a})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return i.a})),n.d(t,"b",(function(){return g}));var o=n("vSu0"),r=n("lJLt");function c(e){if(void 0===e)e=r.b.colors;else{const t=e.filter(e=>e.color);0===t.length?e=r.b.colors:t.lengthe.gradient);0===t.length?e=r.b.gradients:t.lengtha(m(e,t)).value).filter(Boolean);switch(n[0]){case"min":return Math.min(...o)+"px";case"max":return Math.max(...o)+"px";case"clamp":return 3!==o.length?null:o[1]o[2]?o[2]+"px":o[1]+"px";case"calc":return o[0]+"px"}}function u(e){for(;;){const t=e,n=/(max|min|calc|clamp)\(([^()]*)\)/g.exec(e)||[];if(n[0]){const t=s(n[0]);e=e.replace(n[0],t)}if(e===t||parseFloat(e))break}return a(e)}function d(e){for(let t=0;tn.height?n.width:n.height),"%":.01*("font"===n.type?n.fontSize:n.width),ch:8,ex:7.15625,lh:n.lineHeight},r={in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,px:1,Q:96/2.54/40};return o[e.unit]?(o[e.unit]*e.value).toFixed(0)+"px":r[e.unit]?(r[e.unit]*e.value).toFixed(0)+"px":null}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isFinite(e))return e.toFixed(0)+"px";if(void 0===e)return null;let n=a(e);return n.unit||(n=u(e)),d(e)&&!n.unit?b(e):p(n,t)}const f={};function h(e){let t="";return e.hasOwnProperty("fontSize")&&(t=":"+e.width),e.hasOwnProperty("lineHeight")&&(t=":"+e.lineHeight),e.hasOwnProperty("width")&&(t=":"+e.width),e.hasOwnProperty("height")&&(t=":"+e.height),e.hasOwnProperty("type")&&(t=":"+e.type),t}var g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e+h(t);return f[n]||(f[n]=m(e,t)),f[n]}},BLeD:function(e,t){e.exports=window.wp.tokenList},BhPs:function(e,t,n){"use strict";n.d(t,"b",(function(){return En})),n.d(t,"a",(function(){return Cn}));var o={};n.r(o),n.d(o,"getBlockName",(function(){return S})),n.d(o,"isBlockValid",(function(){return w})),n.d(o,"getBlockAttributes",(function(){return B})),n.d(o,"getBlock",(function(){return I})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return x})),n.d(o,"getBlocks",(function(){return T})),n.d(o,"__unstableGetClientIdWithClientIdsTree",(function(){return P})),n.d(o,"__unstableGetClientIdsTree",(function(){return R})),n.d(o,"getClientIdsOfDescendants",(function(){return N})),n.d(o,"getClientIdsWithDescendants",(function(){return L})),n.d(o,"getGlobalBlockCount",(function(){return M})),n.d(o,"getBlocksByClientId",(function(){return A})),n.d(o,"getBlockCount",(function(){return D})),n.d(o,"getSelectionStart",(function(){return F})),n.d(o,"getSelectionEnd",(function(){return z})),n.d(o,"getBlockSelectionStart",(function(){return H})),n.d(o,"getBlockSelectionEnd",(function(){return V})),n.d(o,"getSelectedBlockCount",(function(){return G})),n.d(o,"hasSelectedBlock",(function(){return U})),n.d(o,"getSelectedBlockClientId",(function(){return W})),n.d(o,"getSelectedBlock",(function(){return q})),n.d(o,"getBlockRootClientId",(function(){return K})),n.d(o,"getBlockParents",(function(){return $})),n.d(o,"getBlockParentsByBlockName",(function(){return Y})),n.d(o,"getBlockHierarchyRootClientId",(function(){return X})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Z})),n.d(o,"getAdjacentBlockClientId",(function(){return Q})),n.d(o,"getPreviousBlockClientId",(function(){return J})),n.d(o,"getNextBlockClientId",(function(){return ee})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return te})),n.d(o,"getSelectedBlockClientIds",(function(){return ne})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return oe})),n.d(o,"getMultiSelectedBlocks",(function(){return re})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return ce})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return le})),n.d(o,"isFirstMultiSelectedBlock",(function(){return ie})),n.d(o,"isBlockMultiSelected",(function(){return ae})),n.d(o,"isAncestorMultiSelected",(function(){return se})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return ue})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return de})),n.d(o,"getBlockOrder",(function(){return be})),n.d(o,"getBlockIndex",(function(){return pe})),n.d(o,"isBlockSelected",(function(){return me})),n.d(o,"hasSelectedInnerBlock",(function(){return fe})),n.d(o,"isBlockWithinSelection",(function(){return he})),n.d(o,"hasMultiSelection",(function(){return ge})),n.d(o,"isMultiSelecting",(function(){return Oe})),n.d(o,"isSelectionEnabled",(function(){return ve})),n.d(o,"getBlockMode",(function(){return je})),n.d(o,"isTyping",(function(){return ke})),n.d(o,"isDraggingBlocks",(function(){return _e})),n.d(o,"getDraggedBlockClientIds",(function(){return ye})),n.d(o,"isBlockBeingDragged",(function(){return Ee})),n.d(o,"isAncestorBeingDragged",(function(){return Ce})),n.d(o,"isCaretWithinFormattedText",(function(){return Se})),n.d(o,"getBlockInsertionPoint",(function(){return we})),n.d(o,"isBlockInsertionPointVisible",(function(){return Be})),n.d(o,"isValidTemplate",(function(){return Ie})),n.d(o,"getTemplate",(function(){return xe})),n.d(o,"getTemplateLock",(function(){return Te})),n.d(o,"canInsertBlockType",(function(){return Ne})),n.d(o,"canInsertBlocks",(function(){return Le})),n.d(o,"canRemoveBlock",(function(){return Me})),n.d(o,"canRemoveBlocks",(function(){return Ae})),n.d(o,"canMoveBlock",(function(){return De})),n.d(o,"canMoveBlocks",(function(){return Fe})),n.d(o,"getInserterItems",(function(){return We})),n.d(o,"getBlockTransformItems",(function(){return qe})),n.d(o,"hasInserterItems",(function(){return Ke})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return $e})),n.d(o,"__experimentalGetDirectInsertBlock",(function(){return Ye})),n.d(o,"__experimentalGetParsedPattern",(function(){return Xe})),n.d(o,"__experimentalGetAllowedPatterns",(function(){return Qe})),n.d(o,"__experimentalGetPatternsByBlockTypes",(function(){return Je})),n.d(o,"__experimentalGetPatternTransformItems",(function(){return et})),n.d(o,"getBlockListSettings",(function(){return tt})),n.d(o,"getSettings",(function(){return nt})),n.d(o,"isLastBlockChangePersistent",(function(){return ot})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return rt})),n.d(o,"__experimentalGetReusableBlockTitle",(function(){return ct})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return lt})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return it})),n.d(o,"isNavigationMode",(function(){return st})),n.d(o,"hasBlockMovingClientId",(function(){return ut})),n.d(o,"didAutomaticChange",(function(){return dt})),n.d(o,"isBlockHighlighted",(function(){return bt})),n.d(o,"areInnerBlocksControlled",(function(){return pt})),n.d(o,"__experimentalGetActiveBlockIdByBlockNames",(function(){return mt})),n.d(o,"wasBlockJustInserted",(function(){return ft}));var r={};n.r(r),n.d(r,"resetBlocks",(function(){return kt})),n.d(r,"validateBlocksToTemplate",(function(){return _t})),n.d(r,"resetSelection",(function(){return yt})),n.d(r,"receiveBlocks",(function(){return Et})),n.d(r,"updateBlockAttributes",(function(){return Ct})),n.d(r,"updateBlock",(function(){return St})),n.d(r,"selectBlock",(function(){return wt})),n.d(r,"selectPreviousBlock",(function(){return Bt})),n.d(r,"selectNextBlock",(function(){return It})),n.d(r,"startMultiSelect",(function(){return xt})),n.d(r,"stopMultiSelect",(function(){return Tt})),n.d(r,"multiSelect",(function(){return Pt})),n.d(r,"clearSelectedBlock",(function(){return Rt})),n.d(r,"toggleSelection",(function(){return Nt})),n.d(r,"replaceBlocks",(function(){return Mt})),n.d(r,"replaceBlock",(function(){return At})),n.d(r,"moveBlocksDown",(function(){return Ft})),n.d(r,"moveBlocksUp",(function(){return zt})),n.d(r,"moveBlocksToPosition",(function(){return Ht})),n.d(r,"moveBlockToPosition",(function(){return Vt})),n.d(r,"insertBlock",(function(){return Gt})),n.d(r,"insertBlocks",(function(){return Ut})),n.d(r,"showInsertionPoint",(function(){return Wt})),n.d(r,"hideInsertionPoint",(function(){return qt})),n.d(r,"setTemplateValidity",(function(){return Kt})),n.d(r,"synchronizeTemplate",(function(){return $t})),n.d(r,"mergeBlocks",(function(){return Yt})),n.d(r,"removeBlocks",(function(){return Xt})),n.d(r,"removeBlock",(function(){return Zt})),n.d(r,"replaceInnerBlocks",(function(){return Qt})),n.d(r,"toggleBlockMode",(function(){return Jt})),n.d(r,"startTyping",(function(){return en})),n.d(r,"stopTyping",(function(){return tn})),n.d(r,"startDraggingBlocks",(function(){return nn})),n.d(r,"stopDraggingBlocks",(function(){return on})),n.d(r,"enterFormattedText",(function(){return rn})),n.d(r,"exitFormattedText",(function(){return cn})),n.d(r,"selectionChange",(function(){return ln})),n.d(r,"insertDefaultBlock",(function(){return an})),n.d(r,"updateBlockListSettings",(function(){return sn})),n.d(r,"updateSettings",(function(){return un})),n.d(r,"__unstableSaveReusableBlock",(function(){return dn})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return bn})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return pn})),n.d(r,"__unstableMarkAutomaticChange",(function(){return mn})),n.d(r,"setNavigationMode",(function(){return fn})),n.d(r,"setBlockMovingClientId",(function(){return hn})),n.d(r,"duplicateBlocks",(function(){return gn})),n.d(r,"insertBeforeBlock",(function(){return On})),n.d(r,"insertAfterBlock",(function(){return vn})),n.d(r,"toggleBlockHighlight",(function(){return jn})),n.d(r,"flashBlock",(function(){return kn})),n.d(r,"setHasControlledInnerBlocks",(function(){return _n}));var c=n("1ZqX"),l=n("YLtl"),i=n("HSyU"),a=n("lJLt");function s(e,t,n){return[...e.slice(0,n),...Object(l.castArray)(t),...e.slice(n)]}function u(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const r=[...e];return r.splice(t,o),s(r,e.slice(t,t+o),n)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n={[t]:[]};return e.forEach(e=>{const{clientId:o,innerBlocks:r}=e;n[t].push(o),Object.assign(n,d(r,o))}),n}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((e,n)=>Object.assign(e,{[n.clientId]:t},b(n.innerBlocks,n.clientId)),{})}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.identity;const n={},o=[...e];for(;o.length;){const{innerBlocks:e,...r}=o.shift();o.push(...e),n[r.clientId]=t(r)}return n}function m(e){return p(e,e=>Object(l.omit)(e,"attributes"))}function f(e){return p(e,e=>e.attributes)}function h(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(l.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,o=t.attributes,Object(l.isEqual)(Object(l.keys)(n),Object(l.keys)(o)));var n,o}function g(e,t){const n={},o=[...t],r=[...t];for(;o.length;){const e=o.shift();o.push(...e.innerBlocks),r.push(...e.innerBlocks)}for(const e of r)n[e.clientId]={};for(const t of r)n[t.clientId]=Object.assign(n[t.clientId],{...e.byClientId[t.clientId],attributes:e.attributes[t.clientId],innerBlocks:t.innerBlocks.map(e=>n[e.clientId])});return n}function O(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r=new Set([]),c=new Set;for(const t of n){let n=o?t:e.parents[t];do{if(e.controlledInnerBlocks[n]){c.add(n);break}r.add(n),n=e.parents[n]}while(void 0!==n)}for(const e of r)t[e]={...t[e]};for(const n of r)t[n].innerBlocks=(e.order[n]||[]).map(e=>t[e]);for(const n of c)t["controlled||"+n]={innerBlocks:(e.order[n]||[]).map(e=>t[e])};return t}const v=Object(l.flow)(c.combineReducers,e=>(t,n)=>{if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){const{id:e,updatedId:o}=n;if(e===o)return t;(t={...t}).attributes=Object(l.mapValues)(t.attributes,(n,r)=>{const{name:c}=t.byClientId[r];return"core/block"===c&&n.ref===e?{...n,ref:o}:n})}return e(t,n)},e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;const o=e(t,n);if(o===t)return t;switch(o.tree=t.tree?t.tree:{},n.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const e=g(o,n.blocks);o.tree=O(o,{...o.tree,...e},n.rootClientId?[n.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":o.tree=O(o,{...o.tree,[n.clientId]:{...o.tree[n.clientId],...o.byClientId[n.clientId],attributes:o.attributes[n.clientId]}},[n.clientId],!1);break;case"UPDATE_BLOCK_ATTRIBUTES":{const e=n.clientIds.reduce((e,t)=>(e[t]={...o.tree[t],attributes:o.attributes[t]},e),{});o.tree=O(o,{...o.tree,...e},n.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const e=g(o,n.blocks);o.tree=O(o,{...Object(l.omit)(o.tree,n.replacedClientIds.concat(n.replacedClientIds.map(e=>"controlled||"+e))),...e},n.blocks.map(e=>e.clientId),!1);const r=[];for(const e of n.clientIds)void 0===t.parents[e]||""!==t.parents[e]&&!o.byClientId[t.parents[e]]||r.push(t.parents[e]);o.tree=O(o,o.tree,r,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":const e=[];for(const r of n.clientIds)void 0===t.parents[r]||""!==t.parents[r]&&!o.byClientId[t.parents[r]]||e.push(t.parents[r]);o.tree=O(o,Object(l.omit)(o.tree,n.removedClientIds.concat(n.removedClientIds.map(e=>"controlled||"+e))),e,!0);break;case"MOVE_BLOCKS_TO_POSITION":{const e=[];n.fromRootClientId&&e.push(n.fromRootClientId),n.toRootClientId&&e.push(n.toRootClientId),n.fromRootClientId&&n.fromRootClientId||e.push(""),o.tree=O(o,o.tree,e,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{const e=[n.rootClientId?n.rootClientId:""];o.tree=O(o,o.tree,e,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{const e=Object(l.keys)(Object(l.omitBy)(o.attributes,(e,t)=>"core/block"!==o.byClientId[t].name||e.ref!==n.updatedId));o.tree=O(o,{...o.tree,...e.reduce((e,t)=>(e[t]={...o.byClientId[t],attributes:o.attributes[t],innerBlocks:o.tree[t].innerBlocks},e),{})},e,!1)}}return o},e=>(t,n)=>{const o=e=>{let o=e;for(let r=0;r(t,n)=>{if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);const o={};if(Object.keys(t.controlledInnerBlocks).length){const e=[...n.blocks];for(;e.length;){const{innerBlocks:n,...r}=e.shift();e.push(...n),t.controlledInnerBlocks[r.clientId]&&(o[r.clientId]=!0)}}let r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:o,clientIds:t.order[n.rootClientId]}));let c=r;return n.blocks.length&&(c=e(c,{...n,type:"INSERT_BLOCKS",index:0}),c.order={...c.order,...Object(l.reduce)(o,(e,n,o)=>(t.order[o]&&(e[o]=t.order[o]),e),{})}),c},e=>(t,n)=>{if("RESET_BLOCKS"===n.type){var o,r,c;const e=function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(l.reduce)(t[n],(n,r)=>o[r]?n:[...n,r,...e(t,r)],[])}(null!==(o=null==t?void 0:t.order)&&void 0!==o?o:{},"",null!==(r=null==t?void 0:t.controlledInnerBlocks)&&void 0!==r?r:{}),i=Object.keys(Object(l.pickBy)(null!==(c=null==t?void 0:t.controlledInnerBlocks)&&void 0!==c?c:{})),a={...t,byClientId:{...Object(l.omit)(null==t?void 0:t.byClientId,e),...m(n.blocks)},attributes:{...Object(l.omit)(null==t?void 0:t.attributes,e),...f(n.blocks)},order:{...Object(l.omit)(null==t?void 0:t.order,e),...Object(l.omit)(d(n.blocks),i)},parents:{...Object(l.omit)(null==t?void 0:t.parents,e),...b(n.blocks)},controlledInnerBlocks:(null==t?void 0:t.controlledInnerBlocks)||{}},s=g(a,n.blocks);return a.tree={...Object(l.omit)(null==t?void 0:t.tree,e),...s,"":{innerBlocks:n.blocks.map(e=>s[e.clientId])}},a}return e(t,n)},(function(e){let t,n=!1;return(o,r)=>{let c=e(o,r);const l="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type||n;if(o===c&&!l){var i;n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type;const e=null===(i=null==o?void 0:o.isPersistentChange)||void 0===i||i;return o.isPersistentChange===e?o:{...c,isPersistentChange:e}}return c={...c,isPersistentChange:l?!n:!h(r,t)},t=r,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type,c}}),(function(e){const t=new Set(["RECEIVE_BLOCKS"]);return(n,o)=>{const r=e(n,o);return r!==n&&(r.isIgnoredChange=t.has(o.type)),r}}))({byClientId(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...m(t.blocks)};case"UPDATE_BLOCK":if(!e[t.clientId])return e;const n=Object(l.omit)(t.updates,"attributes");return Object(l.isEmpty)(n)?e:{...e,[t.clientId]:{...e[t.clientId],...n}};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...Object(l.omit)(e,t.replacedClientIds),...m(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.omit)(e,t.removedClientIds)}return e},attributes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...f(t.blocks)};case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?{...e,[t.clientId]:{...e[t.clientId],...t.updates.attributes}}:e;case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(t=>!e[t]))return e;const n=t.clientIds.reduce((n,o)=>({...n,[o]:Object(l.reduce)(t.uniqueByBlock?t.attributes[o]:t.attributes,(t,n,r)=>{var c,l;return n!==t[r]&&((t=(c=e[o])===(l=t)?{...c}:l)[r]=n),t},e[o])}),{});return t.clientIds.every(t=>n[t]===e[t])?e:{...e,...n}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...Object(l.omit)(e,t.replacedClientIds),...f(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.omit)(e,t.removedClientIds)}return e},order(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_BLOCKS":{const n=d(t.blocks);return{...e,...Object(l.omit)(n,""),"":((null==e?void 0:e[""])||[]).concat(n[""])}}case"INSERT_BLOCKS":{const{rootClientId:n=""}=t,o=e[n]||[],r=d(t.blocks,n),{index:c=o.length}=t;return{...e,...r,[n]:s(o,r[n],c)}}case"MOVE_BLOCKS_TO_POSITION":{const{fromRootClientId:n="",toRootClientId:o="",clientIds:r}=t,{index:c=e[o].length}=t;if(n===o){const t=e[o].indexOf(r[0]);return{...e,[o]:u(e[o],t,c,r.length)}}return{...e,[n]:Object(l.without)(e[n],...r),[o]:s(e[o],r,c)}}case"MOVE_BLOCKS_UP":{const{clientIds:n,rootClientId:o=""}=t,r=Object(l.first)(n),c=e[o];if(!c.length||r===Object(l.first)(c))return e;const i=c.indexOf(r);return{...e,[o]:u(c,i,i-1,n.length)}}case"MOVE_BLOCKS_DOWN":{const{clientIds:n,rootClientId:o=""}=t,r=Object(l.first)(n),c=Object(l.last)(n),i=e[o];if(!i.length||c===Object(l.last)(i))return e;const a=i.indexOf(r);return{...e,[o]:u(i,a,a+1,n.length)}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const{clientIds:n}=t;if(!t.blocks)return e;const o=d(t.blocks);return Object(l.flow)([e=>Object(l.omit)(e,t.replacedClientIds),e=>({...e,...Object(l.omit)(o,"")}),e=>Object(l.mapValues)(e,e=>Object(l.reduce)(e,(e,t)=>t===n[0]?[...e,...o[""]]:(-1===n.indexOf(t)&&e.push(t),e),[]))])(e)}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.flow)([e=>Object(l.omit)(e,t.removedClientIds),e=>Object(l.mapValues)(e,e=>Object(l.without)(e,...t.removedClientIds))])(e)}return e},parents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_BLOCKS":return{...e,...b(t.blocks)};case"INSERT_BLOCKS":return{...e,...b(t.blocks,t.rootClientId||"")};case"MOVE_BLOCKS_TO_POSITION":return{...e,...t.clientIds.reduce((e,n)=>(e[n]=t.toRootClientId||"",e),{})};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return{...Object(l.omit)(e,t.replacedClientIds),...b(t.blocks,e[t.clientIds[0]])};case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,clientId:n,hasControlledInnerBlocks:o}=arguments.length>1?arguments[1]:void 0;return"SET_HAS_CONTROLLED_INNER_BLOCKS"===t?{...e,[n]:o}:e}});function j(){let 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;const n=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return n?n.clientId===e.clientId?e:{clientId:n.clientId}:{}}}return e}var k=Object(c.combineReducers)({blocks:v,isTyping:function(){let 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},draggedBlocks:function(){let 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 t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},isCaretWithinFormattedText:function(){let 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},selection:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;switch(o.type){case"SELECTION_CHANGE":return{selectionStart:{clientId:o.clientId,attributeKey:o.attributeKey,offset:o.startOffset},selectionEnd:{clientId:o.clientId,attributeKey:o.attributeKey,offset:o.endOffset}};case"RESET_SELECTION":const{selectionStart:r,selectionEnd:c}=o;return{selectionStart:r,selectionEnd:c};case"MULTI_SELECT":const{start:l,end:i}=o;return{selectionStart:{clientId:l},selectionEnd:{clientId:i}};case"RESET_BLOCKS":const a=null==n||null===(e=n.selectionStart)||void 0===e?void 0:e.clientId,s=null==n||null===(t=n.selectionEnd)||void 0===t?void 0:t.clientId;if(!a&&!s)return n;if(!o.blocks.some(e=>e.clientId===a))return{selectionStart:{},selectionEnd:{}};if(!o.blocks.some(e=>e.clientId===s))return{...n,selectionEnd:n.selectionStart}}return{selectionStart:j(n.selectionStart,o),selectionEnd:j(n.selectionEnd,o)}},isMultiSelecting:function(){let 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(){let 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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"REPLACE_BLOCKS"===t.type&&void 0!==t.initialPosition||["SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e},blocksMode:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){const{clientId:n}=t;return{...e,[n]:e[n]&&"html"===e[n]?"visual":"html"}}return e},blockListSettings:function(){let 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(l.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":{const{clientId:n}=t;return t.settings?Object(l.isEqual)(e[n],t.settings)?e:{...e,[n]:t.settings}:e.hasOwnProperty(n)?Object(l.omit)(e,n):e}}return e},insertionPoint:function(){let 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":const{rootClientId:e,index:n,__unstableWithInserter:o}=t;return{rootClientId:e,index:n,__unstableWithInserter:o};case"HIDE_INSERTION_POINT":return null}return e},template:function(){let 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{...e,isValid:t.isValid}}return e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.b,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},preferences:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((e,n)=>{const{attributes:o,name:r}=n,l=Object(c.select)(i.store).getActiveBlockVariation(r,o);let a=null!=l&&l.name?`${r}/${l.name}`:r;const s={name:a};return"core/block"===r&&(s.ref=o.ref,a+="/"+o.ref),{...e,insertUsage:{...e.insertUsage,[a]:{time:t.time,count:e.insertUsage[a]?e.insertUsage[a].count+1:1,insert:s}}}},e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((e,n)=>({...e,[n]:t.uniqueByBlock?t.attributes[n]:t.attributes}),{})}return null},isNavigationMode:function(){let 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(){let 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:"SET_NAVIGATION_MODE"===t.type?null: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"START_TYPING":case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":const{clientId:n,isHighlighted:o}=t;return o?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e},lastBlockInserted:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"INSERT_BLOCKS":if(!n.blocks.length)return t;return{clientId:n.blocks[0].clientId,source:null===(e=n.meta)||void 0===e?void 0:e.source};case"RESET_BLOCKS":return{}}return t}}),_=n("pPDe"),y=n("GRId"),E=n("+WrK");const C=[];function S(e,t){const n=e.blocks.byClientId[t];if("web"!==y.Platform.OS&&"core/social-link"===(null==n?void 0:n.name)){const n=e.blocks.attributes[t],{service:o}=n;return o?"core/social-link-"+o:"core/social-link"}return n?n.name:null}function w(e,t){const n=e.blocks.byClientId[t];return!!n&&n.isValid}function B(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}function I(e,t){return e.blocks.byClientId[t]?e.blocks.tree[t]:null}const x=Object(_.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:B(e,t)}:null},(e,t)=>[e.blocks.byClientId[t],e.blocks.attributes[t]]);function T(e,t){var n;const o=t&&pt(e,t)?"controlled||"+t:t||"";return(null===(n=e.blocks.tree[o])||void 0===n?void 0:n.innerBlocks)||C}const P=Object(_.a)((e,t)=>({clientId:t,innerBlocks:R(e,t)}),e=>[e.blocks.order]),R=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(l.map)(be(e,t),t=>P(e,t))}),e=>[e.blocks.order]),N=(e,t)=>Object(l.flatMap)(t,t=>{const n=be(e,t);return[...n,...N(e,n)]}),L=Object(_.a)(e=>{const t=be(e);return[...t,...N(e,t)]},e=>[e.blocks.order]),M=Object(_.a)((e,t)=>{const n=L(e);return t?Object(l.reduce)(n,(n,o)=>e.blocks.byClientId[o].name===t?n+1:n,0):n.length},e=>[e.blocks.order,e.blocks.byClientId]),A=Object(_.a)((e,t)=>Object(l.map)(Object(l.castArray)(t),t=>I(e,t)),(e,t)=>Object(l.map)(Object(l.castArray)(t),t=>e.blocks.tree[t]));function D(e,t){return be(e,t).length}function F(e){return e.selection.selectionStart}function z(e){return e.selection.selectionEnd}function H(e){return e.selection.selectionStart.clientId}function V(e){return e.selection.selectionEnd.clientId}function G(e){const t=oe(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function U(e){const{selectionStart:t,selectionEnd:n}=e.selection;return!!t.clientId&&t.clientId===n.clientId}function W(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:o}=t;return o&&o===n.clientId?o:null}function q(e){const t=W(e);return t?I(e,t):null}function K(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}const $=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=[];let r=t;for(;e.blocks.parents[r];)r=e.blocks.parents[r],o.push(r);return n?o:o.reverse()}),e=>[e.blocks.parents]),Y=Object(_.a)((function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r=$(e,t,o);return Object(l.map)(Object(l.filter)(Object(l.map)(r,t=>({id:t,name:S(e,t)})),e=>{let{name:t}=e;return Array.isArray(n)?n.includes(t):t===n}),e=>{let{id:t}=e;return t})}),e=>[e.blocks.parents]);function X(e,t){let n,o=t;do{n=o,o=e.blocks.parents[o]}while(o);return n}function Z(e,t){const n=W(e),o=[...$(e,t),t],r=[...$(e,n),n];let c;const l=Math.min(o.length,r.length);for(let e=0;e2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=W(e)),void 0===t&&(t=n<0?ce(e):le(e)),!t)return null;const o=K(e,t);if(null===o)return null;const{order:r}=e.blocks,c=r[o],l=c.indexOf(t),i=l+1*n;return i<0||i===c.length?null:c[i]}function J(e,t){return Q(e,t,-1)}function ee(e,t){return Q(e,t,1)}function te(e){return e.initialPosition}const ne=Object(_.a)(e=>{const{selectionStart:t,selectionEnd:n}=e.selection;if(void 0===t.clientId||void 0===n.clientId)return C;if(t.clientId===n.clientId)return[t.clientId];const o=K(e,t.clientId);if(null===o)return C;const r=be(e,o),c=r.indexOf(t.clientId),l=r.indexOf(n.clientId);return c>l?r.slice(l,c+1):r.slice(c,l+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function oe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?C:ne(e)}const re=Object(_.a)(e=>{const t=oe(e);return t.length?t.map(t=>I(e,t)):C},e=>[...ne.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function ce(e){return Object(l.first)(oe(e))||null}function le(e){return Object(l.last)(oe(e))||null}function ie(e,t){return ce(e)===t}function ae(e,t){return-1!==oe(e).indexOf(t)}const se=Object(_.a)((e,t)=>{let n=t,o=!1;for(;n&&!o;)n=K(e,n),o=ae(e,n);return o},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function ue(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function de(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:n.clientId||null}function be(e,t){return e.blocks.order[t||""]||C}function pe(e,t,n){return be(e,n).indexOf(t)}function me(e,t){const{selectionStart:n,selectionEnd:o}=e.selection;return n.clientId===o.clientId&&n.clientId===t}function fe(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(l.some)(be(e,t),t=>me(e,t)||ae(e,t)||n&&fe(e,t,n))}function he(e,t){if(!t)return!1;const n=oe(e),o=n.indexOf(t);return o>-1&&oEe(e,t))}function Se(e){return e.isCaretWithinFormattedText}function we(e){let t,n;const{insertionPoint:o,selection:{selectionEnd:r}}=e;if(null!==o)return o;const{clientId:c}=r;return c?(t=K(e,c)||void 0,n=pe(e,r.clientId,t)+1):n=be(e).length,{rootClientId:t,index:n}}function Be(e){return null!==e.insertionPoint}function Ie(e){return e.template.isValid}function xe(e){return e.settings.template}function Te(e,t){if(!t)return e.settings.templateLock;const n=tt(e,t);return n?n.templateLock:null}const Pe=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(l.isBoolean)(e)?e:Object(l.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n},Re=function(e,t){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t&&"object"==typeof t?(n=t,t=n.name):n=Object(i.getBlockType)(t),!n)return!1;const{allowedBlockTypes:r}=nt(e),c=Pe(r,t,!0);if(!c)return!1;const l=!!Te(e,o);if(l)return!1;const a=tt(e,o);if(o&&void 0===a)return!1;const s=null==a?void 0:a.allowedBlocks,u=Pe(s,t),d=n.parent,b=S(e,o),p=Pe(d,b);return null!==u&&null!==p?u||p:null!==u?u:null===p||p},Ne=Object(_.a)(Re,(e,t,n)=>[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]);function Le(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every(t=>Ne(e,S(e,t),n))}function Me(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=B(e,t);if(null===o)return!0;const{lock:r}=o,c=!!Te(e,n);return void 0===r||void 0===(null==r?void 0:r.remove)?!c:!(null!=r&&r.remove)}function Ae(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every(t=>Me(e,t,n))}function De(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=B(e,t);if(null===o)return;const{lock:r}=o,c="all"===Te(e,n);return void 0===r||void 0===(null==r?void 0:r.move)?!c:!(null!=r&&r.move)}function Fe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every(t=>De(e,t,n))}function ze(e,t){var n,o;return null!==(n=null===(o=e.preferences.insertUsage)||void 0===o?void 0:o[t])&&void 0!==n?n:null}const He=(e,t,n)=>!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Re(e,t.name,n),Ve=(e,t)=>n=>{const o=`${t.id}/${n.name}`,{time:r,count:c=0}=ze(e,o)||{};return{...t,id:o,icon:n.icon||t.icon,title:n.title||t.title,description:n.description||t.description,category:n.category||t.category,example:n.hasOwnProperty("example")?n.example:t.example,initialAttributes:{...t.initialAttributes,...n.attributes},innerBlocks:n.innerBlocks,keywords:n.keywords||t.keywords,frecency:Ge(r,c)}},Ge=(e,t)=>{if(!e)return t;const 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}},Ue=(e,t)=>{let{buildScope:n="inserter"}=t;return t=>{const o=t.name;let r=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(r=Object(l.some)(A(e,L(e)),{name:t.name}));const{time:c,count:a=0}=ze(e,o)||{},s={id:o,name:t.name,title:t.title,icon:t.icon,isDisabled:r,frecency:Ge(c,a)};if("transform"===n)return s;const u=Object(i.getBlockVariations)(t.name,"inserter");return{...s,initialAttributes:{},description:t.description,category:t.category,keywords:t.keywords,variations:u,example:t.example,utility:1}}},We=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=Ue(e,{buildScope:"inserter"}),o=/^\s*)[^])*)\5|[^]*?)}\s+)?(\/)?-->/,r=t=>{let n=E.a;if("web"===y.Platform.OS){const e=("string"==typeof t.content.raw?t.content.raw:t.content).match(o);if(e){const[,,t="core/",o]=e,r=Object(i.getBlockType)(t+o);r&&(n=r.icon)}}const r="core/block/"+t.id,{time:c,count:l=0}=ze(e,r)||{},a=Ge(c,l);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:n,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:a}},c=Object(i.getBlockTypes)().filter(n=>He(e,n,t)).map(n),l=Re(e,"core/block",t)?at(e).map(r):[],a=c.filter(e=>{let{variations:t=[]}=e;return!t.some(e=>{let{isDefault:t}=e;return t})}),s=[];for(const t of c){const{variations:n=[]}=t;if(n.length){const o=Ve(e,t);s.push(...n.map(o))}}const u=(e,t)=>{const{core:n,noncore:o}=e;return(t.name.startsWith("core/")?n:o).push(t),e},d=a.reduce(u,{core:[],noncore:[]}),b=s.reduce(u,{core:[],noncore:[]}),p=[...d.core,...b.core,...d.noncore,...b.noncore];return[...p,...l]}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,at(e),Object(i.getBlockTypes)()]),qe=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=Ue(e,{buildScope:"transform"}),r=Object(i.getBlockTypes)().filter(t=>He(e,t,n)).map(o),c=Object(l.mapKeys)(r,e=>{let{name:t}=e;return t}),a=Object(i.getPossibleBlockTransformations)(t).reduce((e,t)=>(c[null==t?void 0:t.name]&&e.push(c[t.name]),e),[]),s=Object(l.orderBy)(a,e=>c[e.name].frecency,"desc");return s}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]),Ke=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=Object(l.some)(Object(i.getBlockTypes)(),n=>He(e,n,t));if(n)return!0;const o=Re(e,"core/block",t)&&at(e).length>0;return o}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,at(e),Object(i.getBlockTypes)()]),$e=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(l.filter)(Object(i.getBlockTypes)(),n=>He(e,n,t))}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]),Ye=Object(_.a)((function(e){var t,n;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!o)return;const r=null===(t=e.blockListSettings[o])||void 0===t?void 0:t.__experimentalDefaultBlock,c=null===(n=e.blockListSettings[o])||void 0===n?void 0:n.__experimentalDirectInsert;return r&&c?"function"==typeof c?c(I(e,o))?r:null:r:void 0}),(e,t)=>[e.blockListSettings[t],e.blocks.tree[t]]),Xe=Object(_.a)((e,t)=>{const n=e.settings.__experimentalBlockPatterns.find(e=>{let{name:n}=e;return n===t});return n?{...n,blocks:Object(i.parse)(n.content)}:null},e=>[e.settings.__experimentalBlockPatterns]),Ze=Object(_.a)(e=>{const t=e.settings.__experimentalBlockPatterns,{allowedBlockTypes:n}=nt(e);return t.filter(e=>{let{inserter:t=!0}=e;return!!t}).map(t=>{let{name:n}=t;return Xe(e,n)}).filter(e=>{let{blocks:t}=e;return((e,t)=>{if(Object(l.isBoolean)(t))return t;const n=[...e];for(;n.length>0;){var o;const e=n.shift();if(!Pe(t,e.name||e.blockName,!0))return!1;null===(o=e.innerBlocks)||void 0===o||o.forEach(e=>{n.push(e)})}return!0})(t,n)})},e=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes]),Qe=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=Ze(e),o=Object(l.filter)(n,n=>{let{blocks:o}=n;return o.every(n=>{let{name:o}=n;return Ne(e,o,t)})});return o}),(e,t)=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes,e.settings.templateLock,e.blockListSettings[t],e.blocks.byClientId[t]]),Je=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return C;const o=Qe(e,n),r=Array.isArray(t)?t:[t];return o.filter(e=>{var t,n;return null==e||null===(t=e.blockTypes)||void 0===t||null===(n=t.some)||void 0===n?void 0:n.call(t,e=>r.includes(e))})}),(e,t)=>[...Qe.getDependants(e,t)]),et=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return C;if(t.some(t=>{let{clientId:n,innerBlocks:o}=t;return o.length||pt(e,n)}))return C;const o=Array.from(new Set(t.map(e=>{let{name:t}=e;return t})));return Je(e,o,n)}),(e,t)=>[...Je.getDependants(e,t)]);function tt(e,t){return e.blockListSettings[t]}function nt(e){return e.settings}function ot(e){return e.blocks.isPersistentChange}const rt=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.reduce((t,n)=>e.blockListSettings[n]?{...t,[n]:e.blockListSettings[n]}:t,{})}),e=>[e.blockListSettings]),ct=Object(_.a)((e,t)=>{var n;const o=Object(l.find)(at(e),e=>e.id===t);return o?null===(n=o.title)||void 0===n?void 0:n.raw:null},e=>[at(e)]);function lt(e){return e.blocks.isIgnoredChange}function it(e){return e.lastBlockAttributesChange}function at(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:C}function st(e){return e.isNavigationMode}function ut(e){return e.hasBlockMovingClientId}function dt(e){return!!e.automaticChangeStatus}function bt(e,t){return e.highlightedBlock===t}function pt(e,t){return!!e.blocks.controlledInnerBlocks[t]}const mt=Object(_.a)((e,t)=>{if(!t.length)return null;const n=W(e);if(t.includes(S(e,n)))return n;const o=oe(e),r=Y(e,n||o[0],t);return r?Object(l.last)(r):null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function ft(e,t,n){const{lastBlockInserted:o}=e;return o.clientId===t&&o.source===n}var ht=n("gdqT"),gt=n("l3Sj"),Ot=n("qRz9"),vt=n("NMb1"),jt=n.n(vt);const kt=e=>t=>{let{dispatch:n}=t;n({type:"RESET_BLOCKS",blocks:e}),n(_t(e))},_t=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getTemplate(),c=n.getTemplateLock(),l=!r||"all"!==c||Object(i.doBlocksMatchTemplate)(e,r);if(l!==n.isValidTemplate())return o.setTemplateValidity(l),l};function yt(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function Et(e){return jt()('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function Ct(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Object(l.castArray)(e),attributes:t,uniqueByBlock:n}}function St(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function wt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}const Bt=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getPreviousBlockClientId(e);r&&o.selectBlock(r,-1)},It=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getNextBlockClientId(e);r&&o.selectBlock(r)};function xt(){return{type:"START_MULTI_SELECT"}}function Tt(){return{type:"STOP_MULTI_SELECT"}}const Pt=(e,t)=>n=>{let{select:o,dispatch:r}=n;if(o.getBlockRootClientId(e)!==o.getBlockRootClientId(t))return;r({type:"MULTI_SELECT",start:e,end:t});const c=o.getSelectedBlockCount();Object(ht.speak)(Object(gt.sprintf)(Object(gt._n)("%s block selected.","%s blocks selected.",c),c),"assertive")};function Rt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Nt(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Lt(e,t){var n,o;const r=null!==(n=null==t||null===(o=t.__experimentalPreferredStyleVariations)||void 0===o?void 0:o.value)&&void 0!==n?n:{};return e.map(e=>{var t;const n=e.name;if(!Object(i.hasBlockSupport)(n,"defaultStylePicker",!0))return e;if(!r[n])return e;const o=null===(t=e.attributes)||void 0===t?void 0:t.className;if(null!=o&&o.includes("is-style-"))return e;const{attributes:c={}}=e,l=r[n];return{...e,attributes:{...c,className:`${o||""} is-style-${l}`.trim()}}})}const Mt=function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0;return c=>{let{select:i,dispatch:a}=c;e=Object(l.castArray)(e),t=Lt(Object(l.castArray)(t),i.getSettings());const s=i.getBlockRootClientId(Object(l.first)(e));for(let e=0;e{let{select:t,dispatch:n}=e;if(t.getBlockCount()>0)return;const{__unstableHasCustomAppender:o}=t.getSettings();o||n.insertDefaultBlock()})}};function At(e,t){return Mt(e,t)}const Dt=e=>(t,n)=>o=>{let{select:r,dispatch:c}=o;r.canMoveBlocks(t,n)&&c({type:e,clientIds:Object(l.castArray)(t),rootClientId:n})},Ft=Dt("MOVE_BLOCKS_DOWN"),zt=Dt("MOVE_BLOCKS_UP"),Ht=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3?arguments[3]:void 0;return r=>{let{select:c,dispatch:l}=r;if(c.canMoveBlocks(e,t)){if(t!==n){if(!c.canRemoveBlocks(e,t))return;if(!c.canInsertBlocks(e,n))return}l({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:o})}}};function Vt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3?arguments[3]:void 0;return Ht([e],t,n,o)}function Gt(e,t,n,o,r){return Ut([e],t,n,o,0,r)}const Ut=function(e,t,n){let o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,c=arguments.length>5?arguments[5]:void 0;return i=>{let{select:a,dispatch:s}=i;Object(l.isObject)(r)&&(c=r,r=0,jt()("meta argument in wp.data.dispatch('core/block-editor')",{since:"10.1",plugin:"Gutenberg",hint:"The meta argument is now the 6th argument of the function"})),e=Lt(Object(l.castArray)(e),a.getSettings());const u=[];for(const t of e){a.canInsertBlockType(t.name,n)&&u.push(t)}u.length&&s({type:"INSERT_BLOCKS",blocks:u,index:t,rootClientId:n,time:Date.now(),updateSelection:o,initialPosition:o?r:null,meta:c})}};function Wt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{__unstableWithInserter:o}=n;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:o}}function qt(){return{type:"HIDE_INSERTION_POINT"}}function Kt(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}const $t=()=>e=>{let{select:t,dispatch:n}=e;n({type:"SYNCHRONIZE_TEMPLATE"});const o=t.getBlocks(),r=t.getTemplate(),c=Object(i.synchronizeBlocksWithTemplate)(o,r);n.resetBlocks(c)},Yt=(e,t)=>n=>{let{select:o,dispatch:r}=n;const c=[e,t];r({type:"MERGE_BLOCKS",blocks:c});const[a,s]=c,u=o.getBlock(a),d=Object(i.getBlockType)(u.name);if(d&&!d.merge)return void r.selectBlock(u.clientId);const b=o.getBlock(s),p=Object(i.getBlockType)(b.name),{clientId:m,attributeKey:f,offset:h}=o.getSelectionStart(),g=(m===a?d:p).attributes[f],O=(m===a||m===s)&&void 0!==f&&void 0!==h&&!!g;g||("number"==typeof f?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was "+typeof f):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));const v=Object(i.cloneBlock)(u),j=Object(i.cloneBlock)(b);if(O){const e=m===a?v:j,t=e.attributes[f],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:r}=g,c=Object(Ot.insert)(Object(Ot.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),"†",h,h);e.attributes[f]=Object(Ot.toHTMLString)({value:c,multilineTag:n,preserveWhiteSpace:r})}const k=u.name===b.name?[j]:Object(i.switchToBlockType)(j,u.name);if(!k||!k.length)return;const _=d.merge(v.attributes,k[0].attributes);if(O){const e=Object(l.findKey)(_,e=>"string"==typeof e&&-1!==e.indexOf("†")),t=_[e],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:c}=d.attributes[e],i=Object(Ot.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:c}),a=i.text.indexOf("†"),s=Object(Ot.remove)(i,a,a+1),b=Object(Ot.toHTMLString)({value:s,multilineTag:n,preserveWhiteSpace:c});_[e]=b,r.selectionChange(u.clientId,e,a,a)}r.replaceBlocks([u.clientId,b.clientId],[{...u,attributes:{...u.attributes,..._}},...k.slice(1)],0)},Xt=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n=>{let{select:o,dispatch:r}=n;if(!e||!e.length)return;e=Object(l.castArray)(e);const c=o.getBlockRootClientId(e[0]);o.canRemoveBlocks(e,c)&&(t&&r.selectPreviousBlock(e[0]),r({type:"REMOVE_BLOCKS",clientIds:e}),r(e=>{let{select:t,dispatch:n}=e;if(t.getBlockCount()>0)return;const{__unstableHasCustomAppender:o}=t.getSettings();o||n.insertDefaultBlock()}))}};function Zt(e,t){return Xt([e],t)}function Qt(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,initialPosition:n?o:null,time:Date.now()}}function Jt(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function en(){return{type:"START_TYPING"}}function tn(){return{type:"STOP_TYPING"}}function nn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function on(){return{type:"STOP_DRAGGING_BLOCKS"}}function rn(){return{type:"ENTER_FORMATTED_TEXT"}}function cn(){return{type:"EXIT_FORMATTED_TEXT"}}function ln(e,t,n,o){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:o}}function an(e,t,n){const o=Object(i.getDefaultBlockName)();if(!o)return;return Gt(Object(i.createBlock)(o,e),n,t)}function sn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function un(e){return{type:"UPDATE_SETTINGS",settings:e}}function dn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function bn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function pn(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}const mn=()=>e=>{let{dispatch:t}=e;t({type:"MARK_AUTOMATIC_CHANGE"});const{requestIdleCallback:n=(e=>setTimeout(e,100))}=window;n(()=>{t({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},fn=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t=>{let{dispatch:n}=t;n({type:"SET_NAVIGATION_MODE",isNavigationMode:e}),e?Object(ht.speak)(Object(gt.__)("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(ht.speak)(Object(gt.__)("You are currently in edit mode. To return to the navigation mode, press Escape."))}},hn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t=>{let{dispatch:n}=t;n({type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e}),e&&Object(ht.speak)(Object(gt.__)("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."))}},gn=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n=>{let{select:o,dispatch:r}=n;if(!e||!e.length)return;const c=o.getBlocksByClientId(e);if(Object(l.some)(c,e=>!e))return;if(c.map(e=>e.name).some(e=>!Object(i.hasBlockSupport)(e,"multiple",!0)))return;const a=o.getBlockRootClientId(e[0]),s=o.getBlockIndex(Object(l.last)(Object(l.castArray)(e)),a),u=c.map(e=>Object(i.__experimentalCloneSanitizedBlock)(e));return r.insertBlocks(u,s+1,a,t),u.length>1&&t&&r.multiSelect(Object(l.first)(u).clientId,Object(l.last)(u).clientId),u.map(e=>e.clientId)}},On=e=>t=>{let{select:n,dispatch:o}=t;if(!e)return;const r=n.getBlockRootClientId(e);if(n.getTemplateLock(r))return;const c=n.getBlockIndex(e,r);return o.insertDefaultBlock({},r,c)},vn=e=>t=>{let{select:n,dispatch:o}=t;if(!e)return;const r=n.getBlockRootClientId(e);if(n.getTemplateLock(r))return;const c=n.getBlockIndex(e,r);return o.insertDefaultBlock({},r,c+1)};function jn(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}const kn=e=>async t=>{let{dispatch:n}=t;n(jn(e,!0)),await new Promise(e=>setTimeout(e,150)),n(jn(e,!1))};function _n(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}var yn=n("AHN3");const En={reducer:k,selectors:o,actions:r,__experimentalUseThunks:!0},Cn=Object(c.createReduxStore)(yn.a,{...En,persist:["preferences"]});Object(c.registerStore)(yn.a,{...En,persist:["preferences"]})},Bo0k:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj");const l=[{name:Object(c.__)("Regular"),value:"normal"},{name:Object(c.__)("Italic"),value:"italic"}],i=[{name:Object(c.__)("Thin"),value:"100"},{name:Object(c.__)("Extra Light"),value:"200"},{name:Object(c.__)("Light"),value:"300"},{name:Object(c.__)("Regular"),value:"400"},{name:Object(c.__)("Medium"),value:"500"},{name:Object(c.__)("Semi Bold"),value:"600"},{name:Object(c.__)("Bold"),value:"700"},{name:Object(c.__)("Extra Bold"),value:"800"},{name:Object(c.__)("Black"),value:"900"}],a=(e,t)=>e?t?Object(c.__)("Appearance"):Object(c.__)("Font style"):Object(c.__)("Font weight");function s(e){const{onChange:t,hasFontStyles:n=!0,hasFontWeights:s=!0,value:{fontStyle:u,fontWeight:d}}=e,b=n||s,p=a(n,s),m={key:"default",name:Object(c.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},f=Object(o.useMemo)(()=>n&&s?(()=>{const e=[m];return l.forEach(t=>{let{name:n,value:o}=t;i.forEach(t=>{let{name:r,value:l}=t;const i="normal"===o?r:Object(c.sprintf)(Object(c.__)("%1$s %2$s"),r,n);e.push({key:`${o}-${l}`,name:i,style:{fontStyle:o,fontWeight:l}})})}),e})():n?(()=>{const e=[m];return l.forEach(t=>{let{name:n,value:o}=t;e.push({key:o,name:n,style:{fontStyle:o,fontWeight:void 0}})}),e})():(()=>{const e=[m];return i.forEach(t=>{let{name:n,value:o}=t;e.push({key:o,name:n,style:{fontStyle:void 0,fontWeight:o}})}),e})(),[e.options]),h=f.find(e=>e.style.fontStyle===u&&e.style.fontWeight===d)||f[0];return b&&Object(o.createElement)(r.CustomSelectControl,{className:"components-font-appearance-control",label:p,describedBy:h?n?s?Object(c.sprintf)(Object(c.__)("Currently selected font appearance: %s"),h.name):Object(c.sprintf)(Object(c.__)("Currently selected font style: %s"),h.name):Object(c.sprintf)(Object(c.__)("Currently selected font weight: %s"),h.name):Object(c.__)("No selected font appearance"),options:f,value:h,onChange:e=>{let{selectedItem:n}=e;return t(n.style)}})}},Bpkj:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=c},Btt3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("YLtl");const r=(e,t)=>{if(!t||!e)return;const n=t.filter(t=>{let{attributes:n}=t;return!(!n||!Object.keys(n).length)&&Object(o.isMatch)(e,n)});return 1===n.length?n[0]:void 0}},CNgt:function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n0&&void 0!==arguments[0]?arguments[0]:{};const{clientId:n}=Object(l.c)(),o=Object(i.a)("color.gradients")||s,{gradient:b,customGradient:m}=Object(c.useSelect)(o=>{const{getBlockAttributes:r}=o(a.a),c=r(n)||{};return{customGradient:c[t],gradient:c[e]}},[n,e,t]),{updateBlockAttributes:f}=Object(c.useDispatch)(a.a),h=Object(r.useCallback)(r=>{const c=p(o,r);f(n,c?{[e]:c,[t]:void 0}:{[e]:void 0,[t]:r})},[o,n,f]),g=u(b);let O;return O=b?d(o,b):m,{gradientClass:g,gradientValue:O,setGradient:h}}},Crq9:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"}));t.a=c},"DmX/":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"}));t.a=c},ERVc:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("HSyU"),c=n("BhPs");function l(e){return Object(o.useSelect)(t=>{const{getBlockName:n,getBlockAttributes:o}=t(c.a),l=o(e);if(null==l||!l.className)return;const i=Object(r.getBlockType)(n(e));return(null==i?void 0:i.apiVersion)>1?l.className:void 0},[e])}},EpZT:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M7 9v6h10V9H7zM5 19.8h14v-1.5H5v1.5zM5 4.3v1.5h14V4.3H5z"}));t.a=c},Fmc1:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("K9lf"),i=n("l3Sj"),a=n("REKd"),s=n("j6zP");function u(e){let{isDraggable:t,pattern:n,onClick:i,composite:d}=e;const{blocks:b,viewportWidth:p}=n,m="block-editor-block-patterns-list__item-description-"+Object(l.useInstanceId)(u);return Object(r.createElement)(s.a,{isEnabled:t,blocks:b},e=>{let{draggable:t,onDragStart:l,onDragEnd:s}=e;return Object(r.createElement)("div",{className:"block-editor-block-patterns-list__list-item","aria-label":n.title,"aria-describedby":n.description?m:void 0,draggable:t,onDragStart:l,onDragEnd:s},Object(r.createElement)(c.__unstableCompositeItem,Object(o.a)({role:"option",as:"div"},d,{className:"block-editor-block-patterns-list__item",onClick:()=>i(n,b)}),Object(r.createElement)(a.a,{blocks:b,viewportWidth:p}),Object(r.createElement)("div",{className:"block-editor-block-patterns-list__item-title"},n.title),!!n.description&&Object(r.createElement)(c.VisuallyHidden,{id:m},n.description)))})}function d(){return Object(r.createElement)("div",{className:"block-editor-block-patterns-list__item is-placeholder"})}t.a=function(e){let{isDraggable:t,blockPatterns:n,shownPatterns:l,onClickPattern:a,orientation:s,label:b=Object(i.__)("Block Patterns")}=e;const p=Object(c.__unstableUseCompositeState)({orientation:s});return Object(r.createElement)(c.__unstableComposite,Object(o.a)({},p,{role:"listbox",className:"block-editor-block-patterns-list","aria-label":b}),n.map(e=>l.includes(e)?Object(r.createElement)(u,{key:e.name,pattern:e,onClick:a,isDraggable:t,composite:p}):Object(r.createElement)(d,{key:e.name})))}},FnAh:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));t.a=c},G4zt:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("9Do8"),r=n.n(o),c=n("GRId"),l=n("1ZqX"),i=n("1CF3"),a=n("BhPs");function s(e){const t=Object(c.useRef)(),n=Object(l.useSelect)(t=>{const{isBlockSelected:n,getBlockSelectionEnd:o}=t(a.a);return n(e)||o()===e},[e]);return Object(c.useEffect)(()=>{if(!n)return;const e=t.current;if(!e)return;if(e.contains(e.ownerDocument.activeElement))return;const o=Object(i.getScrollContainer)(e)||e.ownerDocument.defaultView;o&&r()(e,o,{onlyScrollIfNeeded:!0})},[n]),t}},GKUk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("tI+e"),i=n("l3Sj"),a=n("v5LD");function s(e){let{value:t="",onChange:n,fontFamilies:s,...u}=e;const d=Object(a.a)("typography.fontFamilies");if(s||(s=d),Object(c.isEmpty)(s))return null;const b=[{value:"",label:Object(i.__)("Default")},...s.map(e=>{let{fontFamily:t,name:n}=e;return{value:t,label:n||t}})];return Object(r.createElement)(l.SelectControl,Object(o.a)({label:Object(i.__)("Font family"),options:b,value:t,onChange:n,labelPosition:"top"},u))}},GOly:function(e,t,n){"use strict";var o=n("GRId");const r=Object(o.createContext)();t.a=r},GRId:function(e,t){e.exports=window.wp.element},GemG:function(e,t,n){var o,r,c; /*! autosize 4.0.4 license: MIT http://www.jacklmoore.com/autosize -*/r=[e,t],void 0===(c="function"==typeof(o=function(e,t){"use strict";var n,o,r="function"==typeof Map?new Map:(n=[],o=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.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&&!r.has(e)){var t,n=null,o=null,i=null,l=function(){e.clientWidth!==o&&d()},a=function(t){window.removeEventListener("resize",l,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),r.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",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",l,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:a,update:d}),"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),d()}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),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o{!function(e){const[t]=a.focus.tabbable.find(e);t&&t.focus()}(e.current)},[]);Object(s.useShortcut)("core/block-editor/focus-toolbar",d),Object(r.useEffect)(()=>{i&&d()},[n,i,d]),Object(r.useEffect)(()=>{let t=0;return l&&!i&&(t=window.requestAnimationFrame(()=>{const t=u(e.current),n=l||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()})),()=>{if(window.cancelAnimationFrame(t),!c||!e.current)return;const n=u(e.current).findIndex(e=>0===e.tabIndex);c(n)}},[l,i])}t.a=function({children:e,focusOnMount:t,__experimentalInitialIndex:n,__experimentalOnIndexChange:i,...s}){const u=Object(r.useRef)(),b=function(e){const[t,n]=Object(r.useState)(!0),o=Object(r.useCallback)(()=>{const t=a.focus.tabbable.find(e.current),o=!t.some(e=>!("toolbarItem"in e.dataset));o||l()("Using custom components as toolbar controls",{since:"5.6",alternative:"ToolbarItem, ToolbarButton or ToolbarDropdownMenu components",link:"https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols"}),n(o)},[]);return Object(r.useLayoutEffect)(()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[t]),t}(u);return d(u,t,b,n,i),b?Object(r.createElement)(c.Toolbar,Object(o.a)({label:s["aria-label"],ref:u},s),e):Object(r.createElement)(c.NavigableMenu,Object(o.a)({orientation:"horizontal",role:"toolbar",ref:u},s),e)}},GvwK:function(e,t,n){"use strict";var o=n("GRId"),r=n("NMb1"),c=n.n(r),i=n("7SSY");t.a=function({title:e,icon:t,description:n,blockType:r}){return r&&(c()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:e,icon:t,description:n}=r)),Object(o.createElement)("div",{className:"block-editor-block-card"},Object(o.createElement)(i.a,{icon:t,showColors:!0}),Object(o.createElement)("div",{className:"block-editor-block-card__content"},Object(o.createElement)("h2",{className:"block-editor-block-card__title"},e),Object(o.createElement)("span",{className:"block-editor-block-card__description"},n)))}},HC45:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=n("GOly");t.a=Object(r.forwardRef)((function(e,t){const n=Object(r.useContext)(i.a);return Object(r.createElement)(c.__unstableCompositeGroup,Object(o.a)({state:n,role:"presentation",ref:t},e))}))},HSyU:function(e,t){e.exports=window.wp.blocks},HgtZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("ur0x"),c=n("BhPs");function i(){const{isSelected:e,clientId:t,name:n}=Object(r.c)();return Object(o.useSelect)(o=>{if(e)return!0;const{getBlockName:r,isFirstMultiSelectedBlock:i,getMultiSelectedBlockClientIds:l}=o(c.a);return!!i(t)&&l().every(e=>r(e)===n)},[t,e,n])}},I5Hl:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),i=n("tI+e"),l=n("l3Sj"),a=n("iClF"),s=n("Q4Sy"),u=n("NMb1"),d=n.n(u),b=n("qrxh");function p({rootClientId:e,className:t,onFocus:n,tabIndex:r},u){return Object(o.createElement)(b.a,{position:"bottom center",rootClientId:e,__experimentalIsQuick:!0,renderToggle:({onToggle:e,disabled:d,isOpen:b,blockTitle:p,hasSingleBlockType:m})=>{let f;f=m?Object(l.sprintf)(Object(l._x)("Add %s","directly add the only allowed block"),p):Object(l._x)("Add block","Generic label for block inserter button");const h=!m;let g=Object(o.createElement)(i.Button,{ref:u,onFocus:n,tabIndex:r,className:c()(t,"block-editor-button-block-appender"),onClick:e,"aria-haspopup":h?"true":void 0,"aria-expanded":h?b:void 0,disabled:d,label:f},!m&&Object(o.createElement)(i.VisuallyHidden,{as:"span"},f),Object(o.createElement)(a.a,{icon:s.a}));return(h||m)&&(g=Object(o.createElement)(i.Tooltip,{text:f},g)),g},isAppender:!0})}const m=Object(o.forwardRef)((e,t)=>(d()("wp.blockEditor.ButtonBlockerAppender",{alternative:"wp.blockEditor.ButtonBlockAppender"}),p(e,t)));t.b=Object(o.forwardRef)(p)},JDWi:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs");function i(e){const{isNavigationMode:t,isBlockSelected:n}=Object(o.useSelect)(c.a),{setNavigationMode:i,selectBlock:l}=Object(o.useDispatch)(c.a);return Object(r.useRefEffect)(o=>{function r(o){t()&&!o.defaultPrevented&&(o.preventDefault(),n(e)?i(!1):l(e))}return o.addEventListener("mousedown",r),()=>{o.addEventListener("mousedown",r)}},[e,t,n,i])}},JGYp:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("YLtl"),r=n("GRId"),c=n("1ZqX"),i=n("HSyU"),l=n("BhPs");function a({clientId:e=null,value:t,selection:n,onChange:a=o.noop,onInput:s=o.noop}){const u=Object(c.useRegistry)(),{resetBlocks:d,resetSelection:b,replaceInnerBlocks:p,setHasControlledInnerBlocks:m,__unstableMarkNextChangeAsNotPersistent:f}=u.dispatch(l.a),{getBlockName:h,getBlocks:g}=u.select(l.a),O=Object(r.useRef)({incoming:null,outgoing:[]}),v=Object(r.useRef)(!1),j=Object(r.useRef)(s),k=Object(r.useRef)(a);Object(r.useEffect)(()=>{j.current=s,k.current=a},[s,a]),Object(r.useEffect)(()=>{O.current.outgoing.includes(t)?Object(o.last)(O.current.outgoing)===t&&(O.current.outgoing=[]):g(e)!==t&&(O.current.outgoing=[],(()=>{if(t)if(f(),e){m(e,!0),f();const n=t.map(e=>Object(i.cloneBlock)(e));v.current&&(O.current.incoming=n),p(e,n)}else v.current&&(O.current.incoming=t),d(t)})(),n&&b(n.selectionStart,n.selectionEnd,n.initialPosition))},[t,e]),Object(r.useEffect)(()=>{const{getSelectionStart:t,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:c}=u.select(l.a);let i=g(e),a=r(),s=!1;v.current=!0;const d=u.subscribe(()=>{if(null!==e&&null===h(e))return;const l=r(),u=g(e),d=u!==i;if(i=u,d&&(O.current.incoming||c()))return O.current.incoming=null,void(a=l);if(d||s&&!d&&l&&!a){a=l,O.current.outgoing.push(i);(a?k.current:j.current)(i,{selection:{selectionStart:t(),selectionEnd:n(),initialPosition:o()}})}s=d});return()=>d()},[u,e])}},JRTi:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("wx14"),c=n("TSYQ"),i=n.n(c),l=n("YLtl"),a=n("tI+e"),s=n("HSyU"),u=n("uoCR");const d={};var b=Object(a.withFilters)("editor.BlockEdit")(e=>{const{attributes:t={},name:n}=e,c=Object(s.getBlockType)(n),a=Object(o.useContext)(u.b),b=Object(o.useMemo)(()=>c&&c.usesContext?Object(l.pick)(a,c.usesContext):d,[c,a]);if(!c)return null;const p=c.edit||c.save;if(c.apiVersion>1)return Object(o.createElement)(p,Object(r.a)({},e,{context:b}));const m=Object(s.hasBlockSupport)(c,"className",!0)?Object(s.getBlockDefaultClassName)(n):null,f=i()(m,t.className);return Object(o.createElement)(p,Object(r.a)({},e,{context:b,className:f}))}),p=n("ur0x");function m(e){const{name:t,isSelected:n,clientId:r}=e,c={name:t,isSelected:n,clientId:r};return Object(o.createElement)(p.a,{value:Object(o.useMemo)(()=>c,Object.values(c))},Object(o.createElement)(b,e))}},JUfZ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("l3Sj"),a=n("HSyU"),s=n("1ZqX"),u=n("GkEL"),d=n("+gtr"),b=n("BhPs");t.a=function({focusOnMount:e,isFixed:t,...n}){const{blockType:c,hasParents:p,showParentSelector:m}=Object(s.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(b.a),{getBlockType:r}=e(a.store),c=o(),i=c[0],l=n(i),s=r(t(l[l.length-1]));return{blockType:i&&r(t(i)),hasParents:l.length,showParentSelector:Object(a.hasBlockSupport)(s,"__experimentalParentSelector",!0)&&c.length<=1}},[]);if(c&&!Object(a.hasBlockSupport)(c,"__experimentalToolbar",!0))return null;const f=i()("block-editor-block-contextual-toolbar",{"has-parent":p&&m,"is-fixed":t});return Object(r.createElement)(u.a,Object(o.a)({focusOnMount:e,className:f,"aria-label":Object(l.__)("Block tools")},n),Object(r.createElement)(d.a,{hideDragHandle:t}))}},JygI:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),i=n("TSYQ"),l=n.n(i),a=n("xN+R"),s=n("tI+e"),u=n("HSyU"),d=n("1ZqX"),b=n("l3Sj"),p=n("ZAjO"),m=n("9Ma0"),f=n("BhPs");t.a=Object(d.withSelect)((e,{clientIds:t})=>{var n;const{getBlock:o,getBlockIndex:r,getBlockListSettings:i,canMoveBlocks:l,getBlockOrder:a,getBlockRootClientId:s}=e(f.a),d=Object(c.castArray)(t),b=Object(c.first)(d),p=o(b),m=s(Object(c.first)(d)),h=r(b,m),g=0===h,O=r(Object(c.last)(d),m)===a(m).length-1;return{blockType:p?Object(u.getBlockType)(p.name):null,canMove:l(t,m),rootClientId:m,firstIndex:h,isFirst:g,isLast:O,orientation:null===(n=i(m))||void 0===n?void 0:n.orientation}})((function({isFirst:e,isLast:t,clientIds:n,canMove:c,isHidden:i,rootClientId:u,orientation:d,hideDragHandle:f}){const[h,g]=Object(r.useState)(!1),O=()=>g(!0),v=()=>g(!1);if(!c||e&&t&&!u)return null;const j=Object(b.__)("Drag");return Object(r.createElement)("div",{className:l()("block-editor-block-mover",{"is-visible":h||!i,"is-horizontal":"horizontal"===d})},!f&&Object(r.createElement)(p.a,{clientIds:n,cloneClassname:"block-editor-block-mover__drag-clone"},e=>Object(r.createElement)(s.Button,Object(o.a)({icon:a.a,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:j,tabIndex:"-1"},e))),Object(r.createElement)(s.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},Object(r.createElement)(s.ToolbarItem,{onFocus:O,onBlur:v},e=>Object(r.createElement)(m.b,Object(o.a)({clientIds:n},e))),Object(r.createElement)(s.ToolbarItem,{onFocus:O,onBlur:v},e=>Object(r.createElement)(m.a,Object(o.a)({clientIds:n},e)))))}))},Jyyd:function(e,t,n){"use strict";var o=n("tI+e");const{Fill:r,Slot:c}=Object(o.createSlotFill)("__unstableBlockSettingsMenuFirstItem");r.Slot=c,t.a=r},"K/rC":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("1ZqX"),r=n("w8sn"),c=n("BhPs"),i=n("PPMp");const l=["none","left","center","right","wide","full"],a=["wide","full"];function s(e=l){e.includes("none")||(e=["none",...e]);const{wideControlsEnabled:t=!1,themeSupportsLayout:n}=Object(o.useSelect)(e=>{const{getSettings:t}=e(c.a),n=t();return{wideControlsEnabled:n.alignWide,themeSupportsLayout:n.supportsLayout}},[]),s=Object(r.d)(),u=Object(i.a)(null==s?void 0:s.type),d=u.getAlignments(s);if(n){const t=d.filter(({name:t})=>e.includes(t));return 1===t.length&&"none"===t[0].name?[]:t}if("default"!==u.name)return[];const{alignments:b=l}=s,p=e.filter(e=>(s.alignments||t||!a.includes(e))&&b.includes(e)).map(e=>({name:e}));return 1===p.length&&"none"===p[0].name?[]:p}},K9lf:function(e,t){e.exports=window.wp.compose},KyyN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("GRId"),r=n("fHnH"),c=n("abaT"),i=n("7bKH"),l=n("vSu0");function a(e){return Object(o.useCallback)(e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,c=t.querySelector(".editor-styles-wrapper");let i;if(c)i=n.getComputedStyle(c,null).getPropertyValue("background-color");else{const e=t.createElement("div");e.classList.add("editor-styles-wrapper"),o.appendChild(e),i=n.getComputedStyle(e,null).getPropertyValue("background-color"),o.removeChild(e)}const l=Object(r.a)(i);l.luminance()>.5||0===l.alpha()?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")},[e])}function s({styles:e}){const t=Object(o.useMemo)(()=>Object(l.a)(e,".editor-styles-wrapper"),[e]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("style",{ref:a(e)}),t.map((e,t)=>Object(o.createElement)("style",{key:t},e)))}Object(r.b)([c.a,i.a])},LolH:function(e,t,n){"use strict";var o=n("GRId"),r=n("l3Sj"),c=n("iClF"),i=n("//Lo");t.a=function(){return Object(o.createElement)("div",{className:"block-editor-inserter__no-results"},Object(o.createElement)(c.a,{className:"block-editor-inserter__no-results-icon",icon:i.a}),Object(o.createElement)("p",null,Object(r.__)("No results found.")))}},"M+co":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=n("GOly");t.a=Object(r.forwardRef)((function({isFirst:e,as:t,children:n,...l},a){const s=Object(r.useContext)(i.a);return Object(r.createElement)(c.__unstableCompositeItem,Object(o.a)({ref:a,state:s,role:"option",focusable:!0},l),o=>{const i={...o,tabIndex:e?0:o.tabIndex};return t?Object(r.createElement)(t,i,n):"function"==typeof n?n(i):Object(r.createElement)(c.Button,i,n)})}))},Mmq9:function(e,t){e.exports=window.wp.url},Mp0b:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=c},NMUH:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return i}));var o=n("YLtl");const r=(e,t,n)=>{if(t){const n=Object(o.find)(e,{slug:t});if(n)return n}return{size:n}};function c(e,t){const n=Object(o.find)(e,{size:t});return n||{size:t}}function i(e){if(e)return`has-${Object(o.kebabCase)(e)}-font-size`}},NMb1:function(e,t){e.exports=window.wp.deprecated},NTP4:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},NWDH:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=c},NtoT:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("YLtl"),c=n("tI+e"),i=(n("Z23Y"),n("HgtZ")),l=n("VrEk");function a({__experimentalGroup:t="default",children:n}){var a;const s=Object(i.a)(),u=null===(a=l.a[t])||void 0===a?void 0:a.Fill;return u?s?Object(o.createElement)(c.__experimentalStyleProvider,{document:document},Object(o.createElement)(u,null,e=>{const t=Object(r.isEmpty)(e)?null:e;return Object(o.createElement)(c.__experimentalToolsPanelContext.Provider,{value:t},n)})):null:(void 0!==e&&e.env,null)}}).call(this,n("8oxB"))},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},OL6h:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return l}));const o=".block-editor-block-list__block",r=".block-list-appender";function c(e,t){return e.closest(o)===t.closest(o)}function i(e,t){return t.closest([o,r].join(","))===e}function l(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(o);return t?t.id.slice("block-".length):void 0}},OzlF:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));t.a=c},P7XM:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},PKbb:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("K9lf"),c=n("cDhi");function i(e){const{refs:t,callbacks:n}=Object(o.useContext)(c.a),i=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(t.set(i,e),()=>{t.delete(i)}),[e]),Object(r.useRefEffect)(t=>{i.current=t,n.forEach((n,o)=>{e===n&&o(t)})},[e])}function l(e){const{refs:t}=Object(o.useContext)(c.a),n=Object(o.useRef)();return n.current=e,Object(o.useMemo)(()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}}),[])}function a(e){const{callbacks:t}=Object(o.useContext)(c.a),n=l(e),[r,i]=Object(o.useState)(null);return Object(o.useLayoutEffect)(()=>{if(e)return t.set(i,e),()=>{t.delete(i)}},[e]),n.current||r}},PPMp:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return I}));var o=n("GRId"),r=n("l3Sj"),c=n("kWXm"),i=n("DmX/"),l=n("suLj"),a=n("bTSr"),s=n("Tqx9");var u=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M14.3 6.7l-1.1 1.1 4 4H4v1.5h13.3l-4.1 4.4 1.1 1.1 5.8-6.3z"}));var d=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M16.2 13.2l-4 4V4h-1.5v13.3l-4.5-4.1-1 1.1 6.2 5.8 5.8-5.8-1-1.1z"})),b=n("tI+e");function p(e,t=""){return e.split(",").map(e=>`.editor-styles-wrapper ${e} ${t}`).join(",")}var m=n("v5LD"),f=n("fOYa"),h=n("0E5u");const g={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},O={left:"flex-start",right:"flex-end",center:"center"},v=["wrap","nowrap"];var j={name:"flex",label:Object(r.__)("Flex"),inspectorControls:function({layout:e={},onChange:t}){const{allowOrientation:n=!0}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(b.Flex,null,Object(o.createElement)(b.FlexItem,null,Object(o.createElement)(k,{layout:e,onChange:t})),Object(o.createElement)(b.FlexItem,null,n&&Object(o.createElement)(y,{layout:e,onChange:t}))),Object(o.createElement)(_,{layout:e,onChange:t}))},toolBarControls:function({layout:e={},onChange:t,layoutBlockSupport:n}){return null!=n&&n.allowSwitching?null:Object(o.createElement)(f.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(o.createElement)(k,{layout:e,onChange:t,isToolbar:!0}))},save:function({selector:e,layout:t}){const{orientation:n="horizontal",setCascadingProperties:r=!1}=t,c=null!==Object(m.a)("spacing.blockGap"),i=g[t.justifyContent]||g.left,l=v.includes(t.flexWrap)?t.flexWrap:"wrap";let a=`\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: ${i};\n\t\t`;r&&(a+=`\n\t\t\t--layout-justification-setting: ${i};\n\t\t\t--layout-direction: row;\n\t\t\t--layout-wrap: ${l};\n\t\t\t--layout-justify: ${i};\n\t\t\t--layout-align: center;\n\t\t\t`);const s=O[t.justifyContent]||O.left;let u=`\n\t\tflex-direction: column;\n\t\talign-items: ${s};\n\t\t`;return r&&(u+=`\n\t\t\t--layout-justification-setting: ${s};\n\t\t\t--layout-direction: column;\n\t\t\t--layout-justify: initial;\n\t\t\t--layout-align: ${s};\n\t\t\t`),Object(o.createElement)("style",null,`\n\t\t\t\t${p(e)} {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tgap: ${c?"var( --wp--style--block-gap, 0.5em )":"0.5em"};\n\t\t\t\t\tflex-wrap: ${l};\n\t\t\t\t\t${"horizontal"===n?a:u}\n\t\t\t\t}\n\n\t\t\t\t${p(e,"> *")} {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t`)},getOrientation(e){const{orientation:t="horizontal"}=e;return t},getAlignments:()=>[]};function k({layout:e,onChange:t,isToolbar:n=!1}){const{justifyContent:s="left",orientation:u="horizontal"}=e,d=n=>{t({...e,justifyContent:n})},p=["left","center","right"];if("horizontal"===u&&p.push("space-between"),n)return Object(o.createElement)(h.a,{allowedControls:p,value:s,onChange:d,popoverProps:{position:"bottom right",isAlternate:!0}});const m=[{value:"left",icon:c.a,label:Object(r.__)("Justify items left")},{value:"center",icon:i.a,label:Object(r.__)("Justify items center")},{value:"right",icon:l.a,label:Object(r.__)("Justify items right")}];return"horizontal"===u&&m.push({value:"space-between",icon:a.a,label:Object(r.__)("Space between items")}),Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-justification-controls"},Object(o.createElement)("legend",null,Object(r.__)("Justification")),Object(o.createElement)("div",null,m.map(({value:e,icon:t,label:n})=>Object(o.createElement)(b.Button,{key:e,label:n,icon:t,isPressed:s===e,onClick:()=>d(e)}))))}function _({layout:e,onChange:t}){const{flexWrap:n="wrap"}=e;return Object(o.createElement)(b.ToggleControl,{label:Object(r.__)("Allow to wrap to multiple lines"),onChange:n=>{t({...e,flexWrap:n?"wrap":"nowrap"})},checked:"wrap"===n})}function y({layout:e,onChange:t}){const{orientation:n="horizontal"}=e;return Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-orientation-controls"},Object(o.createElement)("legend",null,Object(r.__)("Orientation")),Object(o.createElement)(b.Button,{label:"horizontal",icon:u,isPressed:"horizontal"===n,onClick:()=>t({...e,orientation:"horizontal"})}),Object(o.createElement)(b.Button,{label:"vertical",icon:d,isPressed:"vertical"===n,onClick:()=>t({...e,orientation:"vertical"})}))}var E=n("iClF"),C=n("EpZT"),S=n("beZb");const w=[{name:"default",label:Object(r.__)("Flow"),inspectorControls:function({layout:e,onChange:t}){const{wideSize:n,contentSize:c}=e,i=Object(b.__experimentalUseCustomUnits)({availableUnits:Object(m.a)("spacing.units")||["%","px","em","rem","vw"]});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls"},Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:c||n||"",onChange:n=>{n=0>parseFloat(n)?"0":n,t({...e,contentSize:n})},units:i}),Object(o.createElement)(E.a,{icon:C.a})),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:n||c||"",onChange:n=>{n=0>parseFloat(n)?"0":n,t({...e,wideSize:n})},units:i}),Object(o.createElement)(E.a,{icon:S.a}))),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},Object(o.createElement)(b.Button,{variant:"secondary",isSmall:!0,disabled:!c&&!n,onClick:()=>t({contentSize:void 0,wideSize:void 0,inherit:!1})},Object(r.__)("Reset"))),Object(o.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},Object(r.__)("Customize the width for all elements that are assigned to the center or wide columns.")))},toolBarControls:function(){return null},save:function({selector:e,layout:t={}}){const{contentSize:n,wideSize:r}=t,c=null!==Object(m.a)("spacing.blockGap");let i=n||r?`\n\t\t\t\t\t${p(e,"> *")} {\n\t\t\t\t\t\tmax-width: ${null!=n?n:r};\n\t\t\t\t\t\tmargin-left: auto !important;\n\t\t\t\t\t\tmargin-right: auto !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(e,'> [data-align="wide"]')} {\n\t\t\t\t\t\tmax-width: ${null!=r?r:n};\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(e,'> [data-align="full"]')} {\n\t\t\t\t\t\tmax-width: none;\n\t\t\t\t\t}\n\t\t\t\t`:"";return i+=`\n\t\t\t${p(e,'> [data-align="left"]')} {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-right: 2em;\n\t\t\t}\n\n\t\t\t${p(e,'> [data-align="right"]')} {\n\t\t\t\tfloat: right;\n\t\t\t\tmargin-left: 2em;\n\t\t\t}\n\n\t\t`,c&&(i+=`\n\t\t\t\t${p(e,"> *")} {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\tmargin-bottom: 0;\n\t\t\t\t}\n\t\t\t\t${p(e,"> * + *")} {\n\t\t\t\t\tmargin-top: var( --wp--style--block-gap );\n\t\t\t\t}\n\t\t\t`),Object(o.createElement)("style",null,i)},getOrientation:()=>"vertical",getAlignments(e){const t=function(e){const{contentSize:t,wideSize:n}=e,o={},c=/^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;c.test(t)&&(o.none=Object(r.sprintf)(Object(r.__)("Max %s wide"),t));c.test(n)&&(o.wide=Object(r.sprintf)(Object(r.__)("Max %s wide"),n));return o}(e);if(void 0!==e.alignments)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(e=>({name:e,info:t[e]}));const{contentSize:n,wideSize:o}=e,c=[{name:"left"},{name:"center"},{name:"right"}];return n&&c.unshift({name:"full"}),o&&c.unshift({name:"wide",info:t.wide}),c.unshift({name:"none",info:t.none}),c}},j];function B(e="default"){return w.find(t=>t.name===e)}function I(){return w}},"PS/H":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return h}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),i=n("1ZqX"),l=n("tI+e"),a=n("K9lf"),s=n("l3Sj"),u=n("qrxh"),d=n("BhPs"),b=n("PKbb"),p=n("2z9l");const m=Object(o.createContext)();function f({__unstablePopoverSlot:e,__unstableContentRef:t}){const{selectBlock:n}=Object(i.useDispatch)(d.a),r=Object(o.useContext)(m),f=Object(o.useRef)(),{orientation:h,previousClientId:g,nextClientId:O,rootClientId:v,isInserterShown:j}=Object(i.useSelect)(e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getBlockInsertionPoint:r,isBlockBeingDragged:c,getPreviousBlockClientId:i,getNextBlockClientId:l}=e(d.a),a=r(),s=n(a.rootClientId);if(!s.length)return{};let u=s[a.index-1],b=s[a.index];for(;c(u);)u=i(u);for(;c(b);)b=l(b);return{previousClientId:u,nextClientId:b,orientation:(null===(t=o(a.rootClientId))||void 0===t?void 0:t.orientation)||"vertical",rootClientId:a.rootClientId,isInserterShown:null==a?void 0:a.__unstableWithInserter}},[]),k=Object(b.a)(g),_=Object(b.a)(O),y="vertical"===h,E=Object(o.useMemo)(()=>{if(!k&&!_)return{};const e=k?k.getBoundingClientRect():null,t=_?_.getBoundingClientRect():null;if(y)return{width:k?k.offsetWidth:_.offsetWidth,height:t&&e?t.top-e.bottom:0};let n=0;return e&&t&&(n=Object(s.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:k?k.offsetHeight:_.offsetHeight}},[k,_]),C=Object(o.useCallback)(()=>{if(!k&&!_)return{};const{ownerDocument:e}=k||_,t=k?k.getBoundingClientRect():null,n=_?_.getBoundingClientRect():null;return y?Object(s.isRTL)()?{top:t?t.bottom:n.top,left:t?t.right:n.right,right:t?t.left:n.left,bottom:n?n.top:t.bottom,ownerDocument:e}:{top:t?t.bottom:n.top,left:t?t.left:n.left,right:t?t.right:n.right,bottom:n?n.top:t.bottom,ownerDocument:e}:Object(s.isRTL)()?{top:t?t.top:n.top,left:t?t.left:n.right,right:n?n.right:t.left,bottom:t?t.bottom:n.bottom,ownerDocument:e}:{top:t?t.top:n.top,left:t?t.right:n.left,right:n?n.left:t.right,bottom:t?t.bottom:n.bottom,ownerDocument:e}},[k,_]),S=Object(p.a)(t),w=Object(a.useReducedMotion)(),B=c()("block-editor-block-list__insertion-point","is-"+h);const I=k&&_&&j,x={start:{...y?{height:0,left:"50%",right:"50%",y:0}:{width:0,top:"50%",bottom:"50%",x:0},opacity:0},rest:{...y?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:I?.4:0}},hover:{...y?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:.4}}},T={start:{scale:w?1:0},rest:{scale:1,transition:{delay:.2}}};return Object(o.createElement)(l.Popover,{ref:S,noArrow:!0,animate:!1,getAnchorRect:C,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:e||null,key:O+"--"+v},Object(o.createElement)(l.__unstableMotion.div,{layout:!w,initial:w?"rest":"start",animate:"rest",whileHover:"hover",whileTap:"pressed",exit:"start",ref:f,tabIndex:-1,onClick:function(e){e.target===f.current&&O&&n(O,-1)},onFocus:function(e){e.target!==f.current&&(r.current=!0)},className:c()(B,{"is-with-inserter":I}),style:E},Object(o.createElement)(l.__unstableMotion.div,{variants:x,className:"block-editor-block-list__insertion-point-indicator"}),I&&Object(o.createElement)(l.__unstableMotion.div,{variants:T,className:c()("block-editor-block-list__insertion-point-inserter")},Object(o.createElement)(u.a,{position:"bottom center",clientId:O,rootClientId:v,__experimentalIsQuick:!0,onToggle:e=>{r.current=e},onSelectOrClose:()=>{r.current=!1}}))))}function h({children:e,__unstablePopoverSlot:t,__unstableContentRef:n}){const r=Object(i.useSelect)(e=>e(d.a).isBlockInsertionPointVisible(),[]);return Object(o.createElement)(m.Provider,{value:Object(o.useRef)(!1)},r&&Object(o.createElement)(f,{__unstablePopoverSlot:t,__unstableContentRef:n}),e)}},Q2Xw:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("TSYQ"),r=n.n(o),c=n("1ZqX"),i=n("HSyU"),l=n("BhPs");function a(e){return Object(c.useSelect)(t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:c,isBlockMultiSelected:a,getBlockName:s,getSettings:u,hasSelectedInnerBlock:d,isTyping:b,__experimentalGetActiveBlockIdByBlockNames:p}=t(l.a),{__experimentalSpotlightEntityBlocks:m,outlineMode:f}=u(),h=n(e),g=c(e),O=s(e),v=d(e,!0),j=p(m);return r()({"is-selected":g,"is-highlighted":o(e),"is-multi-selected":a(e),"is-reusable":Object(i.isReusableBlock)(Object(i.getBlockType)(O)),"is-dragging":h,"has-child-selected":v,"has-active-entity":j,"is-active-entity":j===e,"remove-outline":g&&f&&b()})},[e])}},Q4Sy:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},"QP/w":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=n("v5LD");t.a=function(e){const t=Object(i.a)("typography.fontSizes"),n=!Object(i.a)("typography.customFontSize");return Object(r.createElement)(c.FontSizePicker,Object(o.a)({},e,{fontSizes:t,disableCustomFontSizes:n}))}},REKd:function(e,t,n){"use strict";var o=n("GRId"),r=n("YLtl"),c=n("1ZqX"),i=n("/QNa"),l=n("tI+e"),a=n("VyCT");function s({onClick:e}){return Object(o.createElement)("div",{tabIndex:0,role:"button",onClick:e,onKeyPress:e},Object(o.createElement)(l.Disabled,null,Object(o.createElement)(a.c,null)))}var u=n("K9lf"),d=n("hHnB"),b=n("KyyN"),p=n("BhPs");let m;var f=function({viewportWidth:e,__experimentalPadding:t}){const[n,{width:r}]=Object(u.useResizeObserver)(),[i,{height:s}]=Object(u.useResizeObserver)(),f=Object(c.useSelect)(e=>e(p.a).getSettings().styles,[]);m=m||Object(u.pure)(a.c);const h=r/e;return Object(o.createElement)("div",{className:"block-editor-block-preview__container"},n,Object(o.createElement)(l.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${h})`,height:s*h}},Object(o.createElement)(d.a,{head:Object(o.createElement)(b.a,{styles:f}),contentRef:Object(u.useRefEffect)(e=>{const{ownerDocument:{documentElement:n}}=e;n.style.position="absolute",n.style.width="100%",e.style.padding=t+"px"},[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:e,height:s,pointerEvents:"none"}},i,Object(o.createElement)(m,{renderAppender:!1}))))};t.a=Object(o.memo)((function({blocks:e,__experimentalPadding:t=0,viewportWidth:n=1200,__experimentalLive:l=!1,__experimentalOnClick:a}){const u=Object(c.useSelect)(e=>e(p.a).getSettings(),[]),d=Object(o.useMemo)(()=>{const e={...u};return e.__experimentalBlockPatterns=[],e},[u]),b=Object(o.useMemo)(()=>Object(r.castArray)(e),[e]);return e&&0!==e.length?Object(o.createElement)(i.a,{value:b,settings:d},l?Object(o.createElement)(s,{onClick:a}):Object(o.createElement)(f,{viewportWidth:n,__experimentalPadding:t})):null}))},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.a=c},Rk8H:function(e,t,n){var o=n("jTPX");e.exports=function(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var c=e.nodeName,i=document.createElement(c);i.innerHTML=" ","TEXTAREA"===c.toUpperCase()&&i.setAttribute("rows","1");var l=o(e,"font-size");i.style.fontSize=l,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i),n=i.offsetHeight,a.removeChild(i)}return n}},RxS6:function(e,t){e.exports=window.wp.keycodes},SVSp:function(e,t){e.exports=window.wp.shortcode},TSYQ:function(e,t,n){var o; +*/r=[e,t],void 0===(c="function"==typeof(o=function(e,t){"use strict";var n,o,r="function"==typeof Map?new Map:(n=[],o=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.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 l(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t,n=null,o=null,l=null,i=function(){e.clientWidth!==o&&d()},a=function(t){window.removeEventListener("resize",i,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),r.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",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",i,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:a,update:d}),"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),d()}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),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o{!function(e){const[t]=a.focus.tabbable.find(e);t&&t.focus()}(e.current)},[]);Object(s.useShortcut)("core/block-editor/focus-toolbar",d),Object(r.useEffect)(()=>{l&&d()},[n,l,d]),Object(r.useEffect)(()=>{let t=0;return i&&!l&&(t=window.requestAnimationFrame(()=>{const t=u(e.current),n=i||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()})),()=>{if(window.cancelAnimationFrame(t),!c||!e.current)return;const n=u(e.current).findIndex(e=>0===e.tabIndex);c(n)}},[i,l])}t.a=function(e){let{children:t,focusOnMount:n,__experimentalInitialIndex:l,__experimentalOnIndexChange:s,...u}=e;const b=Object(r.useRef)(),p=function(e){const[t,n]=Object(r.useState)(!0),o=Object(r.useCallback)(()=>{const t=a.focus.tabbable.find(e.current),o=!t.some(e=>!("toolbarItem"in e.dataset));o||i()("Using custom components as toolbar controls",{since:"5.6",alternative:"ToolbarItem, ToolbarButton or ToolbarDropdownMenu components",link:"https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols"}),n(o)},[]);return Object(r.useLayoutEffect)(()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[t]),t}(b);return d(b,n,p,l,s),p?Object(r.createElement)(c.Toolbar,Object(o.a)({label:u["aria-label"],ref:b},u),t):Object(r.createElement)(c.NavigableMenu,Object(o.a)({orientation:"horizontal",role:"toolbar",ref:b},u),t)}},GvwK:function(e,t,n){"use strict";var o=n("GRId"),r=n("NMb1"),c=n.n(r),l=n("7SSY");t.a=function(e){let{title:t,icon:n,description:r,blockType:i}=e;return i&&(c()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:t,icon:n,description:r}=i)),Object(o.createElement)("div",{className:"block-editor-block-card"},Object(o.createElement)(l.a,{icon:n,showColors:!0}),Object(o.createElement)("div",{className:"block-editor-block-card__content"},Object(o.createElement)("h2",{className:"block-editor-block-card__title"},t),Object(o.createElement)("span",{className:"block-editor-block-card__description"},r)))}},HC45:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("GOly");t.a=Object(r.forwardRef)((function(e,t){const n=Object(r.useContext)(l.a);return Object(r.createElement)(c.__unstableCompositeGroup,Object(o.a)({state:n,role:"presentation",ref:t},e))}))},HSyU:function(e,t){e.exports=window.wp.blocks},HgtZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("ur0x"),c=n("BhPs");function l(){const{isSelected:e,clientId:t,name:n}=Object(r.c)();return Object(o.useSelect)(o=>{if(e)return!0;const{getBlockName:r,isFirstMultiSelectedBlock:l,getMultiSelectedBlockClientIds:i}=o(c.a);return!!l(t)&&i().every(e=>r(e)===n)},[t,e,n])}},I5Hl:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("tI+e"),i=n("l3Sj"),a=n("iClF"),s=n("Q4Sy"),u=n("NMb1"),d=n.n(u),b=n("qrxh");function p(e,t){let{rootClientId:n,className:r,onFocus:u,tabIndex:d}=e;return Object(o.createElement)(b.a,{position:"bottom center",rootClientId:n,__experimentalIsQuick:!0,renderToggle:e=>{let n,{onToggle:b,disabled:p,isOpen:m,blockTitle:f,hasSingleBlockType:h}=e;n=h?Object(i.sprintf)(Object(i._x)("Add %s","directly add the only allowed block"),f):Object(i._x)("Add block","Generic label for block inserter button");const g=!h;let O=Object(o.createElement)(l.Button,{ref:t,onFocus:u,tabIndex:d,className:c()(r,"block-editor-button-block-appender"),onClick:b,"aria-haspopup":g?"true":void 0,"aria-expanded":g?m:void 0,disabled:p,label:n},!h&&Object(o.createElement)(l.VisuallyHidden,{as:"span"},n),Object(o.createElement)(a.a,{icon:s.a}));return(g||h)&&(O=Object(o.createElement)(l.Tooltip,{text:n},O)),O},isAppender:!0})}const m=Object(o.forwardRef)((e,t)=>(d()("wp.blockEditor.ButtonBlockerAppender",{alternative:"wp.blockEditor.ButtonBlockAppender"}),p(e,t)));t.b=Object(o.forwardRef)(p)},JDWi:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs");function l(e){const{isNavigationMode:t,isBlockSelected:n}=Object(o.useSelect)(c.a),{setNavigationMode:l,selectBlock:i}=Object(o.useDispatch)(c.a);return Object(r.useRefEffect)(o=>{function r(o){t()&&!o.defaultPrevented&&(o.preventDefault(),n(e)?l(!1):i(e))}return o.addEventListener("mousedown",r),()=>{o.addEventListener("mousedown",r)}},[e,t,n,l])}},JGYp:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("YLtl"),r=n("GRId"),c=n("1ZqX"),l=n("HSyU"),i=n("BhPs");function a(e){let{clientId:t=null,value:n,selection:a,onChange:s=o.noop,onInput:u=o.noop}=e;const d=Object(c.useRegistry)(),{resetBlocks:b,resetSelection:p,replaceInnerBlocks:m,setHasControlledInnerBlocks:f,__unstableMarkNextChangeAsNotPersistent:h}=d.dispatch(i.a),{getBlockName:g,getBlocks:O}=d.select(i.a),v=Object(r.useRef)({incoming:null,outgoing:[]}),j=Object(r.useRef)(!1),k=Object(r.useRef)(u),_=Object(r.useRef)(s);Object(r.useEffect)(()=>{k.current=u,_.current=s},[u,s]),Object(r.useEffect)(()=>{v.current.outgoing.includes(n)?Object(o.last)(v.current.outgoing)===n&&(v.current.outgoing=[]):O(t)!==n&&(v.current.outgoing=[],(()=>{if(n)if(h(),t){f(t,!0),h();const e=n.map(e=>Object(l.cloneBlock)(e));j.current&&(v.current.incoming=e),m(t,e)}else j.current&&(v.current.incoming=n),b(n)})(),a&&p(a.selectionStart,a.selectionEnd,a.initialPosition))},[n,t]),Object(r.useEffect)(()=>{const{getSelectionStart:e,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:c}=d.select(i.a);let l=O(t),a=r(),s=!1;j.current=!0;const u=d.subscribe(()=>{if(null!==t&&null===g(t))return;const i=r(),u=O(t),d=u!==l;if(l=u,d&&(v.current.incoming||c()))return v.current.incoming=null,void(a=i);if(d||s&&!d&&i&&!a){a=i,v.current.outgoing.push(l);(a?_.current:k.current)(l,{selection:{selectionStart:e(),selectionEnd:n(),initialPosition:o()}})}s=d});return()=>u()},[d,t])}},JRTi:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("wx14"),c=n("TSYQ"),l=n.n(c),i=n("YLtl"),a=n("tI+e"),s=n("HSyU"),u=n("uoCR");const d={};var b=Object(a.withFilters)("editor.BlockEdit")(e=>{const{attributes:t={},name:n}=e,c=Object(s.getBlockType)(n),a=Object(o.useContext)(u.b),b=Object(o.useMemo)(()=>c&&c.usesContext?Object(i.pick)(a,c.usesContext):d,[c,a]);if(!c)return null;const p=c.edit||c.save;if(c.apiVersion>1)return Object(o.createElement)(p,Object(r.a)({},e,{context:b}));const m=Object(s.hasBlockSupport)(c,"className",!0)?Object(s.getBlockDefaultClassName)(n):null,f=l()(m,t.className);return Object(o.createElement)(p,Object(r.a)({},e,{context:b,className:f}))}),p=n("ur0x");function m(e){const{name:t,isSelected:n,clientId:r}=e,c={name:t,isSelected:n,clientId:r};return Object(o.createElement)(p.a,{value:Object(o.useMemo)(()=>c,Object.values(c))},Object(o.createElement)(b,e))}},JUfZ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("l3Sj"),a=n("HSyU"),s=n("1ZqX"),u=n("GkEL"),d=n("+gtr"),b=n("BhPs");t.a=function(e){let{focusOnMount:t,isFixed:n,...c}=e;const{blockType:p,hasParents:m,showParentSelector:f}=Object(s.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(b.a),{getBlockType:r}=e(a.store),c=o(),l=c[0],i=n(l),s=r(t(i[i.length-1]));return{blockType:l&&r(t(l)),hasParents:i.length,showParentSelector:Object(a.hasBlockSupport)(s,"__experimentalParentSelector",!0)&&c.length<=1}},[]);if(p&&!Object(a.hasBlockSupport)(p,"__experimentalToolbar",!0))return null;const h=l()("block-editor-block-contextual-toolbar",{"has-parent":m&&f,"is-fixed":n});return Object(r.createElement)(u.a,Object(o.a)({focusOnMount:t,className:h,"aria-label":Object(i.__)("Block tools")},c),Object(r.createElement)(d.a,{hideDragHandle:n}))}},JygI:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("TSYQ"),i=n.n(l),a=n("xN+R"),s=n("tI+e"),u=n("HSyU"),d=n("1ZqX"),b=n("l3Sj"),p=n("ZAjO"),m=n("9Ma0"),f=n("BhPs");t.a=Object(d.withSelect)((e,t)=>{var n;let{clientIds:o}=t;const{getBlock:r,getBlockIndex:l,getBlockListSettings:i,canMoveBlocks:a,getBlockOrder:s,getBlockRootClientId:d}=e(f.a),b=Object(c.castArray)(o),p=Object(c.first)(b),m=r(p),h=d(Object(c.first)(b)),g=l(p,h),O=0===g,v=l(Object(c.last)(b),h)===s(h).length-1;return{blockType:m?Object(u.getBlockType)(m.name):null,canMove:a(o,h),rootClientId:h,firstIndex:g,isFirst:O,isLast:v,orientation:null===(n=i(h))||void 0===n?void 0:n.orientation}})((function(e){let{isFirst:t,isLast:n,clientIds:c,canMove:l,isHidden:u,rootClientId:d,orientation:f,hideDragHandle:h}=e;const[g,O]=Object(r.useState)(!1),v=()=>O(!0),j=()=>O(!1);if(!l||t&&n&&!d)return null;const k=Object(b.__)("Drag");return Object(r.createElement)("div",{className:i()("block-editor-block-mover",{"is-visible":g||!u,"is-horizontal":"horizontal"===f})},!h&&Object(r.createElement)(p.a,{clientIds:c,cloneClassname:"block-editor-block-mover__drag-clone"},e=>Object(r.createElement)(s.Button,Object(o.a)({icon:a.a,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:k,tabIndex:"-1"},e))),Object(r.createElement)(s.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},Object(r.createElement)(s.ToolbarItem,{onFocus:v,onBlur:j},e=>Object(r.createElement)(m.b,Object(o.a)({clientIds:c},e))),Object(r.createElement)(s.ToolbarItem,{onFocus:v,onBlur:j},e=>Object(r.createElement)(m.a,Object(o.a)({clientIds:c},e)))))}))},Jyyd:function(e,t,n){"use strict";var o=n("tI+e");const{Fill:r,Slot:c}=Object(o.createSlotFill)("__unstableBlockSettingsMenuFirstItem");r.Slot=c,t.a=r},"K/rC":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("1ZqX"),r=n("w8sn"),c=n("BhPs"),l=n("PPMp");const i=["none","left","center","right","wide","full"],a=["wide","full"];function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;e.includes("none")||(e=["none",...e]);const{wideControlsEnabled:t=!1,themeSupportsLayout:n}=Object(o.useSelect)(e=>{const{getSettings:t}=e(c.a),n=t();return{wideControlsEnabled:n.alignWide,themeSupportsLayout:n.supportsLayout}},[]),s=Object(r.d)(),u=Object(l.a)(null==s?void 0:s.type),d=u.getAlignments(s);if(n){const t=d.filter(t=>{let{name:n}=t;return e.includes(n)});return 1===t.length&&"none"===t[0].name?[]:t}if("default"!==u.name)return[];const{alignments:b=i}=s,p=e.filter(e=>(s.alignments||t||!a.includes(e))&&b.includes(e)).map(e=>({name:e}));return 1===p.length&&"none"===p[0].name?[]:p}},K9lf:function(e,t){e.exports=window.wp.compose},KyyN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("GRId"),r=n("fHnH"),c=n("abaT"),l=n("7bKH"),i=n("vSu0");function a(e){return Object(o.useCallback)(e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,c=t.querySelector(".editor-styles-wrapper");let l;if(c)l=n.getComputedStyle(c,null).getPropertyValue("background-color");else{const e=t.createElement("div");e.classList.add("editor-styles-wrapper"),o.appendChild(e),l=n.getComputedStyle(e,null).getPropertyValue("background-color"),o.removeChild(e)}const i=Object(r.a)(l);i.luminance()>.5||0===i.alpha()?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")},[e])}function s(e){let{styles:t}=e;const n=Object(o.useMemo)(()=>Object(i.a)(t,".editor-styles-wrapper"),[t]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("style",{ref:a(t)}),n.map((e,t)=>Object(o.createElement)("style",{key:t},e)))}Object(r.b)([c.a,l.a])},LolH:function(e,t,n){"use strict";var o=n("GRId"),r=n("l3Sj"),c=n("iClF"),l=n("//Lo");t.a=function(){return Object(o.createElement)("div",{className:"block-editor-inserter__no-results"},Object(o.createElement)(c.a,{className:"block-editor-inserter__no-results-icon",icon:l.a}),Object(o.createElement)("p",null,Object(r.__)("No results found.")))}},"M+co":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("GOly");t.a=Object(r.forwardRef)((function(e,t){let{isFirst:n,as:i,children:a,...s}=e;const u=Object(r.useContext)(l.a);return Object(r.createElement)(c.__unstableCompositeItem,Object(o.a)({ref:t,state:u,role:"option",focusable:!0},s),e=>{const t={...e,tabIndex:n?0:e.tabIndex};return i?Object(r.createElement)(i,t,a):"function"==typeof a?a(t):Object(r.createElement)(c.Button,t,a)})}))},Mmq9:function(e,t){e.exports=window.wp.url},Mp0b:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=c},NMUH:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));var o=n("YLtl");const r=(e,t,n)=>{if(t){const n=Object(o.find)(e,{slug:t});if(n)return n}return{size:n}};function c(e,t){const n=Object(o.find)(e,{size:t});return n||{size:t}}function l(e){if(e)return`has-${Object(o.kebabCase)(e)}-font-size`}},NMb1:function(e,t){e.exports=window.wp.deprecated},NTP4:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},NWDH:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=c},NtoT:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("YLtl"),c=n("tI+e"),l=(n("Z23Y"),n("HgtZ")),i=n("VrEk");function a(t){var n;let{__experimentalGroup:a="default",children:s}=t;const u=Object(l.a)(),d=null===(n=i.a[a])||void 0===n?void 0:n.Fill;return d?u?Object(o.createElement)(c.__experimentalStyleProvider,{document:document},Object(o.createElement)(d,null,e=>{const t=Object(r.isEmpty)(e)?null:e;return Object(o.createElement)(c.__experimentalToolsPanelContext.Provider,{value:t},s)})):null:(void 0!==e&&e.env,null)}}).call(this,n("8oxB"))},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},OL6h:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return i}));const o=".block-editor-block-list__block",r=".block-list-appender";function c(e,t){return e.closest(o)===t.closest(o)}function l(e,t){return t.closest([o,r].join(","))===e}function i(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(o);return t?t.id.slice("block-".length):void 0}},OzlF:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));t.a=c},P7XM:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},PKbb:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("K9lf"),c=n("cDhi");function l(e){const{refs:t,callbacks:n}=Object(o.useContext)(c.a),l=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(t.set(l,e),()=>{t.delete(l)}),[e]),Object(r.useRefEffect)(t=>{l.current=t,n.forEach((n,o)=>{e===n&&o(t)})},[e])}function i(e){const{refs:t}=Object(o.useContext)(c.a),n=Object(o.useRef)();return n.current=e,Object(o.useMemo)(()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}}),[])}function a(e){const{callbacks:t}=Object(o.useContext)(c.a),n=i(e),[r,l]=Object(o.useState)(null);return Object(o.useLayoutEffect)(()=>{if(e)return t.set(l,e),()=>{t.delete(l)}},[e]),n.current||r}},PPMp:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return I}));var o=n("GRId"),r=n("l3Sj"),c=n("kWXm"),l=n("DmX/"),i=n("suLj"),a=n("bTSr"),s=n("Tqx9");var u=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M14.3 6.7l-1.1 1.1 4 4H4v1.5h13.3l-4.1 4.4 1.1 1.1 5.8-6.3z"}));var d=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M16.2 13.2l-4 4V4h-1.5v13.3l-4.5-4.1-1 1.1 6.2 5.8 5.8-5.8-1-1.1z"})),b=n("tI+e");function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.split(",").map(e=>`.editor-styles-wrapper ${e} ${t}`).join(",")}var m=n("v5LD"),f=n("fOYa"),h=n("0E5u");const g={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},O={left:"flex-start",right:"flex-end",center:"center"},v=["wrap","nowrap"];var j={name:"flex",label:Object(r.__)("Flex"),inspectorControls:function(e){let{layout:t={},onChange:n}=e;const{allowOrientation:r=!0}=t;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(b.Flex,null,Object(o.createElement)(b.FlexItem,null,Object(o.createElement)(k,{layout:t,onChange:n})),Object(o.createElement)(b.FlexItem,null,r&&Object(o.createElement)(y,{layout:t,onChange:n}))),Object(o.createElement)(_,{layout:t,onChange:n}))},toolBarControls:function(e){let{layout:t={},onChange:n,layoutBlockSupport:r}=e;return null!=r&&r.allowSwitching?null:Object(o.createElement)(f.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(o.createElement)(k,{layout:t,onChange:n,isToolbar:!0}))},save:function(e){let{selector:t,layout:n}=e;const{orientation:r="horizontal",setCascadingProperties:c=!1}=n,l=null!==Object(m.a)("spacing.blockGap"),i=g[n.justifyContent]||g.left,a=v.includes(n.flexWrap)?n.flexWrap:"wrap";let s=`\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: ${i};\n\t\t`;c&&(s+=`\n\t\t\t--layout-justification-setting: ${i};\n\t\t\t--layout-direction: row;\n\t\t\t--layout-wrap: ${a};\n\t\t\t--layout-justify: ${i};\n\t\t\t--layout-align: center;\n\t\t\t`);const u=O[n.justifyContent]||O.left;let d=`\n\t\tflex-direction: column;\n\t\talign-items: ${u};\n\t\t`;return c&&(d+=`\n\t\t\t--layout-justification-setting: ${u};\n\t\t\t--layout-direction: column;\n\t\t\t--layout-justify: initial;\n\t\t\t--layout-align: ${u};\n\t\t\t`),Object(o.createElement)("style",null,`\n\t\t\t\t${p(t)} {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tgap: ${l?"var( --wp--style--block-gap, 0.5em )":"0.5em"};\n\t\t\t\t\tflex-wrap: ${a};\n\t\t\t\t\t${"horizontal"===r?s:d}\n\t\t\t\t}\n\n\t\t\t\t${p(t,"> *")} {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t`)},getOrientation(e){const{orientation:t="horizontal"}=e;return t},getAlignments:()=>[]};function k(e){let{layout:t,onChange:n,isToolbar:s=!1}=e;const{justifyContent:u="left",orientation:d="horizontal"}=t,p=e=>{n({...t,justifyContent:e})},m=["left","center","right"];if("horizontal"===d&&m.push("space-between"),s)return Object(o.createElement)(h.a,{allowedControls:m,value:u,onChange:p,popoverProps:{position:"bottom right",isAlternate:!0}});const f=[{value:"left",icon:c.a,label:Object(r.__)("Justify items left")},{value:"center",icon:l.a,label:Object(r.__)("Justify items center")},{value:"right",icon:i.a,label:Object(r.__)("Justify items right")}];return"horizontal"===d&&f.push({value:"space-between",icon:a.a,label:Object(r.__)("Space between items")}),Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-justification-controls"},Object(o.createElement)("legend",null,Object(r.__)("Justification")),Object(o.createElement)("div",null,f.map(e=>{let{value:t,icon:n,label:r}=e;return Object(o.createElement)(b.Button,{key:t,label:r,icon:n,isPressed:u===t,onClick:()=>p(t)})})))}function _(e){let{layout:t,onChange:n}=e;const{flexWrap:c="wrap"}=t;return Object(o.createElement)(b.ToggleControl,{label:Object(r.__)("Allow to wrap to multiple lines"),onChange:e=>{n({...t,flexWrap:e?"wrap":"nowrap"})},checked:"wrap"===c})}function y(e){let{layout:t,onChange:n}=e;const{orientation:c="horizontal"}=t;return Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-orientation-controls"},Object(o.createElement)("legend",null,Object(r.__)("Orientation")),Object(o.createElement)(b.Button,{label:"horizontal",icon:u,isPressed:"horizontal"===c,onClick:()=>n({...t,orientation:"horizontal"})}),Object(o.createElement)(b.Button,{label:"vertical",icon:d,isPressed:"vertical"===c,onClick:()=>n({...t,orientation:"vertical"})}))}var E=n("iClF"),C=n("EpZT"),S=n("beZb");const w=[{name:"default",label:Object(r.__)("Flow"),inspectorControls:function(e){let{layout:t,onChange:n}=e;const{wideSize:c,contentSize:l}=t,i=Object(b.__experimentalUseCustomUnits)({availableUnits:Object(m.a)("spacing.units")||["%","px","em","rem","vw"]});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls"},Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:l||c||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,contentSize:e})},units:i}),Object(o.createElement)(E.a,{icon:C.a})),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:c||l||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,wideSize:e})},units:i}),Object(o.createElement)(E.a,{icon:S.a}))),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},Object(o.createElement)(b.Button,{variant:"secondary",isSmall:!0,disabled:!l&&!c,onClick:()=>n({contentSize:void 0,wideSize:void 0,inherit:!1})},Object(r.__)("Reset"))),Object(o.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},Object(r.__)("Customize the width for all elements that are assigned to the center or wide columns.")))},toolBarControls:function(){return null},save:function(e){let{selector:t,layout:n={}}=e;const{contentSize:r,wideSize:c}=n,l=null!==Object(m.a)("spacing.blockGap");let i=r||c?`\n\t\t\t\t\t${p(t,"> *")} {\n\t\t\t\t\t\tmax-width: ${null!=r?r:c};\n\t\t\t\t\t\tmargin-left: auto !important;\n\t\t\t\t\t\tmargin-right: auto !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(t,'> [data-align="wide"]')} {\n\t\t\t\t\t\tmax-width: ${null!=c?c:r};\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(t,'> [data-align="full"]')} {\n\t\t\t\t\t\tmax-width: none;\n\t\t\t\t\t}\n\t\t\t\t`:"";return i+=`\n\t\t\t${p(t,'> [data-align="left"]')} {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-right: 2em;\n\t\t\t}\n\n\t\t\t${p(t,'> [data-align="right"]')} {\n\t\t\t\tfloat: right;\n\t\t\t\tmargin-left: 2em;\n\t\t\t}\n\n\t\t`,l&&(i+=`\n\t\t\t\t${p(t,"> *")} {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\tmargin-bottom: 0;\n\t\t\t\t}\n\t\t\t\t${p(t,"> * + *")} {\n\t\t\t\t\tmargin-top: var( --wp--style--block-gap );\n\t\t\t\t}\n\t\t\t`),Object(o.createElement)("style",null,i)},getOrientation:()=>"vertical",getAlignments(e){const t=function(e){const{contentSize:t,wideSize:n}=e,o={},c=/^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;c.test(t)&&(o.none=Object(r.sprintf)(Object(r.__)("Max %s wide"),t));c.test(n)&&(o.wide=Object(r.sprintf)(Object(r.__)("Max %s wide"),n));return o}(e);if(void 0!==e.alignments)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(e=>({name:e,info:t[e]}));const{contentSize:n,wideSize:o}=e,c=[{name:"left"},{name:"center"},{name:"right"}];return n&&c.unshift({name:"full"}),o&&c.unshift({name:"wide",info:t.wide}),c.unshift({name:"none",info:t.none}),c}},j];function B(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return w.find(t=>t.name===e)}function I(){return w}},"PS/H":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return h}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("1ZqX"),i=n("tI+e"),a=n("K9lf"),s=n("l3Sj"),u=n("qrxh"),d=n("BhPs"),b=n("PKbb"),p=n("2z9l");const m=Object(o.createContext)();function f(e){let{__unstablePopoverSlot:t,__unstableContentRef:n}=e;const{selectBlock:r}=Object(l.useDispatch)(d.a),f=Object(o.useContext)(m),h=Object(o.useRef)(),{orientation:g,previousClientId:O,nextClientId:v,rootClientId:j,isInserterShown:k}=Object(l.useSelect)(e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getBlockInsertionPoint:r,isBlockBeingDragged:c,getPreviousBlockClientId:l,getNextBlockClientId:i}=e(d.a),a=r(),s=n(a.rootClientId);if(!s.length)return{};let u=s[a.index-1],b=s[a.index];for(;c(u);)u=l(u);for(;c(b);)b=i(b);return{previousClientId:u,nextClientId:b,orientation:(null===(t=o(a.rootClientId))||void 0===t?void 0:t.orientation)||"vertical",rootClientId:a.rootClientId,isInserterShown:null==a?void 0:a.__unstableWithInserter}},[]),_=Object(b.a)(O),y=Object(b.a)(v),E="vertical"===g,C=Object(o.useMemo)(()=>{if(!_&&!y)return{};const e=_?_.getBoundingClientRect():null,t=y?y.getBoundingClientRect():null;if(E)return{width:_?_.offsetWidth:y.offsetWidth,height:t&&e?t.top-e.bottom:0};let n=0;return e&&t&&(n=Object(s.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:_?_.offsetHeight:y.offsetHeight}},[_,y]),S=Object(o.useCallback)(()=>{if(!_&&!y)return{};const{ownerDocument:e}=_||y,t=_?_.getBoundingClientRect():null,n=y?y.getBoundingClientRect():null;return E?Object(s.isRTL)()?{top:t?t.bottom:n.top,left:t?t.right:n.right,right:t?t.left:n.left,bottom:n?n.top:t.bottom,ownerDocument:e}:{top:t?t.bottom:n.top,left:t?t.left:n.left,right:t?t.right:n.right,bottom:n?n.top:t.bottom,ownerDocument:e}:Object(s.isRTL)()?{top:t?t.top:n.top,left:t?t.left:n.right,right:n?n.right:t.left,bottom:t?t.bottom:n.bottom,ownerDocument:e}:{top:t?t.top:n.top,left:t?t.right:n.left,right:n?n.left:t.right,bottom:t?t.bottom:n.bottom,ownerDocument:e}},[_,y]),w=Object(p.a)(n),B=Object(a.useReducedMotion)(),I=c()("block-editor-block-list__insertion-point","is-"+g);const x=_&&y&&k,T={start:{...E?{height:0,left:"50%",right:"50%",y:0}:{width:0,top:"50%",bottom:"50%",x:0},opacity:0},rest:{...E?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:x?.4:0}},hover:{...E?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:.4}}},P={start:{scale:B?1:0},rest:{scale:1,transition:{delay:.2}}};return Object(o.createElement)(i.Popover,{ref:w,noArrow:!0,animate:!1,getAnchorRect:S,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:t||null,key:v+"--"+j},Object(o.createElement)(i.__unstableMotion.div,{layout:!B,initial:B?"rest":"start",animate:"rest",whileHover:"hover",whileTap:"pressed",exit:"start",ref:h,tabIndex:-1,onClick:function(e){e.target===h.current&&v&&r(v,-1)},onFocus:function(e){e.target!==h.current&&(f.current=!0)},className:c()(I,{"is-with-inserter":x}),style:C},Object(o.createElement)(i.__unstableMotion.div,{variants:T,className:"block-editor-block-list__insertion-point-indicator"}),x&&Object(o.createElement)(i.__unstableMotion.div,{variants:P,className:c()("block-editor-block-list__insertion-point-inserter")},Object(o.createElement)(u.a,{position:"bottom center",clientId:v,rootClientId:j,__experimentalIsQuick:!0,onToggle:e=>{f.current=e},onSelectOrClose:()=>{f.current=!1}}))))}function h(e){let{children:t,__unstablePopoverSlot:n,__unstableContentRef:r}=e;const c=Object(l.useSelect)(e=>e(d.a).isBlockInsertionPointVisible(),[]);return Object(o.createElement)(m.Provider,{value:Object(o.useRef)(!1)},c&&Object(o.createElement)(f,{__unstablePopoverSlot:n,__unstableContentRef:r}),t)}},Q2Xw:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("TSYQ"),r=n.n(o),c=n("1ZqX"),l=n("HSyU"),i=n("BhPs");function a(e){return Object(c.useSelect)(t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:c,isBlockMultiSelected:a,getBlockName:s,getSettings:u,hasSelectedInnerBlock:d,isTyping:b,__experimentalGetActiveBlockIdByBlockNames:p}=t(i.a),{__experimentalSpotlightEntityBlocks:m,outlineMode:f}=u(),h=n(e),g=c(e),O=s(e),v=d(e,!0),j=p(m);return r()({"is-selected":g,"is-highlighted":o(e),"is-multi-selected":a(e),"is-reusable":Object(l.isReusableBlock)(Object(l.getBlockType)(O)),"is-dragging":h,"has-child-selected":v,"has-active-entity":j,"is-active-entity":j===e,"remove-outline":g&&f&&b()})},[e])}},Q4Sy:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},"QP/w":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("v5LD");t.a=function(e){const t=Object(l.a)("typography.fontSizes"),n=!Object(l.a)("typography.customFontSize");return Object(r.createElement)(c.FontSizePicker,Object(o.a)({},e,{fontSizes:t,disableCustomFontSizes:n}))}},REKd:function(e,t,n){"use strict";var o=n("GRId"),r=n("YLtl"),c=n("1ZqX"),l=n("/QNa"),i=n("tI+e"),a=n("VyCT");function s(e){let{onClick:t}=e;return Object(o.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},Object(o.createElement)(i.Disabled,null,Object(o.createElement)(a.c,null)))}var u=n("K9lf"),d=n("hHnB"),b=n("KyyN"),p=n("BhPs");let m;var f=function(e){let{viewportWidth:t,__experimentalPadding:n}=e;const[r,{width:l}]=Object(u.useResizeObserver)(),[s,{height:f}]=Object(u.useResizeObserver)(),h=Object(c.useSelect)(e=>e(p.a).getSettings().styles,[]);m=m||Object(u.pure)(a.c);const g=l/t;return Object(o.createElement)("div",{className:"block-editor-block-preview__container"},r,Object(o.createElement)(i.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${g})`,height:f*g}},Object(o.createElement)(d.a,{head:Object(o.createElement)(b.a,{styles:h}),contentRef:Object(u.useRefEffect)(e=>{const{ownerDocument:{documentElement:t}}=e;t.style.position="absolute",t.style.width="100%",e.style.padding=n+"px"},[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:t,height:f,pointerEvents:"none"}},s,Object(o.createElement)(m,{renderAppender:!1}))))};t.a=Object(o.memo)((function(e){let{blocks:t,__experimentalPadding:n=0,viewportWidth:i=1200,__experimentalLive:a=!1,__experimentalOnClick:u}=e;const d=Object(c.useSelect)(e=>e(p.a).getSettings(),[]),b=Object(o.useMemo)(()=>{const e={...d};return e.__experimentalBlockPatterns=[],e},[d]),m=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]);return t&&0!==t.length?Object(o.createElement)(l.a,{value:m,settings:b},a?Object(o.createElement)(s,{onClick:u}):Object(o.createElement)(f,{viewportWidth:i,__experimentalPadding:n})):null}))},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.a=c},Rk8H:function(e,t,n){var o=n("jTPX");e.exports=function(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var c=e.nodeName,l=document.createElement(c);l.innerHTML=" ","TEXTAREA"===c.toUpperCase()&&l.setAttribute("rows","1");var i=o(e,"font-size");l.style.fontSize=i,l.style.padding="0px",l.style.border="0px";var a=document.body;a.appendChild(l),n=l.offsetHeight,a.removeChild(l)}return n}},RxS6:function(e,t){e.exports=window.wp.keycodes},SVSp:function(e,t){e.exports=window.wp.shortcode},TSYQ:function(e,t,n){var o; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t{const{ownerDocument:a}=l,{defaultView:s}=a;if(!n||e){if(!o||e)return;const t=s.getSelection();if(t.rangeCount&&!t.isCollapsed){const e=r.current,{startContainer:n,endContainer:o}=t.getRangeAt(0);!e||e.contains(n)&&e.contains(o)||t.removeAllRanges()}return}const{length:u}=t;if(u<2)return;if(!c.current||!i.current)return;l.focus();const d=s.getSelection(),b=a.createRange(),m=p(c.current,"start"),f=p(i.current,"end");var h,g;h=l,g=!1,Array.from(h.querySelectorAll(".rich-text")).forEach(e=>{g?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}),b.setStartBefore(m),b.setEndAfter(f),d.removeAllRanges(),d.addRange(b)},[n,e,t,o])}var h=n("1CF3"),g=n("RxS6");function O(e){const{tagName:t}=e;return"INPUT"===t||"BUTTON"===t||"SELECT"===t||"TEXTAREA"===t}var v=n("OL6h");function j(e,t,n,o){let r,c=h.focus.focusable.find(n);return t&&(c=Object(u.reverse)(c)),c=c.slice(c.indexOf(e)+1),o&&(r=e.getBoundingClientRect()),Object(u.find)(c,(function(e){if(!h.focus.tabbable.isTabbableIndex(e))return!1;if(e.isContentEditable&&"true"!==e.contentEditable)return!1;if(o){const t=e.getBoundingClientRect();if(t.left>=r.right||t.right<=r.left)return!1}return!0}))}function k(){const{getSelectedBlockClientId:e,getMultiSelectedBlocksStartClientId:t,getMultiSelectedBlocksEndClientId:n,getPreviousBlockClientId:o,getNextBlockClientId:r,getFirstMultiSelectedBlockClientId:c,getLastMultiSelectedBlockClientId:i,getSettings:a,hasMultiSelection:u}=Object(l.useSelect)(d.a),{multiSelect:b,selectBlock:p}=Object(l.useDispatch)(d.a);return Object(s.useRefEffect)(l=>{let s;function d(){s=null}function m(c){const i=e(),l=t(),a=n(),s=o(a||i),u=r(a||i),d=c?s:u;d&&(l===d?p(d):b(l||i,d))}function f(e){const t=c(),n=i(),o=e?t:n;o&&p(o)}function O(t){const{keyCode:c,target:i}=t,d=c===g.UP,b=c===g.DOWN,p=c===g.LEFT,O=c===g.RIGHT,k=d||p,_=p||O,y=d||b,E=_||y,C=t.shiftKey,S=C||t.ctrlKey||t.altKey||t.metaKey,w=y?h.isVerticalEdge:h.isHorizontalEdge,{ownerDocument:B}=l,{defaultView:I}=B;if(u()){if(E){(C?m:f)(k),t.preventDefault()}return}if(y?s||(s=Object(h.computeCaretRect)(I)):s=null,t.defaultPrevented)return;if(!E)return;if(!function(e,t,n){if((t===g.UP||t===g.DOWN)&&!n)return!0;const{tagName:o}=e;return"INPUT"!==o&&"TEXTAREA"!==o}(i,c,S))return;const x=Object(h.isRTL)(i)?!k:k,{keepCaretInsideBlock:T}=a(),P=e();if(C){const e=n(),c=o(e||P),a=r(e||P);(k&&c||!k&&a)&&function(e,t){const n=j(e,t,l);return!n||!Object(v.b)(e,n)}(i,k)&&w(i,k)&&(m(k),t.preventDefault())}else if(y&&Object(h.isVerticalEdge)(i,k)&&!T){const e=j(i,k,l,!0);e&&(Object(h.placeCaretAtVerticalEdge)(e,k,s),t.preventDefault())}else if(_&&I.getSelection().isCollapsed&&Object(h.isHorizontalEdge)(i,x)&&!T){const e=j(i,x,l);Object(h.placeCaretAtHorizontalEdge)(e,k),t.preventDefault()}}return l.addEventListener("mousedown",d),l.addEventListener("keydown",O),()=>{l.removeEventListener("mousedown",d),l.removeEventListener("keydown",O)}},[])}var _=n("hF7m");function y(){const{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:n}=Object(l.useSelect)(d.a),{multiSelect:o}=Object(l.useDispatch)(d.a),r=Object(_.__unstableUseShortcutEventMatch)();return Object(s.useRefEffect)(c=>{function i(c){if(!r("core/block-editor/select-all",c))return;if(!Object(h.isEntirelySelected)(c.target))return;const i=t(),[l]=i,a=n(l);let s=e(a);i.length===s.length&&(s=e(n(a)));const d=Object(u.first)(s),b=Object(u.last)(s);d!==b&&(o(d,b),c.preventDefault())}return c.addEventListener("keydown",i),()=>{c.removeEventListener("keydown",i)}},[])}function E(){const[e,t,n]=function(){const e=Object(r.useRef)(),t=Object(r.useRef)(),n=Object(r.useRef)(),o=Object(r.useRef)(),{hasMultiSelection:c,getSelectedBlockClientId:i,getBlockCount:a}=Object(l.useSelect)(d.a),{setNavigationMode:u}=Object(l.useDispatch)(d.a),b=Object(l.useSelect)(e=>e(d.a).isNavigationMode(),[])?void 0:"0",p=Object(r.useRef)();function m(t){if(p.current)p.current=null;else if(c())e.current.focus();else if(i())o.current.focus();else{u(!0);const n=t.target.compareDocumentPosition(e.current)&t.target.DOCUMENT_POSITION_FOLLOWING?"findNext":"findPrevious";h.focus.tabbable[n](t.target).focus()}}const f=Object(r.createElement)("div",{ref:t,tabIndex:b,onFocus:m}),v=Object(r.createElement)("div",{ref:n,tabIndex:b,onFocus:m}),j=Object(s.useRefEffect)(r=>{function l(e){if(e.defaultPrevented)return;if(e.keyCode===g.ESCAPE&&!c())return e.preventDefault(),void u(!0);if(e.keyCode!==g.TAB)return;const o=e.shiftKey,l=o?"findPrevious":"findNext";if(!c()&&!i())return void(e.target===r&&u(!0));if(O(e.target)&&O(h.focus.tabbable[l](e.target)))return;const a=o?t:n;p.current=!0,a.current.focus({preventScroll:!0})}function s(e){o.current=e.target;const{ownerDocument:t}=r;e.relatedTarget||t.activeElement!==t.body||0!==a()||r.focus()}function d(o){var r;if(o.keyCode!==g.TAB)return;if("region"===(null===(r=o.target)||void 0===r?void 0:r.getAttribute("role")))return;if(e.current===o.target)return;const c=o.shiftKey?"findPrevious":"findNext",i=h.focus.tabbable[c](o.target);i!==t.current&&i!==n.current||(o.preventDefault(),i.focus({preventScroll:!0}))}const{ownerDocument:b}=r,{defaultView:m}=b;return m.addEventListener("keydown",d),r.addEventListener("keydown",l),r.addEventListener("focusout",s),()=>{m.removeEventListener("keydown",d),r.removeEventListener("keydown",l),r.removeEventListener("focusout",s)}},[]);return[f,Object(s.useMergeRefs)([e,j]),v]}(),o=Object(l.useSelect)(e=>e(d.a).hasMultiSelection(),[]);return[e,Object(s.useMergeRefs)([t,f(),y(),k(),Object(s.useRefEffect)(e=>{if(e.tabIndex=-1,o)return e.setAttribute("aria-label",Object(a.__)("Multiple selected blocks")),()=>{e.removeAttribute("aria-label")}},[o])]),n]}t.a=Object(r.forwardRef)((function({children:e,...t},n){const[c,l,a]=E();return Object(r.createElement)(r.Fragment,null,c,Object(r.createElement)("div",Object(o.a)({},t,{ref:Object(s.useMergeRefs)([l,n]),className:i()(t.className,"block-editor-writing-flow")}),e),a)}))},Tqx9:function(e,t){e.exports=window.wp.primitives},U1WI:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=n("1eGn");t.a=function({clientIds:e,...t}){return Object(r.createElement)(c.ToolbarGroup,null,Object(r.createElement)(c.ToolbarItem,null,n=>Object(r.createElement)(i.a,Object(o.a)({clientIds:e,toggleProps:n},t))))}},VKE3:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=c},VrEk:function(e,t,n){"use strict";var o=n("tI+e");const r={default:Object(o.createSlotFill)("InspectorControls"),advanced:Object(o.createSlotFill)("InspectorAdvancedControls"),dimensions:Object(o.createSlotFill)("InspectorControlsDimensions"),typography:Object(o.createSlotFill)("InspectorControlsTypography")};t.a=r},VyCT:function(e,t,n){"use strict";n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return T})),n.d(t,"a",(function(){return R}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),i=n("1ZqX"),l=n("K9lf"),a=n("jBNB"),s=n("YLtl"),u=n("HSyU"),d=n("5L8O"),b=n("I5Hl"),p=n("BhPs");var m=Object(i.withSelect)((e,{rootClientId:t})=>{const{getBlockOrder:n,canInsertBlockType:o,getTemplateLock:r,getSelectedBlockClientId:c}=e(p.a);return{isLocked:!!r(t),blockClientIds:n(t),canInsertDefaultBlock:o(Object(u.getDefaultBlockName)(),t),selectedBlockClientId:c()}})((function({blockClientIds:e,rootClientId:t,canInsertDefaultBlock:n,isLocked:r,renderAppender:i,className:l,selectedBlockClientId:a,tagName:u="div"}){if(r||!1===i)return null;let p;if(i)p=Object(o.createElement)(i,null);else{const r=!t,c=a===t,i=a&&!e.includes(a);if(!r&&!c&&(!a||i))return null;p=n?Object(o.createElement)(d.a,{rootClientId:t,lastBlockClientId:Object(s.last)(e)}):Object(o.createElement)(b.b,{rootClientId:t,className:"block-list-appender__toggle"})}return Object(o.createElement)(u,{tabIndex:-1,className:c()("block-list-appender wp-block",l),"data-block":!0},p)})),f=n("PS/H");function h(){const e=Object(o.useContext)(f.a),t=Object(i.useSelect)(e=>e(p.a).getSettings().hasReducedUI,[]),{getBlockListSettings:n,getBlockRootClientId:r,getBlockIndex:c,isBlockInsertionPointVisible:a,isMultiSelecting:s,getSelectedBlockClientIds:u,getTemplateLock:d}=Object(i.useSelect)(p.a),{showInsertionPoint:b,hideInsertionPoint:m}=Object(i.useDispatch)(p.a);return Object(l.useRefEffect)(o=>{if(!t)return o.addEventListener("mousemove",r),()=>{o.removeEventListener("mousemove",r)};function r(t){var o,r;if(e.current)return;if(s())return;if(!t.target.classList.contains("block-editor-block-list__layout"))return void(a()&&m());let i;if(!t.target.classList.contains("is-root-container")){i=(t.target.getAttribute("data-block")?t.target:t.target.closest("[data-block]")).getAttribute("data-block")}if(d(i))return;const l=(null===(o=n(i))||void 0===o?void 0:o.orientation)||"vertical",p=t.target.getBoundingClientRect(),f=t.clientY-p.top,h=t.clientX-p.left;let g=Array.from(t.target.children).find(e=>e.classList.contains("wp-block")&&"vertical"===l&&e.offsetTop>f||e.classList.contains("wp-block")&&"horizontal"===l&&e.offsetLeft>h);if(!g)return;if(!g.id&&(g=g.firstElementChild,!g))return;if(null===(r=g.parentElement)||void 0===r?void 0:r.closest(".block-editor-block-content-overlay.overlay-active"))return;const O=g.id.slice("block-".length);if(!O)return;if(u().includes(O))return;const v=g.getBoundingClientRect();if("horizontal"===l&&(t.clientY>v.bottom||t.clientYv.right||t.clientX{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame,O="undefined"==typeof window?clearTimeout:window.cancelIdleCallback||window.cancelAnimationFrame;var v=n("w8sn"),j=n("tI+e"),k=n("NMb1"),_=n.n(k),y=n("xCFn");function E({children:e}){const t=Object(o.useContext)(f.a),n=Object(o.useContext)(j.Disabled.Context);return t||n?e:(_()('wp.components.Popover.Slot name="block-toolbar"',{alternative:"wp.blockEditor.BlockTools"}),Object(o.createElement)(f.b,{__unstablePopoverSlot:"block-toolbar"},Object(o.createElement)(y.a,{__unstablePopoverSlot:"block-toolbar"}),e))}var C=n("zQI6"),S=n("p3NJ"),w=n("ur0x");const B=Object(o.createContext)(),I=Object(o.createContext)();function x({className:e,...t}){const[n,r]=Object(o.useState)(),a=Object(l.useViewportMatch)("medium"),{isOutlineMode:s,isFocusMode:u,isNavigationMode:d}=Object(i.useSelect)(e=>{const{getSettings:t,isNavigationMode:n}=e(p.a),{outlineMode:o,focusMode:r}=t();return{isOutlineMode:o,isFocusMode:r,isNavigationMode:n()}},[]),b=Object(S.b)({ref:Object(l.useMergeRefs)([Object(C.b)(),h(),r]),className:c()("is-root-container",e,{"is-outline-mode":s,"is-focus-mode":u&&a,"is-navigate-mode":d})},t);return Object(o.createElement)(B.Provider,{value:n},Object(o.createElement)("div",b))}function T(e){return function(){const e=Object(i.useSelect)(e=>e(p.a).getSettings().__experimentalBlockPatterns,[]);Object(o.useEffect)(()=>{if(null==e||!e.length)return;let t,n=-1;const o=()=>{n++,n>=e.length||(Object(i.select)(p.a).__experimentalGetParsedPattern(e[n].name),t=g(o))};return t=g(o),()=>O(t)},[e])}(),Object(o.createElement)(E,null,Object(o.createElement)(w.a,{value:w.b},Object(o.createElement)(x,e)))}function P({placeholder:e,rootClientId:t,renderAppender:n,__experimentalAppenderTagName:r,__experimentalLayout:c=v.c}){const[l,s]=Object(o.useState)(new Set),u=Object(o.useMemo)(()=>{const{IntersectionObserver:e}=window;if(e)return new e(e=>{s(t=>{const n=new Set(t);for(const t of e){const e=t.target.getAttribute("data-block");n[t.isIntersecting?"add":"delete"](e)}return n})})},[s]),{order:d,selectedBlocks:b}=Object(i.useSelect)(e=>{const{getBlockOrder:n,getSelectedBlockClientIds:o}=e(p.a);return{order:n(t),selectedBlocks:o()}},[t]);return Object(o.createElement)(v.a,{value:c},Object(o.createElement)(I.Provider,{value:u},d.map(e=>Object(o.createElement)(i.AsyncModeProvider,{key:e,value:!l.has(e)&&!b.includes(e)},Object(o.createElement)(a.b,{rootClientId:t,clientId:e})))),d.length<1&&e,Object(o.createElement)(m,{tagName:r,rootClientId:t,renderAppender:n}))}function R(e){return Object(o.createElement)(i.AsyncModeProvider,{value:!1},Object(o.createElement)(P,e))}T.__unstableElementContext=B},WbBG:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},Wg7J:function(e,t,n){"use strict";var o=n("GRId"),r=n("YLtl"),c=n("l3Sj"),i=n("tI+e"),l=n("K9lf"),a=n("gdqT"),s=n("6ZVF"),u=n("Fmc1"),d=n("mlss"),b=n("mdLt"),p=n("LolH"),m=n("AORF"),f=n("nQUx"),h=n("+G0a"),g=n("pOGT"),O=n("wiT/");const v=[];t.a=function({filterValue:e,onSelect:t,onHover:n,rootClientId:j,clientId:k,isAppender:_,__experimentalInsertionIndex:y,maxBlockPatterns:E,maxBlockTypes:C,showBlockDirectory:S=!1,isDraggable:w=!0,shouldFocusBlock:B=!0}){const I=Object(l.useDebounce)(a.speak,500),[x,T]=Object(m.a)({onSelect:t,rootClientId:j,clientId:k,isAppender:_,insertionIndex:y,shouldFocusBlock:B}),[P,R,N,L]=Object(h.a)(x,T),[M,,A]=Object(f.a)(T,x),D=Object(o.useMemo)(()=>{const t=Object(g.a)(Object(r.orderBy)(P,["frecency"],["desc"]),R,N,e);return void 0!==C?t.slice(0,C):t},[e,P,R,N,C]),F=Object(o.useMemo)(()=>{const t=Object(g.b)(M,e);return void 0!==E?t.slice(0,E):t},[e,M,E]);Object(o.useEffect)(()=>{if(!e)return;const t=D.length+F.length,n=Object(c.sprintf)(Object(c._n)("%d result found.","%d results found.",t),t);I(n)},[e,I]);const z=Object(l.useAsyncList)(D,{step:9}),H=Object(l.useAsyncList)(z.length===D.length?F:v),V=!Object(r.isEmpty)(D)||!Object(r.isEmpty)(F);return Object(o.createElement)(O.a,null,!S&&!V&&Object(o.createElement)(p.a,null),!!D.length&&Object(o.createElement)(b.a,{title:Object(o.createElement)(i.VisuallyHidden,null,Object(c.__)("Blocks"))},Object(o.createElement)(s.a,{items:z,onSelect:L,onHover:n,label:Object(c.__)("Blocks"),isDraggable:w})),!!D.length&&!!F.length&&Object(o.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),!!F.length&&Object(o.createElement)(b.a,{title:Object(o.createElement)(i.VisuallyHidden,null,Object(c.__)("Block Patterns"))},Object(o.createElement)("div",{className:"block-editor-inserter__quick-inserter-patterns"},Object(o.createElement)(u.a,{shownPatterns:H,blockPatterns:F,onClickPattern:A,isDraggable:w}))),S&&Object(o.createElement)(d.a.Slot,{fillProps:{onSelect:L,onHover:n,filterValue:e,hasItems:V,rootClientId:x}},e=>e.length?e:V?null:Object(o.createElement)(p.a,null)))}},Wy3j:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),i=n("wx14");function l(e){return[...e].sort((t,n)=>e.filter(e=>e===n).length-e.filter(e=>e===t).length).shift()}function a(e={}){if("string"==typeof e)return e;const t=Object.values(e).map(e=>Object(r.__experimentalParseUnit)(e)),n=t.map(e=>e[0]),o=t.map(e=>e[1]),c=n.every(e=>e===n[0])?n[0]:"",i=l(o);return 0===c||c?`${c}${i}`:null}function s(e={}){const t=a(e);return isNaN(parseFloat(t))}function u(e){if(!e)return!1;if("string"==typeof e)return!0;return!!Object.values(e).filter(e=>!!e||0===e).length}function d({onChange:e,values:t,...n}){const l=a(t),d=u(t)&&s(t),b=d?Object(c.__)("Mixed"):null;return Object(o.createElement)(r.__experimentalUnitControl,Object(i.a)({},n,{"aria-label":Object(c.__)("Border radius"),disableUnits:d,isOnly:!0,value:l,onChange:e,placeholder:b}))}const b={topLeft:Object(c.__)("Top left"),topRight:Object(c.__)("Top right"),bottomLeft:Object(c.__)("Bottom left"),bottomRight:Object(c.__)("Bottom right")};function p({onChange:e,values:t,...n}){const c="string"!=typeof t?t:{topLeft:t,topRight:t,bottomLeft:t,bottomRight:t};return Object(o.createElement)("div",{className:"components-border-radius-control__input-controls-wrapper"},Object.entries(b).map(([t,l])=>{return Object(o.createElement)(r.__experimentalUnitControl,Object(i.a)({},n,{key:t,"aria-label":l,value:c[t],onChange:(a=t,t=>{e&&e({...c,[a]:t||void 0})})}));var a}))}var m=n("Bpkj"),f=n("Mp0b");function h({isLinked:e,...t}){const n=e?Object(c.__)("Unlink Radii"):Object(c.__)("Link Radii");return Object(o.createElement)(r.Tooltip,{text:n},Object(o.createElement)(r.Button,Object(i.a)({},t,{className:"component-border-radius-control__linked-button",isPrimary:e,isSecondary:!e,isSmall:!0,icon:e?m.a:f.a,iconSize:16,"aria-label":n})))}var g=n("v5LD");const O={topLeft:null,topRight:null,bottomLeft:null,bottomRight:null},v={px:100,em:20,rem:20};function j({onChange:e,values:t}){const[n,i]=Object(o.useState)(!u(t)||!s(t)),b=Object(r.__experimentalUseCustomUnits)({availableUnits:Object(g.a)("spacing.units")||["px","em","rem"]}),m=function(e={}){if("string"==typeof e){const[,t]=Object(r.__experimentalParseUnit)(e);return t||"px"}return l(Object.values(e).map(e=>{const[,t]=Object(r.__experimentalParseUnit)(e);return t}))||"px"}(t),f=b&&b.find(e=>e.value===m),j=(null==f?void 0:f.step)||1,[k]=Object(r.__experimentalParseUnit)(a(t));return Object(o.createElement)("fieldset",{className:"components-border-radius-control"},Object(o.createElement)("legend",null,Object(c.__)("Radius")),Object(o.createElement)("div",{className:"components-border-radius-control__wrapper"},n?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,{className:"components-border-radius-control__unit-control",values:t,min:0,onChange:e,unit:m,units:b}),Object(o.createElement)(r.RangeControl,{className:"components-border-radius-control__range-control",value:k,min:0,max:v[m],initialPosition:0,withInputField:!1,onChange:t=>{e(void 0!==t?`${t}${m}`:void 0)},step:j})):Object(o.createElement)(p,{min:0,onChange:e,values:t||O,units:b}),Object(o.createElement)(h,{onClick:()=>i(!n),isLinked:n})))}},XNw2:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"}));t.a=c},XgzB:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=c},Xkls:function(e,t,n){"use strict";var o=n("+DUQ"),r=n("GRId"),c=n("K9lf"),i=n("1CF3");const l=e=>e+1,a=e=>({top:e.offsetTop,left:e.offsetLeft});t.a=function({isSelected:e,adjustScrolling:t,enableAnimation:n,triggerAnimationOnChange:s}){const u=Object(r.useRef)(),d=Object(c.useReducedMotion)()||!n,[b,p]=Object(r.useReducer)(l,0),[m,f]=Object(r.useReducer)(l,0),[h,g]=Object(r.useState)({x:0,y:0}),O=Object(r.useMemo)(()=>u.current?a(u.current):null,[s]),v=Object(r.useMemo)(()=>{if(!t||!u.current)return()=>{};const e=Object(i.getScrollContainer)(u.current);if(!e)return()=>{};const n=u.current.getBoundingClientRect();return()=>{const t=u.current.getBoundingClientRect().top-n.top;t&&(e.scrollTop+=t)}},[s,t]);function j({value:t}){let{x:n,y:o}=t;n=Math.round(n),o=Math.round(o),n===j.x&&o===j.y||(!function({x:t,y:n}){if(!u.current)return;const o=0===t&&0===n;u.current.style.transformOrigin=o?"":"center",u.current.style.transform=o?"":`translate3d(${t}px,${n}px,0)`,u.current.style.zIndex=!e||o?"":"1",v()}({x:n,y:o}),j.x=n,j.y=o)}return Object(r.useLayoutEffect)(()=>{b&&f()},[b]),Object(r.useLayoutEffect)(()=>{if(!O)return;if(d)return void v();u.current.style.transform="";const e=a(u.current);p(),g({x:Math.round(O.left-e.left),y:Math.round(O.top-e.top)})},[s]),j.x=0,j.y=0,Object(o.useSpring)({from:{x:h.x,y:h.y},to:{x:0,y:0},reset:b!==m,config:{mass:5,tension:2e3,friction:200},immediate:d,onChange:j}),u}},YLtl:function(e,t){e.exports=window.lodash},YZt4:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("HSyU"),c=n("BhPs");function i(e){return Object(o.useSelect)(t=>{const n=t(c.a).getBlockName(e),o=Object(r.getBlockType)(n);if((null==o?void 0:o.apiVersion)>1)return Object(r.getBlockDefaultClassName)(n)},[e])}},Z23Y:function(e,t){e.exports=window.wp.warning},ZAjO:function(e,t,n){"use strict";var o=n("GRId"),r=n("HSyU"),c=n("tI+e"),i=n("1ZqX"),l=n("q3tz"),a=n("1CF3");var s=n("BhPs");t.a=({children:e,clientIds:t,cloneClassname:n,onDragStart:u,onDragEnd:d})=>{const{srcRootClientId:b,isDraggable:p,icon:m}=Object(i.useSelect)(e=>{var n;const{getBlockRootClientId:o,getTemplateLock:c,getBlockName:i}=e(s.a),l=o(t[0]),a=l?c(l):null,u=i(t[0]);return{srcRootClientId:l,isDraggable:"all"!==a,icon:null===(n=Object(r.getBlockType)(u))||void 0===n?void 0:n.icon}},[t]),f=Object(o.useRef)(!1),[h,g,O]=function(){const e=Object(o.useRef)(null),t=Object(o.useRef)(null),n=Object(o.useRef)(null),r=Object(o.useRef)(null);return Object(o.useEffect)(()=>()=>{r.current&&(clearInterval(r.current),r.current=null)},[]),[Object(o.useCallback)(o=>{e.current=o.clientY,n.current=Object(a.getScrollContainer)(o.target),r.current=setInterval(()=>{if(n.current&&t.current){const e=n.current.scrollTop+t.current;n.current.scroll({top:e})}},25)},[]),Object(o.useCallback)(o=>{if(!n.current)return;const r=n.current.offsetHeight,c=e.current-n.current.offsetTop,i=o.clientY-n.current.offsetTop;if(o.clientY>c){const e=Math.max(r-c-50,0),n=Math.max(i-c-50,0)/e;t.current=25*n}else if(o.clientY{e.current=null,n.current=null,r.current&&(clearInterval(r.current),r.current=null)}]}(),{startDraggingBlocks:v,stopDraggingBlocks:j}=Object(i.useDispatch)(s.a);if(Object(o.useEffect)(()=>()=>{f.current&&j()},[]),!p)return e({isDraggable:!1});const k={type:"block",srcClientIds:t,srcRootClientId:b};return Object(o.createElement)(c.Draggable,{cloneClassname:n,__experimentalTransferDataType:"wp-blocks",transferData:k,onDragStart:e=>{v(t),f.current=!0,h(e),u&&u()},onDragOver:g,onDragEnd:()=>{j(),f.current=!1,O(),d&&d()},__experimentalDragComponent:Object(o.createElement)(l.a,{count:t.length,icon:m})},({onDraggableStart:t,onDraggableEnd:n})=>e({draggable:!0,onDragStart:t,onDragEnd:n}))}},Zzu2:function(e,t,n){"use strict";var o=n("GRId"),r=n("TSYQ"),c=n.n(r),i=n("tI+e"),l=n("l3Sj"),a=n("Tqx9");var s=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));t.a=function({className:e,actions:t,children:n,secondaryActions:r}){return Object(o.createElement)("div",{className:c()(e,"block-editor-warning")},Object(o.createElement)("div",{className:"block-editor-warning__contents"},Object(o.createElement)("p",{className:"block-editor-warning__message"},n),(o.Children.count(t)>0||r)&&Object(o.createElement)("div",{className:"block-editor-warning__actions"},o.Children.count(t)>0&&o.Children.map(t,(e,t)=>Object(o.createElement)("span",{key:t,className:"block-editor-warning__action"},e)),r&&Object(o.createElement)(i.DropdownMenu,{className:"block-editor-warning__secondary",icon:s,label:Object(l.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},()=>Object(o.createElement)(i.MenuGroup,null,r.map((e,t)=>Object(o.createElement)(i.MenuItem,{onClick:e.onClick,key:t},e.title)))))))}},abaT:function(e,t,n){"use strict";t.a=function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var r in n)o[n[r]]=r;var c={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var r,i,l=o[this.toHex()];if(l)return l;if(null==t?void 0:t.closest){var a=this.toRgb(),s=1/0,u="black";if(!c.length)for(var d in n)c[d]=new e(n[d]).toRgb();for(var b in n){var p=(r=a,i=c[b],Math.pow(r.r-i.r,2)+Math.pow(r.g-i.g,2)+Math.pow(r.b-i.b,2));p{if(t){const n=Object(o.find)(e,{slug:t});if(n)return n}return{color:n}},a=(e,t)=>Object(o.find)(e,{color:t});function s(e,t){if(e&&t)return`has-${Object(o.kebabCase)(t)}-${e}`}function u(e,t){const n=Object(r.a)(t);return Object(o.maxBy)(e,({color:e})=>n.contrast(e)).color}},beZb:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"}));t.a=c},btIw:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=c},c1Zz:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("tI+e"),c=n("1ZqX"),i=n("BhPs"),l=n("715p");function a({children:e,group:t,label:n}){const{clientId:a,attributes:s}=Object(c.useSelect)(e=>{const{getBlockAttributes:t,getSelectedBlockClientId:n}=e(i.a),o=n();return{clientId:o,attributes:t(o)}},[]),{updateBlockAttributes:u}=Object(c.useDispatch)(i.a);return Object(o.createElement)(r.__experimentalToolsPanel,{className:t+"-block-support-panel",label:n,resetAll:(e=[])=>{const{style:t}=s;let n={style:t};e.forEach(e=>{n={...n,...e(n)}}),n={...n,style:Object(l.a)(n.style)},u(a,n)},key:a,panelId:a,hasInnerWrapper:!0,shouldRenderPlaceholderItems:!0},e)}},cDcd:function(e,t){e.exports=window.React},cDhi:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}));var o=n("GRId");const r=Object(o.createContext)();function c({children:e}){const t=Object(o.useMemo)(()=>({refs:new Map,callbacks:new Map}),[]);return Object(o.createElement)(r.Provider,{value:t},e)}},cGtP:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=c},cjQ8:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20 10.8H6.7l4.1-4.5-1.1-1.1-5.8 6.3 5.8 5.8 1.1-1.1-4-3.9H20z"}));t.a=c},dfZa:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return l}));var o=n("nEW0"),r=n("cDcd");const c=Symbol.for("Animated:node"),i=e=>e&&e[c],l=(e,t)=>Object(o.h)(e,c,t),a=e=>e&&e[c]&&e[c].getPayload();class s{constructor(){this.payload=void 0,l(this,this)}getPayload(){return this.payload||[]}}class u extends s{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,o.s.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new u(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return o.s.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,o.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class d extends u{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Object(o.f)({output:[e,e]})}static create(e){return new d(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(o.s.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Object(o.f)({output:[this.getValue(),e]})),this._value=0,super.reset()}}const b={dependencies:null};class p extends s{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Object(o.l)(this.source,(n,r)=>{var i;(i=n)&&i[c]===i?t[r]=n.getValue(e):Object(o.r)(n)?t[r]=Object(o.q)(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Object(o.k)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Object(o.l)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){b.dependencies&&Object(o.r)(e)&&b.dependencies.add(e);const t=a(e);t&&Object(o.k)(t,e=>this.add(e))}}class m extends p{constructor(e){super(e)}static create(e){return new m(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(f)),!0)}}function f(e){return(Object(o.t)(e)?d:u).create(e)}function h(e){const t=i(e);return t?t.constructor:o.s.arr(e)?m:Object(o.t)(e)?d:u}function g(){return(g=Object.assign||function(e){for(var t=1;t{const n=!o.s.fun(e)||e.prototype&&e.prototype.isReactComponent;return Object(r.forwardRef)((c,i)=>{const l=Object(r.useRef)(null),a=n&&Object(r.useCallback)(e=>{l.current=function(e,t){e&&(o.s.fun(e)?e(t):e.current=t);return t}(i,e)},[i]),[s,u]=function(e,t){const n=new Set;b.dependencies=n,e.style&&(e=g({},e,{style:t.createAnimatedStyle(e.style)}));return e=new p(e),b.dependencies=null,[e,n]}(c,t),d=Object(o.z)(),m=()=>{const e=l.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&d()},f=new v(m,u),h=Object(r.useRef)();Object(o.A)(()=>{const e=h.current;h.current=f,Object(o.k)(u,e=>Object(o.c)(e,f)),e&&(Object(o.k)(e.deps,t=>Object(o.x)(t,e)),o.w.cancel(e.update))}),Object(r.useEffect)(m,[]),Object(o.C)(()=>()=>{const e=h.current;Object(o.k)(e.deps,t=>Object(o.x)(t,e))});const O=t.getComponentProps(s.getValue());return r.createElement(e,g({},O,{ref:a}))})};class v{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&o.w.write(this.update)}}const j=Symbol.for("AnimatedComponent"),k=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:r=(e=>e)}={})=>{const c={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=_(e)||"Anonymous";return(e=o.s.str(e)?i[e]||(i[e]=O(e,c)):e[j]||(e[j]=O(e,c))).displayName=`Animated(${t})`,e};return Object(o.l)(e,(t,n)=>{o.s.arr(e)&&(n=_(t)),i[n]=i(t)}),{animated:i}},_=e=>o.s.str(e)?e:e&&o.s.str(e.displayName)?e.displayName:o.s.fun(e)&&e.name||null},eGrx:function(e,t){var n=e.exports=function(e){return new o(e)};function o(e){this.value=e}function r(e,t,n){var o=[],r=[],l=!0;return function e(d){var b=n?c(d):d,p={},m=!0,f={node:b,node_:d,path:[].concat(o),parent:r[r.length-1],parents:r,key:o.slice(-1)[0],isRoot:0===o.length,level:o.length,circular:null,update:function(e,t){f.isRoot||(f.parent.node[f.key]=e),f.node=e,t&&(m=!1)},delete:function(e){delete f.parent.node[f.key],e&&(m=!1)},remove:function(e){a(f.parent.node)?f.parent.node.splice(f.key,1):delete f.parent.node[f.key],e&&(m=!1)},keys:null,before:function(e){p.before=e},after:function(e){p.after=e},pre:function(e){p.pre=e},post:function(e){p.post=e},stop:function(){l=!1},block:function(){m=!1}};if(!l)return f;function h(){if("object"==typeof f.node&&null!==f.node){f.keys&&f.node_===f.node||(f.keys=i(f.node)),f.isLeaf=0==f.keys.length;for(var e=0;e{const{ownerDocument:a}=i,{defaultView:s}=a;if(!n||e){if(!o||e)return;const t=s.getSelection();if(t.rangeCount&&!t.isCollapsed){const e=r.current,{startContainer:n,endContainer:o}=t.getRangeAt(0);!e||e.contains(n)&&e.contains(o)||t.removeAllRanges()}return}const{length:u}=t;if(u<2)return;if(!c.current||!l.current)return;i.focus();const d=s.getSelection(),b=a.createRange(),m=p(c.current,"start"),f=p(l.current,"end");var h,g;h=i,g=!1,Array.from(h.querySelectorAll(".rich-text")).forEach(e=>{g?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}),b.setStartBefore(m),b.setEndAfter(f),d.removeAllRanges(),d.addRange(b)},[n,e,t,o])}var h=n("1CF3"),g=n("RxS6");function O(e){const{tagName:t}=e;return"INPUT"===t||"BUTTON"===t||"SELECT"===t||"TEXTAREA"===t}var v=n("OL6h");function j(e,t,n,o){let r,c=h.focus.focusable.find(n);return t&&(c=Object(u.reverse)(c)),c=c.slice(c.indexOf(e)+1),o&&(r=e.getBoundingClientRect()),Object(u.find)(c,(function(e){if(!h.focus.tabbable.isTabbableIndex(e))return!1;if(e.isContentEditable&&"true"!==e.contentEditable)return!1;if(o){const t=e.getBoundingClientRect();if(t.left>=r.right||t.right<=r.left)return!1}return!0}))}function k(){const{getSelectedBlockClientId:e,getMultiSelectedBlocksStartClientId:t,getMultiSelectedBlocksEndClientId:n,getPreviousBlockClientId:o,getNextBlockClientId:r,getFirstMultiSelectedBlockClientId:c,getLastMultiSelectedBlockClientId:l,getSettings:a,hasMultiSelection:u}=Object(i.useSelect)(d.a),{multiSelect:b,selectBlock:p}=Object(i.useDispatch)(d.a);return Object(s.useRefEffect)(i=>{let s;function d(){s=null}function m(c){const l=e(),i=t(),a=n(),s=o(a||l),u=r(a||l),d=c?s:u;d&&(i===d?p(d):b(i||l,d))}function f(e){const t=c(),n=l(),o=e?t:n;o&&p(o)}function O(t){const{keyCode:c,target:l}=t,d=c===g.UP,b=c===g.DOWN,p=c===g.LEFT,O=c===g.RIGHT,k=d||p,_=p||O,y=d||b,E=_||y,C=t.shiftKey,S=C||t.ctrlKey||t.altKey||t.metaKey,w=y?h.isVerticalEdge:h.isHorizontalEdge,{ownerDocument:B}=i,{defaultView:I}=B;if(u()){if(E){(C?m:f)(k),t.preventDefault()}return}if(y?s||(s=Object(h.computeCaretRect)(I)):s=null,t.defaultPrevented)return;if(!E)return;if(!function(e,t,n){if((t===g.UP||t===g.DOWN)&&!n)return!0;const{tagName:o}=e;return"INPUT"!==o&&"TEXTAREA"!==o}(l,c,S))return;const x=Object(h.isRTL)(l)?!k:k,{keepCaretInsideBlock:T}=a(),P=e();if(C){const e=n(),c=o(e||P),a=r(e||P);(k&&c||!k&&a)&&function(e,t){const n=j(e,t,i);return!n||!Object(v.b)(e,n)}(l,k)&&w(l,k)&&(m(k),t.preventDefault())}else if(y&&Object(h.isVerticalEdge)(l,k)&&!T){const e=j(l,k,i,!0);e&&(Object(h.placeCaretAtVerticalEdge)(e,k,s),t.preventDefault())}else if(_&&I.getSelection().isCollapsed&&Object(h.isHorizontalEdge)(l,x)&&!T){const e=j(l,x,i);Object(h.placeCaretAtHorizontalEdge)(e,k),t.preventDefault()}}return i.addEventListener("mousedown",d),i.addEventListener("keydown",O),()=>{i.removeEventListener("mousedown",d),i.removeEventListener("keydown",O)}},[])}var _=n("hF7m");function y(){const{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:n}=Object(i.useSelect)(d.a),{multiSelect:o}=Object(i.useDispatch)(d.a),r=Object(_.__unstableUseShortcutEventMatch)();return Object(s.useRefEffect)(c=>{function l(c){if(!r("core/block-editor/select-all",c))return;if(!Object(h.isEntirelySelected)(c.target))return;const l=t(),[i]=l,a=n(i);let s=e(a);l.length===s.length&&(s=e(n(a)));const d=Object(u.first)(s),b=Object(u.last)(s);d!==b&&(o(d,b),c.preventDefault())}return c.addEventListener("keydown",l),()=>{c.removeEventListener("keydown",l)}},[])}function E(){const[e,t,n]=function(){const e=Object(r.useRef)(),t=Object(r.useRef)(),n=Object(r.useRef)(),o=Object(r.useRef)(),{hasMultiSelection:c,getSelectedBlockClientId:l,getBlockCount:a}=Object(i.useSelect)(d.a),{setNavigationMode:u}=Object(i.useDispatch)(d.a),b=Object(i.useSelect)(e=>e(d.a).isNavigationMode(),[])?void 0:"0",p=Object(r.useRef)();function m(t){if(p.current)p.current=null;else if(c())e.current.focus();else if(l())o.current.focus();else{u(!0);const n=t.target.compareDocumentPosition(e.current)&t.target.DOCUMENT_POSITION_FOLLOWING?"findNext":"findPrevious";h.focus.tabbable[n](t.target).focus()}}const f=Object(r.createElement)("div",{ref:t,tabIndex:b,onFocus:m}),v=Object(r.createElement)("div",{ref:n,tabIndex:b,onFocus:m}),j=Object(s.useRefEffect)(r=>{function i(e){if(e.defaultPrevented)return;if(e.keyCode===g.ESCAPE&&!c())return e.preventDefault(),void u(!0);if(e.keyCode!==g.TAB)return;const o=e.shiftKey,i=o?"findPrevious":"findNext";if(!c()&&!l())return void(e.target===r&&u(!0));if(O(e.target)&&O(h.focus.tabbable[i](e.target)))return;const a=o?t:n;p.current=!0,a.current.focus({preventScroll:!0})}function s(e){o.current=e.target;const{ownerDocument:t}=r;e.relatedTarget||t.activeElement!==t.body||0!==a()||r.focus()}function d(o){var r;if(o.keyCode!==g.TAB)return;if("region"===(null===(r=o.target)||void 0===r?void 0:r.getAttribute("role")))return;if(e.current===o.target)return;const c=o.shiftKey?"findPrevious":"findNext",l=h.focus.tabbable[c](o.target);l!==t.current&&l!==n.current||(o.preventDefault(),l.focus({preventScroll:!0}))}const{ownerDocument:b}=r,{defaultView:m}=b;return m.addEventListener("keydown",d),r.addEventListener("keydown",i),r.addEventListener("focusout",s),()=>{m.removeEventListener("keydown",d),r.removeEventListener("keydown",i),r.removeEventListener("focusout",s)}},[]);return[f,Object(s.useMergeRefs)([e,j]),v]}(),o=Object(i.useSelect)(e=>e(d.a).hasMultiSelection(),[]);return[e,Object(s.useMergeRefs)([t,f(),y(),k(),Object(s.useRefEffect)(e=>{if(e.tabIndex=-1,o)return e.setAttribute("aria-label",Object(a.__)("Multiple selected blocks")),()=>{e.removeAttribute("aria-label")}},[o])]),n]}t.a=Object(r.forwardRef)((function(e,t){let{children:n,...c}=e;const[i,a,u]=E();return Object(r.createElement)(r.Fragment,null,i,Object(r.createElement)("div",Object(o.a)({},c,{ref:Object(s.useMergeRefs)([a,t]),className:l()(c.className,"block-editor-writing-flow")}),n),u)}))},Tqx9:function(e,t){e.exports=window.wp.primitives},U1WI:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("1eGn");t.a=function(e){let{clientIds:t,...n}=e;return Object(r.createElement)(c.ToolbarGroup,null,Object(r.createElement)(c.ToolbarItem,null,e=>Object(r.createElement)(l.a,Object(o.a)({clientIds:t,toggleProps:e},n))))}},VKE3:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=c},VrEk:function(e,t,n){"use strict";var o=n("tI+e");const r={default:Object(o.createSlotFill)("InspectorControls"),advanced:Object(o.createSlotFill)("InspectorAdvancedControls"),dimensions:Object(o.createSlotFill)("InspectorControlsDimensions"),typography:Object(o.createSlotFill)("InspectorControlsTypography")};t.a=r},VyCT:function(e,t,n){"use strict";n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return T})),n.d(t,"a",(function(){return R}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("1ZqX"),i=n("K9lf"),a=n("jBNB"),s=n("YLtl"),u=n("HSyU"),d=n("5L8O"),b=n("I5Hl"),p=n("BhPs");var m=Object(l.withSelect)((e,t)=>{let{rootClientId:n}=t;const{getBlockOrder:o,canInsertBlockType:r,getTemplateLock:c,getSelectedBlockClientId:l}=e(p.a);return{isLocked:!!c(n),blockClientIds:o(n),canInsertDefaultBlock:r(Object(u.getDefaultBlockName)(),n),selectedBlockClientId:l()}})((function(e){let t,{blockClientIds:n,rootClientId:r,canInsertDefaultBlock:l,isLocked:i,renderAppender:a,className:u,selectedBlockClientId:p,tagName:m="div"}=e;if(i||!1===a)return null;if(a)t=Object(o.createElement)(a,null);else{const e=!r,c=p===r,i=p&&!n.includes(p);if(!e&&!c&&(!p||i))return null;t=l?Object(o.createElement)(d.a,{rootClientId:r,lastBlockClientId:Object(s.last)(n)}):Object(o.createElement)(b.b,{rootClientId:r,className:"block-list-appender__toggle"})}return Object(o.createElement)(m,{tabIndex:-1,className:c()("block-list-appender wp-block",u),"data-block":!0},t)})),f=n("PS/H");function h(){const e=Object(o.useContext)(f.a),t=Object(l.useSelect)(e=>e(p.a).getSettings().hasReducedUI,[]),{getBlockListSettings:n,getBlockRootClientId:r,getBlockIndex:c,isBlockInsertionPointVisible:a,isMultiSelecting:s,getSelectedBlockClientIds:u,getTemplateLock:d}=Object(l.useSelect)(p.a),{showInsertionPoint:b,hideInsertionPoint:m}=Object(l.useDispatch)(p.a);return Object(i.useRefEffect)(o=>{if(!t)return o.addEventListener("mousemove",r),()=>{o.removeEventListener("mousemove",r)};function r(t){var o,r;if(e.current)return;if(s())return;if(!t.target.classList.contains("block-editor-block-list__layout"))return void(a()&&m());let l;if(!t.target.classList.contains("is-root-container")){l=(t.target.getAttribute("data-block")?t.target:t.target.closest("[data-block]")).getAttribute("data-block")}if(d(l))return;const i=(null===(o=n(l))||void 0===o?void 0:o.orientation)||"vertical",p=t.target.getBoundingClientRect(),f=t.clientY-p.top,h=t.clientX-p.left;let g=Array.from(t.target.children).find(e=>e.classList.contains("wp-block")&&"vertical"===i&&e.offsetTop>f||e.classList.contains("wp-block")&&"horizontal"===i&&e.offsetLeft>h);if(!g)return;if(!g.id&&(g=g.firstElementChild,!g))return;if(null===(r=g.parentElement)||void 0===r?void 0:r.closest(".block-editor-block-content-overlay.overlay-active"))return;const O=g.id.slice("block-".length);if(!O)return;if(u().includes(O))return;const v=g.getBoundingClientRect();if("horizontal"===i&&(t.clientY>v.bottom||t.clientYv.right||t.clientX{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame,O="undefined"==typeof window?clearTimeout:window.cancelIdleCallback||window.cancelAnimationFrame;var v=n("w8sn"),j=n("tI+e"),k=n("NMb1"),_=n.n(k),y=n("xCFn");function E(e){let{children:t}=e;const n=Object(o.useContext)(f.a),r=Object(o.useContext)(j.Disabled.Context);return n||r?t:(_()('wp.components.Popover.Slot name="block-toolbar"',{alternative:"wp.blockEditor.BlockTools"}),Object(o.createElement)(f.b,{__unstablePopoverSlot:"block-toolbar"},Object(o.createElement)(y.a,{__unstablePopoverSlot:"block-toolbar"}),t))}var C=n("zQI6"),S=n("p3NJ"),w=n("ur0x");const B=Object(o.createContext)(),I=Object(o.createContext)();function x(e){let{className:t,...n}=e;const[r,a]=Object(o.useState)(),s=Object(i.useViewportMatch)("medium"),{isOutlineMode:u,isFocusMode:d,isNavigationMode:b}=Object(l.useSelect)(e=>{const{getSettings:t,isNavigationMode:n}=e(p.a),{outlineMode:o,focusMode:r}=t();return{isOutlineMode:o,isFocusMode:r,isNavigationMode:n()}},[]),m=Object(S.b)({ref:Object(i.useMergeRefs)([Object(C.b)(),h(),a]),className:c()("is-root-container",t,{"is-outline-mode":u,"is-focus-mode":d&&s,"is-navigate-mode":b})},n);return Object(o.createElement)(B.Provider,{value:r},Object(o.createElement)("div",m))}function T(e){return function(){const e=Object(l.useSelect)(e=>e(p.a).getSettings().__experimentalBlockPatterns,[]);Object(o.useEffect)(()=>{if(null==e||!e.length)return;let t,n=-1;const o=()=>{n++,n>=e.length||(Object(l.select)(p.a).__experimentalGetParsedPattern(e[n].name),t=g(o))};return t=g(o),()=>O(t)},[e])}(),Object(o.createElement)(E,null,Object(o.createElement)(w.a,{value:w.b},Object(o.createElement)(x,e)))}function P(e){let{placeholder:t,rootClientId:n,renderAppender:r,__experimentalAppenderTagName:c,__experimentalLayout:i=v.c}=e;const[s,u]=Object(o.useState)(new Set),d=Object(o.useMemo)(()=>{const{IntersectionObserver:e}=window;if(e)return new e(e=>{u(t=>{const n=new Set(t);for(const t of e){const e=t.target.getAttribute("data-block");n[t.isIntersecting?"add":"delete"](e)}return n})})},[u]),{order:b,selectedBlocks:f}=Object(l.useSelect)(e=>{const{getBlockOrder:t,getSelectedBlockClientIds:o}=e(p.a);return{order:t(n),selectedBlocks:o()}},[n]);return Object(o.createElement)(v.a,{value:i},Object(o.createElement)(I.Provider,{value:d},b.map(e=>Object(o.createElement)(l.AsyncModeProvider,{key:e,value:!s.has(e)&&!f.includes(e)},Object(o.createElement)(a.b,{rootClientId:n,clientId:e})))),b.length<1&&t,Object(o.createElement)(m,{tagName:c,rootClientId:n,renderAppender:r}))}function R(e){return Object(o.createElement)(l.AsyncModeProvider,{value:!1},Object(o.createElement)(P,e))}T.__unstableElementContext=B},WbBG:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},Wg7J:function(e,t,n){"use strict";var o=n("GRId"),r=n("YLtl"),c=n("l3Sj"),l=n("tI+e"),i=n("K9lf"),a=n("gdqT"),s=n("6ZVF"),u=n("Fmc1"),d=n("mlss"),b=n("mdLt"),p=n("LolH"),m=n("AORF"),f=n("nQUx"),h=n("+G0a"),g=n("pOGT"),O=n("wiT/");const v=[];t.a=function(e){let{filterValue:t,onSelect:n,onHover:j,rootClientId:k,clientId:_,isAppender:y,__experimentalInsertionIndex:E,maxBlockPatterns:C,maxBlockTypes:S,showBlockDirectory:w=!1,isDraggable:B=!0,shouldFocusBlock:I=!0}=e;const x=Object(i.useDebounce)(a.speak,500),[T,P]=Object(m.a)({onSelect:n,rootClientId:k,clientId:_,isAppender:y,insertionIndex:E,shouldFocusBlock:I}),[R,N,L,M]=Object(h.a)(T,P),[A,,D]=Object(f.a)(P,T),F=Object(o.useMemo)(()=>{const e=Object(g.a)(Object(r.orderBy)(R,["frecency"],["desc"]),N,L,t);return void 0!==S?e.slice(0,S):e},[t,R,N,L,S]),z=Object(o.useMemo)(()=>{const e=Object(g.b)(A,t);return void 0!==C?e.slice(0,C):e},[t,A,C]);Object(o.useEffect)(()=>{if(!t)return;const e=F.length+z.length,n=Object(c.sprintf)(Object(c._n)("%d result found.","%d results found.",e),e);x(n)},[t,x]);const H=Object(i.useAsyncList)(F,{step:9}),V=Object(i.useAsyncList)(H.length===F.length?z:v),G=!Object(r.isEmpty)(F)||!Object(r.isEmpty)(z);return Object(o.createElement)(O.a,null,!w&&!G&&Object(o.createElement)(p.a,null),!!F.length&&Object(o.createElement)(b.a,{title:Object(o.createElement)(l.VisuallyHidden,null,Object(c.__)("Blocks"))},Object(o.createElement)(s.a,{items:H,onSelect:M,onHover:j,label:Object(c.__)("Blocks"),isDraggable:B})),!!F.length&&!!z.length&&Object(o.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),!!z.length&&Object(o.createElement)(b.a,{title:Object(o.createElement)(l.VisuallyHidden,null,Object(c.__)("Block Patterns"))},Object(o.createElement)("div",{className:"block-editor-inserter__quick-inserter-patterns"},Object(o.createElement)(u.a,{shownPatterns:V,blockPatterns:z,onClickPattern:D,isDraggable:B}))),w&&Object(o.createElement)(d.a.Slot,{fillProps:{onSelect:M,onHover:j,filterValue:t,hasItems:G,rootClientId:T}},e=>e.length?e:G?null:Object(o.createElement)(p.a,null)))}},Wy3j:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),l=n("wx14");function i(e){return[...e].sort((t,n)=>e.filter(e=>e===n).length-e.filter(e=>e===t).length).shift()}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof e)return e;const t=Object.values(e).map(e=>Object(r.__experimentalParseUnit)(e)),n=t.map(e=>e[0]),o=t.map(e=>e[1]),c=n.every(e=>e===n[0])?n[0]:"",l=i(o),a=0===c||c?`${c}${l}`:null;return a}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=a(e),n=isNaN(parseFloat(t));return n}function u(e){if(!e)return!1;if("string"==typeof e)return!0;return!!Object.values(e).filter(e=>!!e||0===e).length}function d(e){let{onChange:t,values:n,...i}=e;const d=a(n),b=u(n)&&s(n),p=b?Object(c.__)("Mixed"):null;return Object(o.createElement)(r.__experimentalUnitControl,Object(l.a)({},i,{"aria-label":Object(c.__)("Border radius"),disableUnits:b,isOnly:!0,value:d,onChange:t,placeholder:p}))}const b={topLeft:Object(c.__)("Top left"),topRight:Object(c.__)("Top right"),bottomLeft:Object(c.__)("Bottom left"),bottomRight:Object(c.__)("Bottom right")};function p(e){let{onChange:t,values:n,...c}=e;const i="string"!=typeof n?n:{topLeft:n,topRight:n,bottomLeft:n,bottomRight:n};return Object(o.createElement)("div",{className:"components-border-radius-control__input-controls-wrapper"},Object.entries(b).map(e=>{let[n,a]=e;return Object(o.createElement)(r.__experimentalUnitControl,Object(l.a)({},c,{key:n,"aria-label":a,value:i[n],onChange:(s=n,e=>{t&&t({...i,[s]:e||void 0})})}));var s}))}var m=n("Bpkj"),f=n("Mp0b");function h(e){let{isLinked:t,...n}=e;const i=t?Object(c.__)("Unlink Radii"):Object(c.__)("Link Radii");return Object(o.createElement)(r.Tooltip,{text:i},Object(o.createElement)(r.Button,Object(l.a)({},n,{className:"component-border-radius-control__linked-button",isPrimary:t,isSecondary:!t,isSmall:!0,icon:t?m.a:f.a,iconSize:16,"aria-label":i})))}var g=n("v5LD");const O={topLeft:null,topRight:null,bottomLeft:null,bottomRight:null},v={px:100,em:20,rem:20};function j(e){let{onChange:t,values:n}=e;const[l,b]=Object(o.useState)(!u(n)||!s(n)),m=Object(r.__experimentalUseCustomUnits)({availableUnits:Object(g.a)("spacing.units")||["px","em","rem"]}),f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof e){const[,t]=Object(r.__experimentalParseUnit)(e);return t||"px"}const t=Object.values(e).map(e=>{const[,t]=Object(r.__experimentalParseUnit)(e);return t});return i(t)||"px"}(n),j=m&&m.find(e=>e.value===f),k=(null==j?void 0:j.step)||1,[_]=Object(r.__experimentalParseUnit)(a(n));return Object(o.createElement)("fieldset",{className:"components-border-radius-control"},Object(o.createElement)("legend",null,Object(c.__)("Radius")),Object(o.createElement)("div",{className:"components-border-radius-control__wrapper"},l?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,{className:"components-border-radius-control__unit-control",values:n,min:0,onChange:t,unit:f,units:m}),Object(o.createElement)(r.RangeControl,{className:"components-border-radius-control__range-control",value:_,min:0,max:v[f],initialPosition:0,withInputField:!1,onChange:e=>{t(void 0!==e?`${e}${f}`:void 0)},step:k})):Object(o.createElement)(p,{min:0,onChange:t,values:n||O,units:m}),Object(o.createElement)(h,{onClick:()=>b(!l),isLinked:l})))}},XNw2:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"}));t.a=c},XgzB:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=c},Xkls:function(e,t,n){"use strict";var o=n("+DUQ"),r=n("GRId"),c=n("K9lf"),l=n("1CF3");const i=e=>e+1,a=e=>({top:e.offsetTop,left:e.offsetLeft});t.a=function(e){let{isSelected:t,adjustScrolling:n,enableAnimation:s,triggerAnimationOnChange:u}=e;const d=Object(r.useRef)(),b=Object(c.useReducedMotion)()||!s,[p,m]=Object(r.useReducer)(i,0),[f,h]=Object(r.useReducer)(i,0),[g,O]=Object(r.useState)({x:0,y:0}),v=Object(r.useMemo)(()=>d.current?a(d.current):null,[u]),j=Object(r.useMemo)(()=>{if(!n||!d.current)return()=>{};const e=Object(l.getScrollContainer)(d.current);if(!e)return()=>{};const t=d.current.getBoundingClientRect();return()=>{const n=d.current.getBoundingClientRect().top-t.top;n&&(e.scrollTop+=n)}},[u,n]);function k(e){let{value:n}=e,{x:o,y:r}=n;o=Math.round(o),r=Math.round(r),o===k.x&&r===k.y||(!function(e){let{x:n,y:o}=e;if(!d.current)return;const r=0===n&&0===o;d.current.style.transformOrigin=r?"":"center",d.current.style.transform=r?"":`translate3d(${n}px,${o}px,0)`,d.current.style.zIndex=!t||r?"":"1",j()}({x:o,y:r}),k.x=o,k.y=r)}return Object(r.useLayoutEffect)(()=>{p&&h()},[p]),Object(r.useLayoutEffect)(()=>{if(!v)return;if(b)return void j();d.current.style.transform="";const e=a(d.current);m(),O({x:Math.round(v.left-e.left),y:Math.round(v.top-e.top)})},[u]),k.x=0,k.y=0,Object(o.useSpring)({from:{x:g.x,y:g.y},to:{x:0,y:0},reset:p!==f,config:{mass:5,tension:2e3,friction:200},immediate:b,onChange:k}),d}},YLtl:function(e,t){e.exports=window.lodash},YZt4:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("HSyU"),c=n("BhPs");function l(e){return Object(o.useSelect)(t=>{const n=t(c.a).getBlockName(e),o=Object(r.getBlockType)(n);if((null==o?void 0:o.apiVersion)>1)return Object(r.getBlockDefaultClassName)(n)},[e])}},Z23Y:function(e,t){e.exports=window.wp.warning},ZAjO:function(e,t,n){"use strict";var o=n("GRId"),r=n("HSyU"),c=n("tI+e"),l=n("1ZqX"),i=n("q3tz"),a=n("1CF3");var s=n("BhPs");t.a=e=>{let{children:t,clientIds:n,cloneClassname:u,onDragStart:d,onDragEnd:b}=e;const{srcRootClientId:p,isDraggable:m,icon:f}=Object(l.useSelect)(e=>{var t;const{getBlockRootClientId:o,getTemplateLock:c,getBlockName:l}=e(s.a),i=o(n[0]),a=i?c(i):null,u=l(n[0]);return{srcRootClientId:i,isDraggable:"all"!==a,icon:null===(t=Object(r.getBlockType)(u))||void 0===t?void 0:t.icon}},[n]),h=Object(o.useRef)(!1),[g,O,v]=function(){const e=Object(o.useRef)(null),t=Object(o.useRef)(null),n=Object(o.useRef)(null),r=Object(o.useRef)(null);return Object(o.useEffect)(()=>()=>{r.current&&(clearInterval(r.current),r.current=null)},[]),[Object(o.useCallback)(o=>{e.current=o.clientY,n.current=Object(a.getScrollContainer)(o.target),r.current=setInterval(()=>{if(n.current&&t.current){const e=n.current.scrollTop+t.current;n.current.scroll({top:e})}},25)},[]),Object(o.useCallback)(o=>{if(!n.current)return;const r=n.current.offsetHeight,c=e.current-n.current.offsetTop,l=o.clientY-n.current.offsetTop;if(o.clientY>c){const e=Math.max(r-c-50,0),n=Math.max(l-c-50,0)/e;t.current=25*n}else if(o.clientY{e.current=null,n.current=null,r.current&&(clearInterval(r.current),r.current=null)}]}(),{startDraggingBlocks:j,stopDraggingBlocks:k}=Object(l.useDispatch)(s.a);if(Object(o.useEffect)(()=>()=>{h.current&&k()},[]),!m)return t({isDraggable:!1});const _={type:"block",srcClientIds:n,srcRootClientId:p};return Object(o.createElement)(c.Draggable,{cloneClassname:u,__experimentalTransferDataType:"wp-blocks",transferData:_,onDragStart:e=>{j(n),h.current=!0,g(e),d&&d()},onDragOver:O,onDragEnd:()=>{k(),h.current=!1,v(),b&&b()},__experimentalDragComponent:Object(o.createElement)(i.a,{count:n.length,icon:f})},e=>{let{onDraggableStart:n,onDraggableEnd:o}=e;return t({draggable:!0,onDragStart:n,onDragEnd:o})})}},Zzu2:function(e,t,n){"use strict";var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("tI+e"),i=n("l3Sj"),a=n("Tqx9");var s=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));t.a=function(e){let{className:t,actions:n,children:r,secondaryActions:a}=e;return Object(o.createElement)("div",{className:c()(t,"block-editor-warning")},Object(o.createElement)("div",{className:"block-editor-warning__contents"},Object(o.createElement)("p",{className:"block-editor-warning__message"},r),(o.Children.count(n)>0||a)&&Object(o.createElement)("div",{className:"block-editor-warning__actions"},o.Children.count(n)>0&&o.Children.map(n,(e,t)=>Object(o.createElement)("span",{key:t,className:"block-editor-warning__action"},e)),a&&Object(o.createElement)(l.DropdownMenu,{className:"block-editor-warning__secondary",icon:s,label:Object(i.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},()=>Object(o.createElement)(l.MenuGroup,null,a.map((e,t)=>Object(o.createElement)(l.MenuItem,{onClick:e.onClick,key:t},e.title)))))))}},abaT:function(e,t,n){"use strict";t.a=function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var r in n)o[n[r]]=r;var c={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var r,l,i=o[this.toHex()];if(i)return i;if(null==t?void 0:t.closest){var a=this.toRgb(),s=1/0,u="black";if(!c.length)for(var d in n)c[d]=new e(n[d]).toRgb();for(var b in n){var p=(r=a,l=c[b],Math.pow(r.r-l.r,2)+Math.pow(r.g-l.g,2)+Math.pow(r.b-l.b,2));p{if(t){const n=Object(o.find)(e,{slug:t});if(n)return n}return{color:n}},a=(e,t)=>Object(o.find)(e,{color:t});function s(e,t){if(e&&t)return`has-${Object(o.kebabCase)(t)}-${e}`}function u(e,t){const n=Object(r.a)(t);return Object(o.maxBy)(e,e=>{let{color:t}=e;return n.contrast(t)}).color}},beZb:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"}));t.a=c},btIw:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=c},c1Zz:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("tI+e"),c=n("1ZqX"),l=n("BhPs"),i=n("715p");function a(e){let{children:t,group:n,label:a}=e;const{clientId:s,attributes:u}=Object(c.useSelect)(e=>{const{getBlockAttributes:t,getSelectedBlockClientId:n}=e(l.a),o=n();return{clientId:o,attributes:t(o)}},[]),{updateBlockAttributes:d}=Object(c.useDispatch)(l.a);return Object(o.createElement)(r.__experimentalToolsPanel,{className:n+"-block-support-panel",label:a,resetAll:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{style:t}=u;let n={style:t};e.forEach(e=>{n={...n,...e(n)}}),n={...n,style:Object(i.a)(n.style)},d(s,n)},key:s,panelId:s,hasInnerWrapper:!0,shouldRenderPlaceholderItems:!0},t)}},cDcd:function(e,t){e.exports=window.React},cDhi:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}));var o=n("GRId");const r=Object(o.createContext)();function c(e){let{children:t}=e;const n=Object(o.useMemo)(()=>({refs:new Map,callbacks:new Map}),[]);return Object(o.createElement)(r.Provider,{value:n},t)}},cGtP:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=c},cjQ8:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20 10.8H6.7l4.1-4.5-1.1-1.1-5.8 6.3 5.8 5.8 1.1-1.1-4-3.9H20z"}));t.a=c},dfZa:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return i}));var o=n("nEW0"),r=n("cDcd");const c=Symbol.for("Animated:node"),l=e=>e&&e[c],i=(e,t)=>Object(o.h)(e,c,t),a=e=>e&&e[c]&&e[c].getPayload();class s{constructor(){this.payload=void 0,i(this,this)}getPayload(){return this.payload||[]}}class u extends s{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,o.s.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new u(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return o.s.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,o.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class d extends u{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Object(o.f)({output:[e,e]})}static create(e){return new d(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(o.s.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Object(o.f)({output:[this.getValue(),e]})),this._value=0,super.reset()}}const b={dependencies:null};class p extends s{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Object(o.l)(this.source,(n,r)=>{var l;(l=n)&&l[c]===l?t[r]=n.getValue(e):Object(o.r)(n)?t[r]=Object(o.q)(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Object(o.k)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Object(o.l)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){b.dependencies&&Object(o.r)(e)&&b.dependencies.add(e);const t=a(e);t&&Object(o.k)(t,e=>this.add(e))}}class m extends p{constructor(e){super(e)}static create(e){return new m(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(f)),!0)}}function f(e){return(Object(o.t)(e)?d:u).create(e)}function h(e){const t=l(e);return t?t.constructor:o.s.arr(e)?m:Object(o.t)(e)?d:u}function g(){return(g=Object.assign||function(e){for(var t=1;t{const n=!o.s.fun(e)||e.prototype&&e.prototype.isReactComponent;return Object(r.forwardRef)((c,l)=>{const i=Object(r.useRef)(null),a=n&&Object(r.useCallback)(e=>{i.current=function(e,t){e&&(o.s.fun(e)?e(t):e.current=t);return t}(l,e)},[l]),[s,u]=function(e,t){const n=new Set;b.dependencies=n,e.style&&(e=g({},e,{style:t.createAnimatedStyle(e.style)}));return e=new p(e),b.dependencies=null,[e,n]}(c,t),d=Object(o.z)(),m=()=>{const e=i.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&d()},f=new v(m,u),h=Object(r.useRef)();Object(o.A)(()=>{const e=h.current;h.current=f,Object(o.k)(u,e=>Object(o.c)(e,f)),e&&(Object(o.k)(e.deps,t=>Object(o.x)(t,e)),o.w.cancel(e.update))}),Object(r.useEffect)(m,[]),Object(o.C)(()=>()=>{const e=h.current;Object(o.k)(e.deps,t=>Object(o.x)(t,e))});const O=t.getComponentProps(s.getValue());return r.createElement(e,g({},O,{ref:a}))})};class v{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&o.w.write(this.update)}}const j=Symbol.for("AnimatedComponent"),k=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:r=(e=>e)}={})=>{const c={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},l=e=>{const t=_(e)||"Anonymous";return(e=o.s.str(e)?l[e]||(l[e]=O(e,c)):e[j]||(e[j]=O(e,c))).displayName=`Animated(${t})`,e};return Object(o.l)(e,(t,n)=>{o.s.arr(e)&&(n=_(t)),l[n]=l(t)}),{animated:l}},_=e=>o.s.str(e)?e:e&&o.s.str(e.displayName)?e.displayName:o.s.fun(e)&&e.name||null},eGrx:function(e,t){var n=e.exports=function(e){return new o(e)};function o(e){this.value=e}function r(e,t,n){var o=[],r=[],i=!0;return function e(d){var b=n?c(d):d,p={},m=!0,f={node:b,node_:d,path:[].concat(o),parent:r[r.length-1],parents:r,key:o.slice(-1)[0],isRoot:0===o.length,level:o.length,circular:null,update:function(e,t){f.isRoot||(f.parent.node[f.key]=e),f.node=e,t&&(m=!1)},delete:function(e){delete f.parent.node[f.key],e&&(m=!1)},remove:function(e){a(f.parent.node)?f.parent.node.splice(f.key,1):delete f.parent.node[f.key],e&&(m=!1)},keys:null,before:function(e){p.before=e},after:function(e){p.after=e},pre:function(e){p.pre=e},post:function(e){p.post=e},stop:function(){i=!1},block:function(){m=!1}};if(!i)return f;function h(){if("object"==typeof f.node&&null!==f.node){f.keys&&f.node_===f.node||(f.keys=l(f.node)),f.isLeaf=0==f.keys.length;for(var e=0;e{if(!e)return{};const{getBlockName:n,getBlockAttributes:o,__experimentalGetReusableBlockTitle:r}=t(l.a),i=n(e);if(!i)return{};const a=Object(c.isReusableBlock)(Object(c.getBlockType)(i));return{attributes:o(e),name:i,reusableBlockTitle:a&&r(o(e).ref)}},[e]),s=Object(i.a)(e);if(!n||!s)return null;const u=Object(c.getBlockType)(n),d=u?Object(c.__experimentalGetBlockLabel)(u,t):null,b=a||d;return b&&b!==u.title?Object(o.truncate)(b,{length:35}):s.title}},fHnH:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return T}));var o={grad:.9,turn:360,rad:360/(2*Math.PI)},r=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},c=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},i=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},l=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},a=function(e){return{r:i(e.r,0,255),g:i(e.g,0,255),b:i(e.b,0,255),a:i(e.a)}},s=function(e){return{r:c(e.r),g:c(e.g),b:c(e.b),a:c(e.a,3)}},u=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},b=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,c=Math.max(t,n,o),i=c-Math.min(t,n,o),l=i?c===t?(n-o)/i:c===n?2+(o-t)/i:4+(t-n)/i:0;return{h:60*(l<0?l+6:l),s:c?i/c*100:0,v:c/255*100,a:r}},p=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var c=Math.floor(t),i=o*(1-n),l=o*(1-(t-c)*n),a=o*(1-(1-t+c)*n),s=c%6;return{r:255*[o,l,i,i,a,o][s],g:255*[a,o,o,l,i,i][s],b:255*[i,i,a,o,o,l][s],a:r}},m=function(e){return{h:l(e.h),s:i(e.s,0,100),l:i(e.l,0,100),a:i(e.a)}},f=function(e){return{h:c(e.h),s:c(e.s),l:c(e.l),a:c(e.a,3)}},h=function(e){return p((n=(t=e).s,{h:t.h,s:(n*=((o=t.l)<50?o:100-o)/100)>0?2*n/(o+n)*100:0,v:o+n,a:t.a}));var t,n,o},g=function(e){return{h:(t=b(e)).h,s:(r=(200-(n=t.s))*(o=t.v)/100)>0&&r<200?n*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,n,o,r},O=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,j=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,k=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_={string:[[function(e){var t=u.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?c(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?c(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=j.exec(e)||k.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=O.exec(e)||v.exec(e);if(!t)return null;var n,r,c=m({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(o[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return h(c)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,c=e.a,i=void 0===c?1:c;return r(t)&&r(n)&&r(o)?a({r:Number(t),g:Number(n),b:Number(o),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,o=e.l,c=e.a,i=void 0===c?1:c;if(!r(t)||!r(n)||!r(o))return null;var l=m({h:Number(t),s:Number(n),l:Number(o),a:Number(i)});return h(l)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,c=e.a,a=void 0===c?1:c;if(!r(t)||!r(n)||!r(o))return null;var s=function(e){return{h:l(e.h),s:i(e.s,0,100),v:i(e.v,0,100),a:i(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(a)});return p(s)},"hsv"]]},y=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=(e=s(this.rgba)).r,n=e.g,o=e.b,i=(r=e.a)<1?d(c(255*r)):"","#"+d(t)+d(n)+d(o)+i;var e,t,n,o,r,i},e.prototype.toRgb=function(){return s(this.rgba)},e.prototype.toRgbString=function(){return t=(e=s(this.rgba)).r,n=e.g,o=e.b,(r=e.a)<1?"rgba("+t+", "+n+", "+o+", "+r+")":"rgb("+t+", "+n+", "+o+")";var e,t,n,o,r},e.prototype.toHsl=function(){return f(g(this.rgba))},e.prototype.toHslString=function(){return t=(e=f(g(this.rgba))).h,n=e.s,o=e.l,(r=e.a)<1?"hsla("+t+", "+n+"%, "+o+"%, "+r+")":"hsl("+t+", "+n+"%, "+o+"%)";var e,t,n,o,r},e.prototype.toHsv=function(){return e=b(this.rgba),{h:c(e.h),s:c(e.s),v:c(e.v),a:c(e.a,3)};var e},e.prototype.invert=function(){return I({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),I(C(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),I(C(this.rgba,-e))},e.prototype.grayscale=function(){return I(C(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),I(w(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),I(w(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?I({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):c(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=g(this.rgba);return"number"==typeof e?I({h:e,s:t.s,l:t.l,a:t.a}):c(t.h)},e.prototype.isEqual=function(e){return this.toHex()===I(e).toHex()},e}(),I=function(e){return e instanceof B?e:new B(e)},x=[],T=function(e){e.forEach((function(e){x.indexOf(e)<0&&(e(B,_),x.push(e))}))}},fOYa:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n("wx14"),r=n("GRId"),c=n("YLtl"),i=n("tI+e"),l=n("HSyU"),a=n("1ZqX");var s={default:Object(i.createSlotFill)("BlockControls"),block:Object(i.createSlotFill)("BlockControlsBlock"),inline:Object(i.createSlotFill)("BlockFormatControls"),other:Object(i.createSlotFill)("BlockControlsOther"),parent:Object(i.createSlotFill)("BlockControlsParent")},u=n("BhPs"),d=n("ur0x"),b=n("HgtZ");function p({group:e="default",controls:t,children:n,__experimentalShareWithChildBlocks:o=!1}){const p=function(e,t){const n=Object(b.a)(),{clientId:o}=Object(d.c)(),r=Object(a.useSelect)(e=>{const{getBlockName:n,hasSelectedInnerBlock:r}=e(u.a),{hasBlockSupport:c}=e(l.store);return t&&c(n(o),"__experimentalExposeControlsToChildren",!1)&&r(o)},[t,o]);var c;return n?null===(c=s[e])||void 0===c?void 0:c.Fill:r?s.parent.Fill:null}(e,o);return p?Object(r.createElement)(i.__experimentalStyleProvider,{document:document},Object(r.createElement)(p,null,o=>{const l=Object(c.isEmpty)(o)?null:o;return Object(r.createElement)(i.__experimentalToolbarContext.Provider,{value:l},"default"===e&&Object(r.createElement)(i.ToolbarGroup,{controls:t}),n)})):null}function m({group:e="default",...t}){const n=Object(r.useContext)(i.__experimentalToolbarContext),c=s[e].Slot,l=Object(i.__experimentalUseSlot)(c.__unstableName);return Boolean(l.fills&&l.fills.length)?"default"===e?Object(r.createElement)(c,Object(o.a)({},t,{bubblesVirtually:!0,fillProps:n})):Object(r.createElement)(i.ToolbarGroup,null,Object(r.createElement)(c,Object(o.a)({},t,{bubblesVirtually:!0,fillProps:n}))):null}const f=p;f.Slot=m;const h=e=>Object(r.createElement)(p,Object(o.a)({group:"inline"},e));h.Slot=e=>Object(r.createElement)(m,Object(o.a)({group:"inline"},e));t.b=f},fPbg:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=c},faye:function(e,t){e.exports=window.ReactDOM},felP:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("1CF3"),r=n("RxS6"),c=n("1ZqX"),i=n("K9lf"),l=n("BhPs");function a(e){const t=Object(c.useSelect)(t=>t(l.a).isBlockSelected(e),[e]),{getBlockRootClientId:n,getBlockIndex:a}=Object(c.useSelect)(l.a),{insertDefaultBlock:s,removeBlock:u}=Object(c.useDispatch)(l.a);return Object(i.useRefEffect)(c=>{if(t)return c.addEventListener("keydown",i),c.addEventListener("dragstart",l),()=>{c.removeEventListener("keydown",i),c.removeEventListener("dragstart",l)};function i(t){const{keyCode:i,target:l}=t;i!==r.ENTER&&i!==r.BACKSPACE&&i!==r.DELETE||l!==c||Object(o.isTextField)(l)||(t.preventDefault(),i===r.ENTER?s({},n(e),a(e)+1):u(e))}function l(e){e.preventDefault()}},[e,t,n,a,s,u])}},g56x:function(e,t){e.exports=window.wp.hooks},gdqT:function(e,t){e.exports=window.wp.a11y},hF7m:function(e,t){e.exports=window.wp.keyboardShortcuts},hHnB:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("l3Sj"),a=n("K9lf"),s=n("tI+e"),u=n("zQI6"),d=n("TVFh");function b(e){return Object(r.useMemo)(()=>{const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children)},[e])}t.a=Object(r.forwardRef)((function({contentRef:e,children:t,head:n,tabIndex:c=0,...p},m){var f,h;const[,g]=Object(r.useReducer)(()=>({})),[O,v]=Object(r.useState)(),[j,k]=Object(r.useState)([]),_=b(null===(f=window.__editorAssets)||void 0===f?void 0:f.styles),y=b(null===(h=window.__editorAssets)||void 0===h?void 0:h.scripts),E=Object(u.b)(),[C,S,w]=Object(d.b)(),B=Object(a.useRefEffect)(e=>{function t(){const{contentDocument:t,ownerDocument:n}=e,{readyState:o,documentElement:r}=t;return("interactive"===o||"complete"===o)&&(function(e){const{defaultView:t}=e,{frameElement:n}=t;function o(e){const o=Object.getPrototypeOf(e).constructor.name,r=window[o],c={};for(const t in e)c[t]=e[t];if(e instanceof t.MouseEvent){const e=n.getBoundingClientRect();c.clientX+=e.left,c.clientY+=e.top}const i=new r(e.type,c);!n.dispatchEvent(i)&&e.preventDefault()}const r=["dragover"];for(const t of r)e.addEventListener(t,o)}(t),v(t),E(r),k(Array.from(n.body.classList).filter(e=>e.startsWith("admin-color-")||"wp-embed-responsive"===e)),t.dir=n.dir,r.removeChild(t.head),r.removeChild(t.body),!0)}t()||e.addEventListener("load",()=>{t()})},[]),I=Object(a.useRefEffect)(e=>{y.reduce((t,n)=>t.then(()=>async function(e,{id:t,src:n}){return new Promise((o,r)=>{const c=e.ownerDocument.createElement("script");c.id=t,n?(c.src=n,c.onload=()=>o(),c.onerror=()=>r()):o(),e.appendChild(c)})}(e,n)),Promise.resolve()).finally(()=>{g()})},[]),x=Object(a.useMergeRefs)([e,E,S]);return Object(r.useEffect)(()=>{var e;O&&(e=O,Array.from(document.styleSheets).forEach(t=>{try{t.cssRules}catch(e){return}const{ownerNode:n,cssRules:o}=t;if(o&&"LINK"===n.tagName&&"wp-reset-editor-styles-css"!==n.id&&Array.from(o).find(({selectorText:e})=>e&&(e.includes(".editor-styles-wrapper")||e.includes(".wp-block")))&&!e.getElementById(n.id)){console.warn(`Stylesheet ${n.id} was not properly added.\nFor blocks, use the block API's style (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#style) or editorStyle (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#editor-style).\nFor themes, use add_editor_style (https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#editor-styles).`,n.outerHTML),e.head.appendChild(n.cloneNode(!0));const t=n.id.replace("-css","-inline-css"),o=document.getElementById(t);o&&e.head.appendChild(o.cloneNode(!0))}}))},[O]),n=Object(r.createElement)(r.Fragment,null,Object(r.createElement)("style",null,"body{margin:0}"),_.map(({tagName:e,href:t,id:n,rel:o,media:c,textContent:i})=>{const l=e.toLowerCase();return"style"===l?Object(r.createElement)(l,{id:n,key:n},i):Object(r.createElement)(l,{href:t,id:n,rel:o,media:c,key:n})}),n),Object(r.createElement)(r.Fragment,null,c>=0&&C,Object(r.createElement)("iframe",Object(o.a)({},p,{ref:Object(a.useMergeRefs)([m,B]),tabIndex:c,title:Object(l.__)("Editor canvas")}),O&&Object(r.createPortal)(Object(r.createElement)(r.Fragment,null,Object(r.createElement)("head",{ref:I},n),Object(r.createElement)("body",{ref:x,className:i()("editor-styles-wrapper",...j)},Object(r.createElement)(s.__experimentalStyleProvider,{document:O},t))),O.documentElement)),c>=0&&w)}))},hMaJ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("YLtl"),a=n("tI+e"),s=n("l3Sj"),u=n("v5LD");const d=["colors","disableCustomColors","gradients","disableCustomGradients"];function b({colors:e,gradients:t,disableCustomColors:n,disableCustomGradients:o,__experimentalHasMultipleOrigins:c,className:u,label:d,onColorChange:b,onGradientChange:p,colorValue:m,gradientValue:f,clearable:h,showTitle:g=!0}){const O=b&&(!Object(l.isEmpty)(e)||!n),v=p&&(!Object(l.isEmpty)(t)||!o),[j,k]=Object(r.useState)(f?"gradient":!!O&&"color");return O||v?Object(r.createElement)(a.BaseControl,{className:i()("block-editor-color-gradient-control",u)},Object(r.createElement)("fieldset",null,Object(r.createElement)(a.__experimentalVStack,{spacing:1},g&&Object(r.createElement)("legend",null,Object(r.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(r.createElement)(a.BaseControl.VisualLabel,null,d))),O&&v&&Object(r.createElement)(a.__experimentalToggleGroupControl,{value:j,onChange:k,label:Object(s.__)("Select color type"),hideLabelFromVision:!0,isBlock:!0},Object(r.createElement)(a.__experimentalToggleGroupControlOption,{value:"color",label:Object(s.__)("Solid")}),Object(r.createElement)(a.__experimentalToggleGroupControlOption,{value:"gradient",label:Object(s.__)("Gradient")})),("color"===j||!v)&&Object(r.createElement)(a.ColorPalette,{value:m,onChange:v?e=>{b(e),p()}:b,colors:e,disableCustomColors:n,__experimentalHasMultipleOrigins:c,clearable:h}),("gradient"===j||!O)&&Object(r.createElement)(a.GradientPicker,{value:f,onChange:O?e=>{p(e),b()}:p,gradients:t,disableCustomGradients:o,__experimentalHasMultipleOrigins:c,clearable:h})))):null}function p(e){const t={};return t.colors=Object(u.a)("color.palette"),t.gradients=Object(u.a)("color.gradients"),t.disableCustomColors=!Object(u.a)("color.custom"),t.disableCustomGradients=!Object(u.a)("color.customGradient"),Object(r.createElement)(b,Object(o.a)({},t,e))}t.a=function(e){return Object(l.every)(d,t=>e.hasOwnProperty(t))?Object(r.createElement)(b,e):Object(r.createElement)(p,e)}},hw9B:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs"),i=n("OL6h");function l(e,t){Array.from(e.closest(".is-root-container").querySelectorAll(".rich-text")).forEach(e=>{t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")})}function a(e){const{startMultiSelect:t,stopMultiSelect:n,multiSelect:a,selectBlock:s}=Object(o.useDispatch)(c.a),{isSelectionEnabled:u,isBlockSelected:d,getBlockParents:b,getBlockSelectionStart:p,hasMultiSelection:m}=Object(o.useSelect)(c.a);return Object(r.useRefEffect)(o=>{const{ownerDocument:r}=o,{defaultView:c}=r;let f,h;function g({isSelectionEnd:t}){const n=c.getSelection();if(!n.rangeCount||n.isCollapsed)return void l(o,!0);const r=Object(i.a)(n.focusNode);if(e===r){if(s(e),t&&(l(o,!0),n.rangeCount)){const{commonAncestorContainer:e}=n.getRangeAt(0);f.contains(e)&&f.focus()}}else{const t=[...b(e),e],n=[...b(r),r],o=Math.min(t.length,n.length)-1;a(t[o],n[o])}}function O(){r.removeEventListener("selectionchange",g),c.removeEventListener("mouseup",O),h=c.requestAnimationFrame(()=>{g({isSelectionEnd:!0}),n()})}function v({buttons:n}){1===n&&u()&&d(e)&&(f=r.activeElement,t(),r.addEventListener("selectionchange",g),c.addEventListener("mouseup",O),l(o,!1))}function j(t){if(u()&&0===t.button)if(t.shiftKey){const n=p(),r=b(n);if(n&&n!==e&&(null==r||!r.includes(e))){const c=[...r,n],i=[...b(e),e],s=Math.min(c.length,i.length)-1,u=c[s],d=i[s];u!==d&&(l(o,!1),a(u,d),t.preventDefault())}}else m()&&s(e)}return o.addEventListener("mousedown",j),o.addEventListener("mouseleave",v),()=>{o.removeEventListener("mousedown",j),o.removeEventListener("mouseleave",v),r.removeEventListener("selectionchange",g),c.removeEventListener("mouseup",O),c.cancelAnimationFrame(h)}},[e,t,n,a,s,u,d,b])}},iA5R:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new(((o=n("smQA"))&&o.__esModule?o:{default:o}).default);t.characterDiff=r},iClF:function(e,t,n){"use strict";var o=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(o.cloneElement)(e,{width:t,height:t,...n})}},j6zP:function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("q3tz");t.a=({isEnabled:e,blocks:t,icon:n,children:i})=>{const l={type:"inserter",blocks:t};return Object(o.createElement)(r.Draggable,{__experimentalTransferDataType:"wp-blocks",transferData:l,__experimentalDragComponent:Object(o.createElement)(c.a,{count:t.length,icon:n})},({onDraggableStart:t,onDraggableEnd:n})=>i({draggable:e,onDragStart:e?t:void 0,onDragEnd:e?n:void 0}))}},jB5C:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;tObject(l.getSaveContent)(e.name,e.attributes,e.innerBlocks)).join(""));var u;const d=(b=e.originalContent,m=s,Object(f.diffChars)(b,m).map((e,t)=>{const n=c()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(o.createElement)("span",{key:t,className:n},e.value)}));var b,m;return Object(o.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(o.createElement)(h,{title:Object(p.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:Object(p.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),Object(o.createElement)(h,{title:Object(p.__)("After Conversion"),className:"block-editor-block-compare__converted",action:n,actionText:a,rawContent:d,renderedContent:s}))},O=n("BhPs");const v=e=>Object(l.rawHandler)({HTML:e.originalContent});var j=Object(u.compose)([Object(s.withSelect)((e,{clientId:t})=>({block:e(O.a).getBlock(t)})),Object(s.withDispatch)((e,{block:t})=>{const{replaceBlock:n}=e(O.a);return{convertToClassic(){n(t.clientId,(e=>Object(l.createBlock)("core/freeform",{content:e.originalContent}))(t))},convertToHTML(){n(t.clientId,(e=>Object(l.createBlock)("core/html",{content:e.originalContent}))(t))},convertToBlocks(){n(t.clientId,v(t))},attemptBlockRecovery(){n(t.clientId,(({name:e,attributes:t,innerBlocks:n})=>Object(l.createBlock)(e,t,n))(t))}}})])((function({convertToHTML:e,convertToBlocks:t,convertToClassic:n,attemptBlockRecovery:r,block:c}){const i=!!Object(l.getBlockType)("core/html"),[s,u]=Object(o.useState)(!1),d=Object(o.useCallback)(()=>u(!0),[]),b=Object(o.useCallback)(()=>u(!1),[]),f=Object(o.useMemo)(()=>[{title:Object(p._x)("Resolve","imperative verb"),onClick:d},i&&{title:Object(p.__)("Convert to HTML"),onClick:e},{title:Object(p.__)("Convert to Classic Block"),onClick:n}].filter(Boolean),[d,e,n]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.a,{actions:[Object(o.createElement)(a.Button,{key:"recover",onClick:r,variant:"primary"},Object(p.__)("Attempt Block Recovery"))],secondaryActions:f},Object(p.__)("This block contains unexpected or invalid content.")),s&&Object(o.createElement)(a.Modal,{title:Object(p.__)("Resolve Block"),onRequestClose:b,className:"block-editor-block-compare"},Object(o.createElement)(g,{block:c,onKeep:e,onConvert:t,convertor:v,convertButtonText:Object(p.__)("Convert to Blocks")})))}));const k=Object(o.createElement)(m.a,{className:"block-editor-block-list__block-crash-warning"},Object(p.__)("This block has encountered an error and cannot be previewed."));var _=()=>k;class y extends o.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}}var E=y,C=n("O6Fj"),S=n.n(C);var w=function({clientId:e}){const[t,n]=Object(o.useState)(""),r=Object(s.useSelect)(t=>t(O.a).getBlock(e),[e]),{updateBlock:c}=Object(s.useDispatch)(O.a);return Object(o.useEffect)(()=>{n(Object(l.getBlockContent)(r))},[r]),Object(o.createElement)(S.a,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:()=>{const o=Object(l.getBlockType)(r.name);if(!o)return;const i=Object(l.getBlockAttributes)(o,t,r.attributes),a=t||Object(l.getSaveContent)(o,i),s=!t||Object(l.isValidBlockContent)(o,i,a);c(e,{attributes:i,originalContent:a,isValid:s}),t||n({content:a})},onChange:e=>n(e.target.value)})},B=n("nlh6");const I=Object(o.createContext)();function x({children:e,isHtml:t,...n}){return Object(o.createElement)("div",Object(B.a)(n,{__unstableIsHtml:t}),e)}const T=Object(s.withSelect)((e,{clientId:t,rootClientId:n})=>{const{isBlockSelected:o,getBlockMode:r,isSelectionEnabled:c,getTemplateLock:i,__unstableGetBlockWithoutInnerBlocks:l,canRemoveBlock:a,canMoveBlock:s}=e(O.a),u=l(t),d=o(t),b=i(n),p=a(t,n),m=s(t,n),{name:f,attributes:h,isValid:g}=u||{};return{mode:r(t),isSelectionEnabled:c(),isLocked:!!b,canRemove:p,canMove:m,block:u,name:f,attributes:h,isValid:g,isSelected:d}}),P=Object(s.withDispatch)((e,t,{select:n})=>{const{updateBlockAttributes:o,insertBlocks:r,mergeBlocks:c,replaceBlocks:i,toggleSelection:a,__unstableMarkLastChangeAsPersistent:s}=e(O.a);return{setAttributes(e){const{getMultiSelectedBlockClientIds:r}=n(O.a),c=r(),{clientId:i}=t,l=c.length?c:[i];o(l,e)},onInsertBlocks(e,n){const{rootClientId:o}=t;r(e,n,o)},onInsertBlocksAfter(e){const{clientId:o,rootClientId:c}=t,{getBlockIndex:i}=n(O.a),l=i(o,c);r(e,l+1,c)},onMerge(e){const{clientId:o}=t,{getPreviousBlockClientId:r,getNextBlockClientId:i}=n(O.a);if(e){const e=i(o);e&&c(o,e)}else{const e=r(o);e&&c(e,o)}},onReplace(e,n,o){e.length&&!Object(l.isUnmodifiedDefaultBlock)(e[e.length-1])&&s(),i([t.clientId],e,n,o)},toggleSelection(e){a(e)}}});t.b=Object(u.compose)(u.pure,T,P,Object(u.ifCondition)(({block:e})=>!!e),Object(a.withFilters)("editor.BlockListBlock"))((function({mode:e,isLocked:t,canRemove:n,clientId:r,isSelected:a,isSelectionEnabled:u,className:p,name:m,isValid:f,attributes:h,wrapperProps:g,setAttributes:v,onReplace:k,onInsertBlocksAfter:y,onMerge:C,toggleSelection:S}){const{removeBlock:B}=Object(s.useDispatch)(O.a),T=Object(o.useCallback)(()=>B(r),[r]);let P=Object(o.createElement)(b.a,{name:m,isSelected:a,attributes:h,setAttributes:v,insertBlocksAfter:t?void 0:y,onReplace:n?k:void 0,onRemove:n?T:void 0,mergeBlocks:n?C:void 0,clientId:r,isSelectionEnabled:u,toggleSelection:S});const R=Object(l.getBlockType)(m);null!=R&&R.getEditWrapperProps&&(g=function(e,t){const n={...e,...t};return e&&t&&e.className&&t.className&&(n.className=c()(e.className,t.className)),e&&t&&e.style&&t.style&&(n.style={...e.style,...t.style}),n}(g,R.getEditWrapperProps(h)));const N=g&&!!g["data-align"];let L;if(N&&(P=Object(o.createElement)("div",{className:"wp-block","data-align":g["data-align"]},P)),f)L="html"===e?Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{display:"none"}},P),Object(o.createElement)(x,{isHtml:!0},Object(o.createElement)(w,{clientId:r}))):(null==R?void 0:R.apiVersion)>1?P:Object(o.createElement)(x,g,P);else{const e=Object(l.getSaveContent)(R,h);L=Object(o.createElement)(x,{className:"has-warning"},Object(o.createElement)(j,{clientId:r}),Object(o.createElement)(o.RawHTML,null,Object(d.safeHTML)(e)))}const M={clientId:r,className:p,wrapperProps:Object(i.omit)(g,["data-align"]),isAligned:N},A=Object(o.useMemo)(()=>M,Object.values(M));return Object(o.createElement)(I.Provider,{value:A},Object(o.createElement)(E,{fallback:Object(o.createElement)(x,{className:"has-warning"},Object(o.createElement)(_,null))},L))}))},jTPX:function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},jrfk:function(e,t){var n,o,r,c,i,l,a,s,u,d,b,p,m,f,h,g=!1;function O(){if(!g){g=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),O=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),f=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),b=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var v=/(?:Trident\/(\d+.\d+))/.exec(e);l=v?parseFloat(v[1])+4:n,o=t[2]?parseFloat(t[2]):NaN,r=t[3]?parseFloat(t[3]):NaN,(c=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=t&&t[1]?parseFloat(t[1]):NaN):i=NaN}else n=o=r=i=c=NaN;if(O){if(O[1]){var j=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!j||parseFloat(j[1].replace("_","."))}else a=!1;s=!!O[2],u=!!O[3]}else a=s=u=!1}}var v={ie:function(){return O()||n},ieCompatibilityMode:function(){return O()||l>n},ie64:function(){return v.ie()&&b},firefox:function(){return O()||o},opera:function(){return O()||r},webkit:function(){return O()||c},safari:function(){return v.webkit()},chrome:function(){return O()||i},windows:function(){return O()||s},osx:function(){return O()||a},linux:function(){return O()||u},iphone:function(){return O()||p},mobile:function(){return O()||p||m||d||h},nativeApp:function(){return O()||f},android:function(){return O()||d},ipad:function(){return O()||m}};e.exports=v},jwne:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("tI+e"),i=(n("Z23Y"),n("c1Zz")),l=n("asom"),a=n("VrEk");function s({__experimentalGroup:t="default",bubblesVirtually:n=!0,label:s,...u}){var d;const b=null===(d=a.a[t])||void 0===d?void 0:d.Slot,p=Object(c.__experimentalUseSlot)(null==b?void 0:b.__unstableName);if(!b||!p)return void 0!==e&&e.env,null;return Boolean(p.fills&&p.fills.length)?s?Object(r.createElement)(i.a,{group:t,label:s},Object(r.createElement)(l.a,Object(o.a)({},u,{bubblesVirtually:n,Slot:b}))):Object(r.createElement)(b,Object(o.a)({},u,{bubblesVirtually:n})):null}}).call(this,n("8oxB"))},kBLm:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs");function i(e){if(e.defaultPrevented)return;const t="mouseover"===e.type?"add":"remove";e.preventDefault(),e.currentTarget.classList[t]("is-hovered")}function l(){const e=Object(o.useSelect)(e=>{const{isNavigationMode:t,getSettings:n}=e(c.a);return t()||n().outlineMode},[]);return Object(r.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",i),t.addEventListener("mouseover",i),()=>{t.removeEventListener("mouseout",i),t.removeEventListener("mouseover",i),t.classList.remove("is-hovered")}},[e])}},kVRd:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("GRId"),r=n("tI+e"),c=n("Tqx9");var i=Object(o.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(c.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})),l=n("Crq9"),a=n("l3Sj");const s=[{name:Object(a.__)("Underline"),value:"underline",icon:i},{name:Object(a.__)("Strikethrough"),value:"line-through",icon:l.a}];function u({value:e,onChange:t}){return Object(o.createElement)("fieldset",{className:"block-editor-text-decoration-control"},Object(o.createElement)("legend",null,Object(a.__)("Decoration")),Object(o.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},s.map(n=>Object(o.createElement)(r.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:n.value===e,onClick:()=>t(n.value===e?void 0:n.value),"aria-label":n.name}))))}},kWXm:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"}));t.a=c},kaUp:function(e,t){},kmrn:function(e,t,n){"use strict";n.d(t,"useSpring",(function(){return he}));var o=n("nEW0");n.d(t,"Globals",(function(){return o.b}));var r=n("cDcd"),c=n("dfZa");n("kaUp"),n("v8Ku");function i(){return(i=Object.assign||function(e){for(var t=1;t!0===e||!!(t&&e&&(o.s.fun(e)?e(t):Object(o.y)(e).includes(t))),s=(e,t)=>o.s.obj(e)?t&&e[t]:e,u=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,d=e=>e,b=(e,t=d)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const c of n){const n=t(e[c],c);o.s.und(n)||(r[c]=n)}return r},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],m={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function f(e){const t=function(e){const t={};let n=0;if(Object(o.l)(e,(e,o)=>{m[o]||(t[o]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Object(o.l)(e,(e,o)=>o in t||(n[o]=e)),n}return i({},e)}function h(e){return e=Object(o.q)(e),o.s.arr(e)?e.map(h):Object(o.t)(e)?o.b.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function g(e){for(const t in e)return!0;return!1}function O(e){return o.s.fun(e)||o.s.arr(e)&&o.s.obj(e[0])}function v(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function j(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const k=i({},{tension:170,friction:26},{mass:1,damping:1,easing:e=>e,clamp:!1});class _{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,k)}}function y(e,t){if(o.s.und(t.decay)){const n=!o.s.und(t.tension)||!o.s.und(t.friction);!n&&o.s.und(t.frequency)&&o.s.und(t.damping)&&o.s.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const E=[];class C{constructor(){this.changed=!1,this.values=E,this.toValues=null,this.fromValues=E,this.to=void 0,this.from=void 0,this.config=new _,this.immediate=!1}}function S(e,{key:t,props:n,defaultProps:r,state:c,actions:s}){return new Promise((u,d)=>{var b;let p,m,f=a(null!=(b=n.cancel)?b:null==r?void 0:r.cancel,t);if(f)O();else{o.s.und(n.pause)||(c.paused=a(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=c.paused||a(e,t)),p=l(n.delay||0,t),e?(c.resumeQueue.add(g),s.pause()):(s.resume(),g())}function h(){c.resumeQueue.add(g),c.timeouts.delete(m),m.cancel(),p=m.time-o.w.now()}function g(){p>0?(m=o.w.setTimeout(O,p),c.pauseQueue.add(h),c.timeouts.add(m)):O()}function O(){c.pauseQueue.delete(h),c.timeouts.delete(m),e<=(c.cancelId||0)&&(f=!0);try{s.start(i({},n,{callId:e,cancel:f}),u)}catch(e){d(e)}}})}const w=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?x(e.get()):t.every(e=>e.noop)?B(e.get()):I(e.get(),t.every(e=>e.finished)),B=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),I=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),x=e=>({value:e,cancelled:!0,finished:!1});function T(e,t,n,r){const{callId:c,parentId:l,onRest:a}=t,{asyncTo:s,promise:u}=n;return l||e!==s||t.reset?n.promise=(async()=>{n.asyncId=c,n.asyncTo=e;const d=b(t,(e,t)=>"onRest"===t?void 0:e);let p,m;const f=new Promise((e,t)=>(p=e,m=t)),h=e=>{const t=c<=(n.cancelId||0)&&x(r)||c!==n.asyncId&&I(r,!1);if(t)throw e.result=t,m(e),e},g=(e,t)=>{const l=new R,a=new N;return(async()=>{if(o.b.skipAnimation)throw P(n),a.result=I(r,!1),m(a),a;h(l);const s=o.s.obj(e)?i({},e):i({},t,{to:e});s.parentId=c,Object(o.l)(d,(e,t)=>{o.s.und(s[t])&&(s[t]=e)});const u=await r.start(s);return h(l),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),u})()};let O;if(o.b.skipAnimation)return P(n),I(r,!1);try{let t;t=o.s.arr(e)?(async e=>{for(const t of e)await g(t)})(e):Promise.resolve(e(g,r.stop.bind(r))),await Promise.all([t.then(p),f]),O=I(r.get(),!0,!1)}catch(e){if(e instanceof R)O=e.result;else{if(!(e instanceof N))throw e;O=e.result}}finally{c==n.asyncId&&(n.asyncId=l,n.asyncTo=l?s:void 0,n.promise=l?u:void 0)}return o.s.fun(a)&&o.w.batchedUpdates(()=>{a(O,r,r.item)}),O})():u}function P(e,t){Object(o.m)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class R extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class N extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const L=e=>e instanceof A;let M=1;class A extends o.a{constructor(...e){super(...e),this.id=M++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Object(c.e)(this);return e&&e.getValue()}to(...e){return o.b.to(this,e)}interpolate(...e){return Object(o.j)(),o.b.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Object(o.d)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||o.o.sort(this),Object(o.d)(this,{type:"priority",parent:this,priority:e})}}const D=Symbol.for("SpringPhase"),F=e=>(1&e[D])>0,z=e=>(2&e[D])>0,H=e=>(4&e[D])>0,V=(e,t)=>t?e[D]|=3:e[D]&=-3,G=(e,t)=>t?e[D]|=4:e[D]&=-5;class U extends A{constructor(e,t){if(super(),this.key=void 0,this.animation=new C,this.queue=void 0,this.defaultProps={},this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!o.s.und(e)||!o.s.und(t)){const n=o.s.obj(e)?i({},e):i({},t,{from:e});o.s.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(z(this)||this._state.asyncTo)||H(this)}get goal(){return Object(o.q)(this.animation.to)}get velocity(){const e=Object(c.e)(this);return e instanceof c.c?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return F(this)}get isAnimating(){return z(this)}get isPaused(){return H(this)}advance(e){let t=!0,n=!1;const r=this.animation;let{config:i,toValues:l}=r;const a=Object(c.g)(r.to);!a&&Object(o.r)(r.to)&&(l=Object(o.y)(Object(o.q)(r.to))),r.values.forEach((s,u)=>{if(s.done)return;const d=s.constructor==c.b?1:a?a[u].lastPosition:l[u];let b=r.immediate,p=d;if(!b){if(p=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[u],c=null!=s.v0?s.v0:s.v0=o.s.arr(i.velocity)?i.velocity[u]:i.velocity;let l;if(o.s.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,o=Math.exp(-(1-e)*t);p=n+c/(1-e)*(1-o),b=Math.abs(s.lastPosition-p)<.1,l=c*o}else{l=null==s.lastVelocity?c:s.lastVelocity;const t=i.precision||(n==d?.005:Math.min(1,.001*Math.abs(d-n))),r=i.restVelocity||t/10,a=i.clamp?0:i.bounce,u=!o.s.und(a),m=n==d?s.v0>0:nr,f||(b=Math.abs(d-p)<=t,!b));++e){u&&(h=p==d||p>d==m,h&&(l=-l*a,p=d));l+=(1e-6*-i.tension*(p-d)+.001*-i.friction*l)/i.mass*g,p+=l*g}}else{let o=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),o=(i.progress||0)+t/this._memoizedDuration,o=o>1?1:o<0?0:o,s.durationProgress=o),p=n+i.easing(o)*(d-n),l=(p-s.lastPosition)/e,b=1==o}s.lastVelocity=l,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),b=!0)}a&&!a[u].done&&(b=!1),b?s.done=!0:t=!1,s.setValue(p,i.round)&&(n=!0)});const s=Object(c.e)(this),u=s.getValue();if(t){const e=Object(o.q)(r.to);u===e&&!n||i.decay?n&&i.decay&&this._onChange(u):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(u)}set(e){return o.w.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(z(this)){const{to:e,config:t}=this.animation;o.w.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return o.s.und(e)?(n=this.queue||[],this.queue=[]):n=[o.s.obj(e)?e:i({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>w(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),P(this._state,e&&this._lastCallId),o.w.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=o.s.obj(n)?n[t]:n,(null==n||O(n))&&(n=void 0),r=o.s.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return F(this)||(e.reverse&&([n,r]=[r,n]),r=Object(o.q)(r),o.s.und(r)?Object(c.e)(this)||this._set(n):this._set(r)),i}_update(e,t){let n=i({},e);const{key:r,defaultProps:c}=this;n.default&&Object.assign(c,b(n,(e,t)=>/^on/.test(t)?s(e,r):e)),Z(this,n,"onProps"),Q(this,"onProps",n,this);const l=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return S(++this._lastCallId,{key:r,props:n,defaultProps:c,state:a,actions:{pause:()=>{H(this)||(G(this,!0),Object(o.n)(a.pauseQueue),Q(this,"onPause",I(this,W(this,this.animation.to)),this))},resume:()=>{H(this)&&(G(this,!1),z(this)&&this._resume(),Object(o.n)(a.resumeQueue),Q(this,"onResume",I(this,W(this,this.animation.to)),this))},start:this._merge.bind(this,l)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=q(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(x(this));const r=!o.s.und(e.to),s=!o.s.und(e.from);if(r||s){if(!(t.callId>this._lastToId))return n(x(this));this._lastToId=t.callId}const{key:u,defaultProps:d,animation:b}=this,{to:p,from:m}=b;let{to:f=p,from:g=m}=e;!s||r||t.default&&!o.s.und(f)||(f=g),t.reverse&&([f,g]=[g,f]);const v=!Object(o.u)(g,m);v&&(b.from=g),g=Object(o.q)(g);const j=!Object(o.u)(f,p);j&&this._focus(f);const _=O(t.to),{config:E}=b,{decay:C,velocity:S}=E;(r||s)&&(E.velocity=0),t.config&&!_&&function(e,t,n){n&&(y(n=i({},n),t),t=i({},n,t)),y(e,t),Object.assign(e,t);for(const t in k)null==e[t]&&(e[t]=k[t]);let{mass:r,frequency:c,damping:l}=e;o.s.und(c)||(c<.01&&(c=.01),l<0&&(l=0),e.tension=Math.pow(2*Math.PI/c,2)*r,e.friction=4*Math.PI*l*r/c)}(E,l(t.config,u),t.config!==d.config?l(d.config,u):void 0);let w=Object(c.e)(this);if(!w||o.s.und(f))return n(I(this,!0));const P=o.s.und(t.reset)?s&&!t.default:!o.s.und(g)&&a(t.reset,u),R=P?g:this.get(),N=h(f),L=o.s.num(N)||o.s.arr(N)||Object(o.t)(N),M=!_&&(!L||a(d.immediate||t.immediate,u));if(j){const e=Object(c.f)(f);if(e!==w.constructor){if(!M)throw Error(`Cannot animate between ${w.constructor.name} and ${e.name}, as the "to" prop suggests`);w=this._set(N)}}const A=w.constructor;let D=Object(o.r)(f),H=!1;if(!D){const e=P||!F(this)&&v;(j||e)&&(H=Object(o.u)(h(R),N),D=!H),(Object(o.u)(b.immediate,M)||M)&&Object(o.u)(E.decay,C)&&Object(o.u)(E.velocity,S)||(D=!0)}if(H&&z(this)&&(b.changed&&!P?D=!0:D||this._stop(p)),!_&&((D||Object(o.r)(p))&&(b.values=w.getPayload(),b.toValues=Object(o.r)(f)?null:A==c.b?[1]:Object(o.y)(N)),b.immediate!=M&&(b.immediate=M,M||P||this._set(p)),D)){const{onRest:e}=b;Object(o.k)(X,e=>Z(this,t,e));const r=I(this,W(this,p));Object(o.n)(this._pendingCalls,r),this._pendingCalls.add(n),b.changed&&o.w.batchedUpdates(()=>{b.changed=!P,null==e||e(r,this),P?l(d.onRest,r):null==b.onStart||b.onStart(r,this)})}P&&this._set(R),_?n(T(t.to,t,this._state,this)):D?this._start():z(this)&&!j?this._pendingCalls.add(n):n(B(R))}_focus(e){const t=this.animation;e!==t.to&&(Object(o.p)(this)&&this._detach(),t.to=e,Object(o.p)(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Object(o.r)(t)&&(Object(o.c)(t,this),L(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Object(o.r)(e)&&Object(o.x)(e,this)}_set(e,t=!0){const n=Object(o.q)(e);if(!o.s.und(n)){const e=Object(c.e)(this);if(!e||!Object(o.u)(n,e.getValue())){const r=Object(c.f)(n);e&&e.constructor==r?e.setValue(n):Object(c.h)(this,r.create(n)),e&&o.w.batchedUpdates(()=>{this._onChange(n,t)})}}return Object(c.e)(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Q(this,"onStart",I(this,W(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),l(this.animation.onChange,e,this)),l(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Object(c.e)(this).reset(Object(o.q)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),z(this)||(V(this,!0),H(this)||this._resume())}_resume(){o.b.skipAnimation?this.finish():o.o.start(this)}_stop(e,t){if(z(this)){V(this,!1);const n=this.animation;Object(o.k)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(o.d)(this,{type:"idle",parent:this});const r=t?x(this.get()):I(this.get(),W(this,null!=e?e:n.to));Object(o.n)(this._pendingCalls,r),n.changed&&(n.changed=!1,Q(this,"onRest",r,this))}}}function W(e,t){const n=h(t),r=h(e.get());return Object(o.u)(r,n)}function q(e,t=e.loop,n=e.to){let o=l(t);if(o){const r=!0!==o&&f(o),c=(r||e).reverse,l=!r||r.reset;return K(i({},e,{loop:t,default:!1,pause:void 0,to:!c||O(n)?n:void 0,from:l?e.from:void 0,reset:l},r))}}function K(e){const{to:t,from:n}=e=f(e),r=new Set;return o.s.obj(t)&&Y(t,r),o.s.obj(n)&&Y(n,r),e.keys=r.size?Array.from(r):null,e}function $(e){const t=K(e);return o.s.und(t.default)&&(t.default=b(t)),t}function Y(e,t){Object(o.l)(e,(e,n)=>null!=e&&t.add(n))}const X=["onStart","onRest","onChange","onPause","onResume"];function Z(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function Q(e,t,...n){var o,r,c,i;null==(o=(r=e.animation)[t])||o.call(r,...n),null==(c=(i=e.defaultProps)[t])||c.call(i,...n)}const J=["onStart","onChange","onRest"];let ee=1;class te{constructor(e,t){this.id=ee++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(i({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];o.s.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(K(e)),this}start(e){let{queue:t}=this;return e?t=Object(o.y)(e).map(K):this.queue=[],this._flush?this._flush(this,t):(le(this,t),ne(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Object(o.k)(Object(o.y)(t),t=>n[t].stop(!!e))}else P(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(o.s.und(e))this.start({pause:!0});else{const t=this.springs;Object(o.k)(Object(o.y)(e),e=>t[e].pause())}return this}resume(e){if(o.s.und(e))this.start({pause:!1});else{const t=this.springs;Object(o.k)(Object(o.y)(e),e=>t[e].resume())}return this}each(e){Object(o.l)(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,c=this._changed.size>0;(r&&!this._started||c&&!this._started)&&(this._started=!0,Object(o.m)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!r&&this._started,l=c||i&&n.size?this.get():null;c&&t.size&&Object(o.m)(t,([e,t])=>{t.value=l,e(t,this,this._item)}),i&&(this._started=!1,Object(o.m)(n,([e,t])=>{t.value=l,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}o.w.onFrame(this._onFrame)}}function ne(e,t){return Promise.all(t.map(t=>async function e(t,n,r){const{keys:c,to:i,from:l,loop:a,onRest:s,onResolve:d}=n,b=o.s.obj(n.default)&&n.default;a&&(n.loop=!1);!1===i&&(n.to=null);!1===l&&(n.from=null);const p=o.s.arr(i)||o.s.fun(i)?i:void 0;p?(n.to=void 0,n.onRest=void 0,b&&(b.onRest=void 0)):Object(o.k)(J,e=>{const r=n[e];if(o.s.fun(r)){const o=t._events[e];n[e]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},b&&(b[e]=n[e])}});const m=t._state;n.pause===!m.paused?(m.paused=n.pause,Object(o.n)(n.pause?m.pauseQueue:m.resumeQueue)):m.paused&&(n.pause=!0);const f=(c||Object.keys(t.springs)).map(e=>t.springs[e].start(n)),h=!0===n.cancel||!0===u(n,"cancel");(p||h&&m.asyncId)&&f.push(S(++t._lastAsyncId,{props:n,state:m,actions:{pause:o.v,resume:o.v,start(e,n){h?(P(m,t._lastAsyncId),n(x(t))):(e.onRest=s,n(T(p,e,m,t)))}}}));m.paused&&await new Promise(e=>{m.resumeQueue.add(e)});const g=w(t,await Promise.all(f));if(a&&g.finished&&(!r||!g.noop)){const o=q(n,a,i);if(o)return le(t,[o]),e(t,o,!0)}d&&o.w.batchedUpdates(()=>d(g,t,t.item));return g}(e,t))).then(t=>w(e,t))}function oe(e,t){const n=i({},e.springs);return t&&Object(o.k)(Object(o.y)(t),e=>{o.s.und(e.keys)&&(e=K(e)),o.s.obj(e.to)||(e=i({},e,{to:void 0})),ie(n,e,e=>ce(e))}),re(e,n),n}function re(e,t){Object(o.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(o.c)(t,e))})}function ce(e,t){const n=new U;return n.key=e,t&&Object(o.c)(n,t),n}function ie(e,t,n){t.keys&&Object(o.k)(t.keys,o=>{(e[o]||(e[o]=n(o)))._prepareNode(t)})}function le(e,t){Object(o.k)(t,t=>{ie(e.springs,t,t=>ce(t,e))})}function ae(e,t){if(null==e)return{};var n,o,r={},c=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}const se=["children"],ue=e=>{let{children:t}=e,n=ae(e,se);const c=Object(r.useContext)(de),i=n.pause||!!c.pause,l=n.immediate||!!c.immediate;n=Object(o.B)(()=>({pause:i,immediate:l}),[i,l]);const{Provider:a}=de;return r.createElement(a,{value:n},t)},de=(be=ue,pe={},Object.assign(be,r.createContext(pe)),be.Provider._context=be,be.Consumer._context=be,be);var be,pe;ue.Provider=de.Provider,ue.Consumer=de.Consumer;const me=()=>{const e=[],t=function(t){Object(o.i)();const r=[];return Object(o.k)(e,(e,c)=>{if(o.s.und(t))r.push(e.start());else{const o=n(t,e,c);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Object(o.k)(e,e=>e.pause(...arguments)),this},t.resume=function(){return Object(o.k)(e,e=>e.resume(...arguments)),this},t.set=function(t){Object(o.k)(e,e=>e.set(t))},t.start=function(t){const n=[];return Object(o.k)(e,(e,r)=>{if(o.s.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}}),n},t.stop=function(){return Object(o.k)(e,e=>e.stop(...arguments)),this},t.update=function(t){return Object(o.k)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return o.s.fun(e)?e(n,t):e};return t._getProps=n,t};function fe(e,t,n){const c=o.s.fun(t)&&t;c&&!n&&(n=[]);const l=Object(r.useMemo)(()=>c||3==arguments.length?me():void 0,[]),a=Object(r.useRef)(0),s=Object(o.z)(),u=Object(r.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){const n=oe(e,t);return a.current>0&&!u.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?ne(e,t):new Promise(o=>{re(e,n),u.queue.push(()=>{o(ne(e,t))}),s()})}}),[]),d=Object(r.useRef)([...u.ctrls]),b=[],p=Object(o.D)(e)||0;function m(e,n){for(let o=e;o{Object(o.k)(d.current.slice(e,p),e=>{v(e,l),e.stop(!0)}),d.current.length=e,m(p,e)},[e]),Object(r.useMemo)(()=>{m(0,Math.min(p,e))},n);const f=d.current.map((e,t)=>oe(e,b[t])),h=Object(r.useContext)(ue),O=Object(o.D)(h),k=h!==O&&g(h);Object(o.A)(()=>{a.current++,u.ctrls=d.current;const{queue:e}=u;e.length&&(u.queue=[],Object(o.k)(e,e=>e())),Object(o.k)(d.current,(e,t)=>{null==l||l.add(e),k&&e.start({default:h});const n=b[t];n&&(j(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Object(o.C)(()=>()=>{Object(o.k)(u.ctrls,e=>e.stop(!0))});const _=f.map(e=>i({},e));return l?[_,l]:_}function he(e,t){const n=o.s.fun(e),[[r],c]=fe(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,c]:r}let ge;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(ge||(ge={}));class Oe extends A{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Object(o.f)(...t);const n=this._get(),r=Object(c.f)(n);Object(c.h)(this,r.create(n))}advance(e){const t=this._get(),n=this.get();Object(o.u)(t,n)||(Object(c.e)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&je(this._active)&&ke(this)}_get(){const e=o.s.arr(this.source)?this.source.map(o.q):Object(o.y)(Object(o.q)(this.source));return this.calc(...e)}_start(){this.idle&&!je(this._active)&&(this.idle=!1,Object(o.k)(Object(c.g)(this),e=>{e.done=!1}),o.b.skipAnimation?(o.w.batchedUpdates(()=>this.advance()),ke(this)):o.o.start(this))}_attach(){let e=1;Object(o.k)(Object(o.y)(this.source),t=>{Object(o.r)(t)&&Object(o.c)(t,this),L(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Object(o.k)(Object(o.y)(this.source),e=>{Object(o.r)(e)&&Object(o.x)(e,this)}),this._active.clear(),ke(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Object(o.y)(this.source).reduce((e,t)=>Math.max(e,(L(t)?t.priority:0)+1),0))}}function ve(e){return!1!==e.idle}function je(e){return!e.size||Array.from(e).every(ve)}function ke(e){e.idle||(e.idle=!0,Object(o.k)(Object(c.g)(e),e=>{e.done=!0}),Object(o.d)(e,{type:"idle",parent:e}))}o.b.assign({createStringInterpolator:o.g,to:(e,t)=>new Oe(e,t)});o.o.advance},l3Sj:function(e,t){e.exports=window.wp.i18n},lJLt:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}));var o=n("l3Sj");const r={insertUsage:{}},c={alignWide:!1,supportsLayout:!0,colors:[{name:Object(o.__)("Black"),slug:"black",color:"#000000"},{name:Object(o.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(o.__)("White"),slug:"white",color:"#ffffff"},{name:Object(o.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(o.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(o.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(o.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(o.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(o.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(o.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(o.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(o.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(o._x)("Small","font size name"),size:13,slug:"small"},{name:Object(o._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(o._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(o._x)("Large","font size name"),size:36,slug:"large"},{name:Object(o._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:Object(o.__)("Thumbnail")},{slug:"medium",name:Object(o.__)("Medium")},{slug:"large",name:Object(o.__)("Large")},{slug:"full",name:Object(o.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],__unstableGalleryWithImageBlocks:!1,gradients:[{name:Object(o.__)("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(o.__)("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(o.__)("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(o.__)("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(o.__)("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(o.__)("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(o.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(o.__)("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(o.__)("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(o.__)("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(o.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(o.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]}},mdLt:function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e");t.a=function({title:e,icon:t,children:n}){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-inserter__panel-header"},Object(o.createElement)("h2",{className:"block-editor-inserter__panel-title"},e),Object(o.createElement)(r.Icon,{icon:t})),Object(o.createElement)("div",{className:"block-editor-inserter__panel-content"},n))}},mlss:function(e,t,n){"use strict";var o=n("tI+e");const{Fill:r,Slot:c}=Object(o.createSlotFill)("__unstableInserterMenuExtension");r.Slot=c,t.a=r},nEW0:function(e,t,n){"use strict";n.d(t,"w",(function(){return r})),n.d(t,"a",(function(){return Oe})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return je})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return q})),n.d(t,"f",(function(){return ue})),n.d(t,"g",(function(){return Ie})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return Le})),n.d(t,"j",(function(){return Re})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return I})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return H})),n.d(t,"p",(function(){return he})),n.d(t,"q",(function(){return fe})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return Me})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return ke})),n.d(t,"y",(function(){return B})),n.d(t,"z",(function(){return Fe})),n.d(t,"A",(function(){return Ge})),n.d(t,"B",(function(){return He})),n.d(t,"C",(function(){return Ae})),n.d(t,"D",(function(){return Ve}));let o=O();const r=e=>m(e,o);let c=O();r.write=e=>m(e,c);let i=O();r.onStart=e=>m(e,i);let l=O();r.onFrame=e=>m(e,l);let a=O();r.onFinish=e=>m(e,a);let s=[];r.setTimeout=(e,t)=>{let n=r.now()+t,o=()=>{let e=s.findIndex(e=>e.cancel==o);~e&&s.splice(e,1),j.count-=~e?1:0},c={time:n,handler:e,cancel:o};return s.splice(u(n),0,c),j.count+=1,f(),c};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);r.cancel=e=>{o.delete(e),c.delete(e)},r.sync=e=>{p=!0,r.batchedUpdates(e),p=!1},r.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function o(...e){t=e,r.onStart(n)}return o.handler=e,o.cancel=()=>{i.delete(n),t=null},o};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};r.use=e=>d=e,r.now="undefined"!=typeof performance?()=>performance.now():Date.now,r.batchedUpdates=e=>e(),r.catch=console.error,r.frameLoop="always",r.advance=()=>{"demand"!==r.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):g()};let b=-1,p=!1;function m(e,t){p?(t.delete(e),e(0)):(t.add(e),f())}function f(){b<0&&(b=0,"demand"!==r.frameLoop&&d(h))}function h(){~b&&(d(h),r.batchedUpdates(g))}function g(){let e=b;b=r.now();let t=u(b);t&&(v(s.splice(0,t),e=>e.handler()),j.count-=t),i.flush(),o.flush(e?Math.min(64,b-e):16.667),l.flush(),c.flush(),a.flush()}function O(){let e=new Set,t=e;return{add(n){j.count+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(j.count-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,j.count-=t.size,v(t,t=>t(n)&&e.add(t)),j.count+=e.size,t=e)}}}function v(e,t){e.forEach(e=>{try{t(e)}catch(e){r.catch(e)}})}const j={count:0,clear(){b=-1,s=[],i=O(),o=O(),l=O(),c=O(),a=O(),j.count=0}};var k=n("cDcd");function _(){}const y=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),E={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function C(e,t){if(E.arr(e)){if(!E.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function w(e,t,n){if(E.arr(e))for(let o=0;oE.und(e)?[]:E.arr(e)?e:[e];function I(e,t){if(e.size){const n=Array.from(e);e.clear(),S(n,t)}}const x=(e,...t)=>I(e,e=>e(...t));let T,P,R=null,N=!1,L=_;var M=Object.freeze({__proto__:null,get createStringInterpolator(){return T},get to(){return P},get colors(){return R},get skipAnimation(){return N},get willAdvance(){return L},assign:e=>{e.to&&(P=e.to),e.now&&(r.now=e.now),void 0!==e.colors&&(R=e.colors),null!=e.skipAnimation&&(N=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&r.use(e.requestAnimationFrame),e.batchedUpdates&&(r.batchedUpdates=e.batchedUpdates),e.willAdvance&&(L=e.willAdvance),e.frameLoop&&(r.frameLoop=e.frameLoop)}});const A=new Set;let D=[],F=[],z=0;const H={get idle(){return!A.size&&!D.length},start(e){z>e.priority?(A.add(e),r.onStart(V)):(G(e),r(W))},advance:W,sort(e){if(z)r.onFrame(()=>H.sort(e));else{const t=D.indexOf(e);~t&&(D.splice(t,1),U(e))}},clear(){D=[],A.clear()}};function V(){A.forEach(G),A.clear(),r(W)}function G(e){D.includes(e)||U(e)}function U(e){D.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(D,t=>t.priority>e.priority),0,e)}function W(e){const t=F;for(let n=0;n0}const q={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},K="[-+]?\\d*\\.?\\d+";function $(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const Y=new RegExp("rgb"+$(K,K,K)),X=new RegExp("rgba"+$(K,K,K,K)),Z=new RegExp("hsl"+$(K,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Q=new RegExp("hsla"+$(K,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",K)),J=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{6})$/,ne=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function re(e,t,n){const o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,c=oe(r,o,e+1/3),i=oe(r,o,e),l=oe(r,o,e-1/3);return Math.round(255*c)<<24|Math.round(255*i)<<16|Math.round(255*l)<<8}function ce(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ie(e){return(parseFloat(e)%360+360)%360/360}function le(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ae(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function se(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=te.exec(e))?parseInt(t[1]+"ff",16)>>>0:R&&void 0!==R[e]?R[e]:(t=Y.exec(e))?(ce(t[1])<<24|ce(t[2])<<16|ce(t[3])<<8|255)>>>0:(t=X.exec(e))?(ce(t[1])<<24|ce(t[2])<<16|ce(t[3])<<8|le(t[4]))>>>0:(t=J.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ne.exec(e))?parseInt(t[1],16)>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Z.exec(e))?(255|re(ie(t[1]),ae(t[2]),ae(t[3])))>>>0:(t=Q.exec(e))?(re(ie(t[1]),ae(t[2]),ae(t[3]))|le(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const ue=(e,t,n)=>{if(E.fun(e))return e;if(E.arr(e))return ue({range:e,output:t,extrapolate:n});if(E.str(e.output[0]))return T(e);const o=e,r=o.output,c=o.range||[0,1],i=o.extrapolateLeft||o.extrapolate||"extend",l=o.extrapolateRight||o.extrapolate||"extend",a=o.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,c);return function(e,t,n,o,r,c,i,l,a){let s=a?a(e):e;if(sn){if("identity"===l)return s;"clamp"===l&&(s=n)}if(o===r)return o;if(t===n)return e<=t?o:r;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=c(s),o===-1/0?s=-s:r===1/0?s+=o:s=s*(r-o)+o;return s}(e,c[t],c[t+1],r[t],r[t+1],a,i,l,o.map)}};function de(){return(de=Object.assign||function(e){for(var t=1;tBoolean(e&&e[be]),fe=e=>e&&e[be]?e[be]():e,he=e=>e[pe]||null;function ge(e,t){let n=e[pe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class Oe{constructor(e){if(this[be]=void 0,this[pe]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");ve(this,e)}}const ve=(e,t)=>_e(e,be,t);function je(e,t){if(e[be]){let n=e[pe];n||_e(e,pe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function ke(e,t){let n=e[pe];if(n&&n.has(t)){const o=n.size-1;o?n.delete(t):e[pe]=null,e.observerRemoved&&e.observerRemoved(o,t)}}const _e=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ye=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ee=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ce=new RegExp(`(${ye.source})(%|[a-z]+)`,"i");let Se;const we=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Be=(e,t,n,o,r)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(o)}, ${r})`,Ie=e=>{Se||(Se=R?new RegExp(`(${Object.keys(R).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>fe(e).replace(Ee,se).replace(Se,se)),n=t.map(e=>e.match(ye).map(Number)),o=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>ue(de({},e,{output:t})));return e=>{var n;const r=!Ce.test(t[0])&&(null==(n=t.find(e=>Ce.test(e)))?void 0:n.replace(ye,""));let c=0;return t[0].replace(ye,()=>`${o[c++](e)}${r||""}`).replace(we,Be)}},xe="react-spring: ",Te=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(xe+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Pe=Te(console.warn);function Re(){Pe(xe+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const Ne=Te(console.warn);function Le(){Ne(xe+'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions')}function Me(e){return E.str(e)&&("#"==e[0]||/\d/.test(e)||e in(R||{}))}const Ae=e=>Object(k.useEffect)(e,De),De=[];function Fe(){const e=Object(k.useState)()[1],t=Object(k.useState)(ze)[0];return Ae(t.unmount),()=>{t.current&&e({})}}function ze(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function He(e,t){const[n]=Object(k.useState)(()=>({inputs:t,result:e()})),o=Object(k.useRef)(),r=o.current;let c=r;if(c){Boolean(t&&c.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{o.current=c,r==n&&(n.inputs=n.result=void 0)},[c]),c.result}function Ve(e){const t=Object(k.useRef)();return Object(k.useEffect)(()=>{t.current=e}),t.current}const Ge="undefined"!=typeof window&&window.document&&window.document.createElement?k.useLayoutEffect:k.useEffect},nQUx:function(e,t,n){"use strict";var o=n("YLtl"),r=n("GRId"),c=n("HSyU"),i=n("1ZqX"),l=n("l3Sj"),a=n("onLe"),s=n("BhPs");t.a=(e,t)=>{const{patternCategories:n,patterns:u}=Object(i.useSelect)(e=>{const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(s.a);return{patterns:n(t),patternCategories:o().__experimentalBlockPatternCategories}},[t]),{createSuccessNotice:d}=Object(i.useDispatch)(a.store);return[u,n,Object(r.useCallback)((t,n)=>{e(Object(o.map)(n,e=>Object(c.cloneBlock)(e)),t.name),d(Object(l.sprintf)(Object(l.__)('Block pattern "%s" inserted.'),t.title),{type:"snackbar"})},[])]}},nlh6:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return w}));var o=n("TSYQ"),r=n.n(o),c=n("GRId"),i=n("l3Sj"),l=n("HSyU"),a=n("K9lf"),s=n("1ZqX"),u=(n("Z23Y"),n("Xkls")),d=n("jBNB"),b=n("z+q2"),p=n("kBLm"),m=n("ur0x"),f=n("Q2Xw"),h=n("YZt4"),g=n("ERVc"),O=n("+6d5"),v=n("6jxZ"),j=n("felP"),k=n("JDWi"),_=n("G4zt"),y=n("PKbb"),E=n("hw9B"),C=n("rHRV"),S=n("BhPs");function w(t={},{__unstableIsHtml:n}={}){const{clientId:o,className:w,wrapperProps:B={},isAligned:I}=Object(c.useContext)(d.a),{index:x,mode:T,name:P,blockApiVersion:R,blockTitle:N,isPartOfSelection:L,adjustScrolling:M,enableAnimation:A}=Object(s.useSelect)(e=>{const{getBlockRootClientId:t,getBlockIndex:n,getBlockMode:r,getBlockName:c,isTyping:i,getGlobalBlockCount:a,isBlockSelected:s,isBlockMultiSelected:u,isAncestorMultiSelected:d,isFirstMultiSelectedBlock:b}=e(S.a),p=s(o),m=u(o)||d(o),f=c(o),h=t(o),g=Object(l.getBlockType)(f);return{index:n(o,h),mode:r(o),name:f,blockApiVersion:(null==g?void 0:g.apiVersion)||1,blockTitle:null==g?void 0:g.title,isPartOfSelection:p||m,adjustScrolling:p||b(o),enableAnimation:!i()&&a()<=200}},[o]),D=Object(i.sprintf)(Object(i.__)("Block: %s"),N),F="html"!==T||n?"":"-visual",z=Object(a.useMergeRefs)([t.ref,Object(b.a)(o),Object(_.a)(o),Object(y.c)(o),Object(v.a)(o),Object(E.a)(o),Object(j.a)(o),Object(k.a)(o),Object(p.a)(),Object(C.a)(),Object(u.a)({isSelected:L,adjustScrolling:M,enableAnimation:A,triggerAnimationOnChange:x})]),H=Object(m.c)();return R<2&&o===H.clientId&&void 0!==e&&e.env,{...B,...t,ref:z,id:`block-${o}${F}`,tabIndex:0,role:"document","aria-label":D,"data-block":o,"data-type":P,"data-title":N,className:r()(r()("block-editor-block-list__block",{"wp-block":!I}),w,t.className,B.className,Object(f.a)(o),Object(h.a)(o),Object(g.a)(o),Object(O.a)(o)),style:{...B.style,...t.style}}}w.save=l.__unstableGetBlockProps}).call(this,n("8oxB"))},o97j:function(e,t,n){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen,isInWorker:!o};e.exports=r},onLe:function(e,t){e.exports=window.wp.notices},p3NJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return P}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("K9lf"),a=n("1ZqX"),s=n("HSyU"),u=n("I5Hl"),d=n("ur0x");var b=Object(l.createHigherOrderComponent)(e=>t=>{const{clientId:n}=Object(d.c)();return Object(r.createElement)(e,Object(o.a)({},t,{clientId:n}))},"withClientId");var p=b(({clientId:e,showSeparator:t,isFloating:n,onAddBlock:o,isToggle:c})=>Object(r.createElement)(u.b,{className:i()({"block-list-appender__toggle":c}),rootClientId:e,showSeparator:t,isFloating:n,onAddBlock:o})),m=n("YLtl"),f=n("5L8O"),h=n("BhPs");var g=Object(l.compose)([b,Object(a.withSelect)((e,{clientId:t})=>{const{getBlockOrder:n}=e(h.a),o=n(t);return{lastBlockClientId:Object(m.last)(o)}})])(({clientId:e,lastBlockClientId:t})=>Object(r.createElement)(f.a,{rootClientId:e,lastBlockClientId:t})),O=n("rl8x"),v=n.n(O),j=n("PPMp");const k=new WeakMap;var _=n("VyCT"),y=n("uoCR"),E=n("JGYp"),C=n("l3Sj"),S=n("/lNF"),w=n("vIlp");function B({rootClientId:e=""}={}){const[t,n]=Object(r.useState)(null),o=Object(a.useSelect)(t=>{const{getTemplateLock:n}=t(h.a);return"all"===n(e)},[e]),{getBlockListSettings:c}=Object(a.useSelect)(h.a),{showInsertionPoint:i,hideInsertionPoint:s}=Object(a.useDispatch)(h.a),u=Object(S.a)(e,t),d=Object(l.useThrottle)(Object(r.useCallback)((t,o)=>{var r;const l=function(e,t,n){const o="horizontal"===n?["left","right"]:["top","bottom"],r=Object(C.isRTL)();let c,i;return e.forEach((e,n)=>{const l=e.getBoundingClientRect(),[a,s]=Object(w.a)(t,l,o);if(void 0===i||ae.classList.contains("wp-block")),{x:t.clientX,y:t.clientY},null===(r=c(e))||void 0===r?void 0:r.orientation);n(void 0===l?0:l),null!==l&&i(e,l)},[]),200);return Object(l.__experimentalUseDropZone)({isDisabled:o,onDrop:u,onDragOver(e){d(e,e.currentTarget)},onDragLeave(){d.cancel(),s(),n(null)},onDragEnd(){d.cancel(),s(),n(null)}})}function I(e){const{clientId:t,allowedBlocks:n,__experimentalDefaultBlock:o,__experimentalDirectInsert:c,template:i,templateLock:l,wrapperRef:u,templateInsertUpdatesSelection:d,__experimentalCaptureToolbars:b,__experimentalAppenderTagName:p,renderAppender:f,orientation:g,placeholder:O,__experimentalLayout:E}=e;!function(e,t,n,o,c,i,l,s){const{updateBlockListSettings:u}=Object(a.useDispatch)(h.a),{blockListSettings:d,parentLock:b}=Object(a.useSelect)(t=>{const n=t(h.a).getBlockRootClientId(e);return{blockListSettings:t(h.a).getBlockListSettings(e),parentLock:t(h.a).getTemplateLock(n)}},[e]),p=Object(r.useMemo)(()=>t,t);Object(r.useLayoutEffect)(()=>{const t={allowedBlocks:p,templateLock:void 0===c?b:c};if(void 0!==i&&(t.__experimentalCaptureToolbars=i),void 0!==l)t.orientation=l;else{const e=Object(j.a)(null==s?void 0:s.type);t.orientation=e.getOrientation(s)}void 0!==n&&(t.__experimentalDefaultBlock=n),void 0!==o&&(t.__experimentalDirectInsert=o),v()(d,t)||u(e,t)},[e,d,p,n,o,c,b,i,l,u,s])}(t,n,o,c,l,b,g,E),function(e,t,n,o){const{getSelectedBlocksInitialCaretPosition:c}=Object(a.useSelect)(h.a),{replaceInnerBlocks:i}=Object(a.useDispatch)(h.a),l=Object(a.useSelect)(t=>t(h.a).getBlocks(e),[e]),u=Object(r.useRef)(null);Object(r.useLayoutEffect)(()=>{if(0===l.length||"all"===n){if(!Object(m.isEqual)(t,u.current)){u.current=t;const n=Object(s.synchronizeBlocksWithTemplate)(l,t);Object(m.isEqual)(n,l)||i(e,n,0===l.length&&o&&0!==n.length,c())}}},[l,t,n,e])}(t,i,l,d);const C=Object(a.useSelect)(e=>{const n=e(h.a).getBlock(t),o=Object(s.getBlockType)(n.name);if(o&&o.providesContext)return function(e,t){k.has(t)||k.set(t,new WeakMap);const n=k.get(t);if(!n.has(e)){const o=Object(m.mapValues)(t.providesContext,t=>e[t]);n.set(e,o)}return n.get(e)}(n.attributes,o)},[t]);return Object(r.createElement)(y.a,{value:C},Object(r.createElement)(_.a,{rootClientId:t,renderAppender:f,__experimentalAppenderTagName:p,__experimentalLayout:E,wrapperRef:u,placeholder:O}))}function x(e){return Object(E.a)(e),Object(r.createElement)(I,e)}const T=Object(r.forwardRef)((e,t)=>{const n=P({ref:t},e);return Object(r.createElement)("div",{className:"block-editor-inner-blocks"},Object(r.createElement)("div",n))});function P(e={},t={}){const{clientId:n}=Object(d.c)(),c=Object(l.useViewportMatch)("medium","<"),{__experimentalCaptureToolbars:u,hasOverlay:b}=Object(a.useSelect)(e=>{if(!n)return{};const{getBlockName:t,isBlockSelected:o,hasSelectedInnerBlock:r,isNavigationMode:i}=e(h.a),l=t(n),a=i()||c;return{__experimentalCaptureToolbars:e(s.store).hasBlockSupport(l,"__experimentalExposeControlsToChildren",!1),hasOverlay:"core/template"!==l&&!o(n)&&!r(n,!0)&&a}},[n,c]),p=Object(l.useMergeRefs)([e.ref,B({rootClientId:n})]),m={__experimentalCaptureToolbars:u,...t},f=m.value&&m.onChange?x:I;return{...e,ref:p,className:i()(e.className,"block-editor-block-list__layout",{"has-overlay":b}),children:n?Object(r.createElement)(f,Object(o.a)({},m,{clientId:n})):Object(r.createElement)(_.a,t)}}P.save=s.__unstableGetInnerBlocksProps,T.DefaultBlockAppender=g,T.ButtonBlockAppender=p,T.Content=()=>P.save().children;t.a=T},pOGT:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return p}));var o=n("YLtl");const r=e=>e.name||"",c=e=>e.title,i=e=>e.description||"",l=e=>e.keywords||[],a=e=>e.category,s=()=>null;function u(e=""){return e=(e=(e=Object(o.deburr)(e)).replace(/^\//,"")).toLowerCase()}const d=(e="")=>Object(o.words)(u(e)),b=(e,t,n,r)=>{if(0===d(r).length)return e;return p(e,r,{getCategory:e=>{var n;return null===(n=Object(o.find)(t,{slug:e.category}))||void 0===n?void 0:n.title},getCollection:e=>{var t;return null===(t=n[e.name.split("/")[0]])||void 0===t?void 0:t.title}})},p=(e=[],t="",n={})=>{if(0===d(t).length)return e;const o=e.map(e=>[e,m(e,t,n)]).filter(([,e])=>e>0);return o.sort(([,e],[,t])=>t-e),o.map(([e])=>e)};function m(e,t,n={}){const{getName:b=r,getTitle:p=c,getDescription:m=i,getKeywords:f=l,getCategory:h=a,getCollection:g=s}=n,O=b(e),v=p(e),j=m(e),k=f(e),_=h(e),y=g(e),E=u(t),C=u(v);let S=0;if(E===C)S+=30;else if(C.startsWith(E))S+=20;else{const e=[O,v,j,...k,_,y].join(" ");0===((e,t)=>Object(o.differenceWith)(e,d(t),(e,t)=>t.includes(e)))(Object(o.words)(E),e).length&&(S+=10)}return 0!==S&&O.startsWith("core/")&&S++,S}},pPDe:function(e,t,n){"use strict";var o,r;function c(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function l(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o{})}){const{replaceBlocks:b}=Object(l.useDispatch)(s.a);return t||n?Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(i.MenuItem,{onClick:()=>{(()=>{const t=Object(a.switchToBlockType)(o,c);t&&b(e,t)})(),d()}},Object(u._x)("Group","verb")),n&&Object(r.createElement)(i.MenuItem,{onClick:()=>{(()=>{const t=o[0].innerBlocks;t.length&&b(e,t)})(),d()}},Object(u._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}const{Fill:b,Slot:p}=Object(i.createSlotFill)("BlockSettingsMenuControls");function m({...e}){return Object(r.createElement)(i.__experimentalStyleProvider,{document:document},Object(r.createElement)(b,e))}m.Slot=({fillProps:e,clientIds:t=null})=>{const{selectedBlocks:n,selectedClientIds:u}=Object(l.useSelect)(e=>{const{getBlocksByClientId:n,getSelectedBlockClientIds:o}=e(s.a),r=null!==t?t:o();return{selectedBlocks:Object(c.map)(Object(c.compact)(n(r)),e=>e.name),selectedClientIds:r}},[t]),b=function(){const{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}=Object(l.useSelect)(e=>{var t;const{getBlockRootClientId:n,getBlocksByClientId:o,canInsertBlockType:r,getSelectedBlockClientIds:c}=e(s.a),{getGroupingBlockName:i}=e(a.store),l=c(),u=i(),d=r(u,null!=l&&l.length?n(l[0]):void 0),b=o(l),p=1===b.length&&(null===(t=b[0])||void 0===t?void 0:t.name)===u;return{clientIds:l,isGroupable:d&&b.length&&!p,isUngroupable:p&&!!b[0].innerBlocks.length,blocksSelection:b,groupingBlockName:u}},[]);return{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}}(),{isGroupable:m,isUngroupable:f}=b,h=m||f;return Object(r.createElement)(p,{fillProps:{...e,selectedBlocks:n,selectedClientIds:u}},t=>{if((null==t?void 0:t.length)>0||h)return Object(r.createElement)(i.MenuGroup,null,t,Object(r.createElement)(d,Object(o.a)({},b,{onClose:null==e?void 0:e.onClose})))})};t.a=m},plpT:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=c},q3tz:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("l3Sj"),c=n("tI+e"),i=n("xN+R"),l=n("7SSY");function a({count:e,icon:t}){return Object(o.createElement)("div",{className:"block-editor-block-draggable-chip-wrapper"},Object(o.createElement)("div",{className:"block-editor-block-draggable-chip"},Object(o.createElement)(c.Flex,{justify:"center",className:"block-editor-block-draggable-chip__content"},Object(o.createElement)(c.FlexItem,null,t?Object(o.createElement)(l.a,{icon:t}):Object(r.sprintf)(Object(r._n)("%d block","%d blocks",e),e)),Object(o.createElement)(c.FlexItem,null,Object(o.createElement)(l.a,{icon:i.a})))))}},qRz9:function(e,t){e.exports=window.wp.richText},qrxh:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),i=n("TSYQ"),l=n.n(i),a=n("gdqT"),s=n("l3Sj"),u=n("tI+e"),d=n("1ZqX"),b=n("K9lf"),p=n("HSyU"),m=n("Q4Sy"),f=n("xZzQ"),h=n("Wg7J"),g=n("AORF"),O=n("nQUx"),v=n("+G0a"),j=n("BhPs");function k({onSelect:e,rootClientId:t,clientId:n,isAppender:o}){const[c,i]=Object(r.useState)(""),[a,b]=Object(g.a)({onSelect:e,rootClientId:t,clientId:n,isAppender:o}),[p]=Object(v.a)(a,b),[m]=Object(O.a)(b,a),f=m.length&&!!c,k=f&&m.length>6||p.length>6,{setInserterIsOpened:_,insertionIndex:y}=Object(d.useSelect)(e=>{const{getSettings:o,getBlockIndex:r,getBlockCount:c}=e(j.a),i=r(n,t);return{setInserterIsOpened:o().__experimentalSetIsInserterOpened,insertionIndex:-1===i?c():i}},[n,t]);Object(r.useEffect)(()=>{_&&_(!1)},[_]);return Object(r.createElement)("div",{className:l()("block-editor-inserter__quick-inserter",{"has-search":k,"has-expand":_})},k&&Object(r.createElement)(u.SearchControl,{className:"block-editor-inserter__search",value:c,onChange:e=>{i(e)},label:Object(s.__)("Search for blocks and patterns"),placeholder:Object(s.__)("Search")}),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},Object(r.createElement)(h.a,{filterValue:c,onSelect:e,rootClientId:t,clientId:n,isAppender:o,maxBlockPatterns:f?2:0,maxBlockTypes:6,isDraggable:!1})),_&&Object(r.createElement)(u.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:()=>{_({rootClientId:t,insertionIndex:y,filterValue:c})},"aria-label":Object(s.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(s.__)("Browse all")))}const _=({onToggle:e,disabled:t,isOpen:n,blockTitle:c,hasSingleBlockType:i,toggleProps:l={}})=>{let a;a=i?Object(s.sprintf)(Object(s._x)("Add %s","directly add the only allowed block"),c):Object(s._x)("Add block","Generic label for block inserter button");const{onClick:d,...b}=l;return Object(r.createElement)(u.Button,Object(o.a)({icon:m.a,label:a,tooltipPosition:"bottom",onClick:function(t){e&&e(t),d&&d(t)},className:"block-editor-inserter__toggle","aria-haspopup":!i&&"true","aria-expanded":!i&&n,disabled:t},b))};class y extends r.Component{constructor(){super(...arguments),this.onToggle=this.onToggle.bind(this),this.renderToggle=this.renderToggle.bind(this),this.renderContent=this.renderContent.bind(this)}onToggle(e){const{onToggle:t}=this.props;t&&t(e)}renderToggle({onToggle:e,isOpen:t}){const{disabled:n,blockTitle:o,hasSingleBlockType:r,directInsertBlock:c,toggleProps:i,hasItems:l,renderToggle:a=_}=this.props;return a({onToggle:e,isOpen:t,disabled:n||!l,blockTitle:o,hasSingleBlockType:r,directInsertBlock:c,toggleProps:i})}renderContent({onClose:e}){const{rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:c,__experimentalIsQuick:i}=this.props;return i?Object(r.createElement)(k,{onSelect:()=>{e()},rootClientId:t,clientId:n,isAppender:o}):Object(r.createElement)(f.a,{onSelect:()=>{e()},rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:c})}render(){const{position:e,hasSingleBlockType:t,directInsertBlock:n,insertOnlyAllowedBlock:o,__experimentalIsQuick:c,onSelectOrClose:i}=this.props;return t||null!=n&&n.length?this.renderToggle({onToggle:o}):Object(r.createElement)(u.Dropdown,{className:"block-editor-inserter",contentClassName:l()("block-editor-inserter__popover",{"is-quick":c}),position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(s.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:i})}}t.a=Object(b.compose)([Object(d.withSelect)((e,{clientId:t,rootClientId:n})=>{const{getBlockRootClientId:o,hasInserterItems:r,__experimentalGetAllowedBlocks:i,__experimentalGetDirectInsertBlock:l}=e(j.a),{getBlockVariations:a}=e(p.store),s=i(n=n||o(t)||void 0),u=l(n),d=1===Object(c.size)(s)&&0===Object(c.size)(a(s[0].name,"inserter"));let b=!1;return d&&(b=s[0]),{hasItems:r(n),hasSingleBlockType:d,blockTitle:b?b.title:"",allowedBlockType:b,directInsertBlock:u,rootClientId:n}}),Object(d.withDispatch)((e,t,{select:n})=>({insertOnlyAllowedBlock(){const{rootClientId:o,clientId:r,isAppender:c,hasSingleBlockType:i,allowedBlockType:l,directInsertBlock:u,onSelectOrClose:d}=t;if(!(i||null!=u&&u.length))return;const{insertBlock:b}=e(j.a);b(null!=u&&u.length?Object(p.createBlock)(...u):Object(p.createBlock)(l.name),function(){const{getBlockIndex:e,getBlockSelectionEnd:t,getBlockOrder:i,getBlockRootClientId:l}=n(j.a);if(r)return e(r,o);const a=t();return!c&&a&&l(a)===o?e(a,o)+1:i(o).length}(),o),d&&d();const m=Object(s.sprintf)(Object(s.__)("%s block added"),l.title);Object(a.speak)(m)}})),Object(b.ifCondition)(({hasItems:e,isAppender:t,rootClientId:n,clientId:o})=>e||!t&&!n&&!o)])(y)},rH4q:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=c},rHRV:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("K9lf"),r=n("GRId"),c=n("VyCT");function i(){const e=Object(r.useContext)(c.b);return Object(o.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},rmEH:function(e,t){e.exports=window.wp.htmlEntities},smQA:function(e,t,n){"use strict";function o(){}function r(e,t,n,o,r){for(var c=0,i=t.length,l=0,a=0;ce.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(a+=s.count)}}var b=t[i-1];return i>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[i-2].value+=b.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,o.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var i=this;function l(e){return o?(setTimeout((function(){o(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=a+s,b=[{newPos:-1,components:[]}],p=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=a&&p+1>=s)return l([{value:this.join(t),count:t.length}]);function m(){for(var n=-1*u;n<=u;n+=2){var o=void 0,d=b[n-1],p=b[n+1],m=(p?p.newPos:0)-n;d&&(b[n-1]=void 0);var f=d&&d.newPos+1=a&&m+1>=s)return l(r(i,o.components,t,e,i.useLongestToken));b[n]=o}else b[n]=void 0}u++}if(o)!function e(){setTimeout((function(){if(u>d)return o();m()||e()}),0)}();else for(;u<=d;){var f=m();if(f)return f}},pushComponent:function(e,t,n){var o=e[e.length-1];o&&o.added===t&&o.removed===n?e[e.length-1]={count:o.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,o){for(var r=t.length,c=n.length,i=e.newPos,l=i-o,a=0;i+1e.includes(t)):!0===e?[...m]:[],!n||!0===e&&!t?Object(s.without)(o,...f):o}const g=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n}=t,r=h(Object(o.getBlockSupport)(n,"align"),Object(o.hasBlockSupport)(n,"alignWide",!0)),c=Object(p.a)(r).map(({name:e})=>e);return Object(i.createElement)(i.Fragment,null,!!c.length&&Object(i.createElement)(d.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(i.createElement)(b.a,{value:t.attributes.align,onChange:e=>{if(!e){var n,r;const c=Object(o.getBlockType)(t.name);(null==c||null===(n=c.attributes)||void 0===n||null===(r=n.align)||void 0===r?void 0:r.default)&&(e="")}t.setAttributes({align:e})},controls:c})),Object(i.createElement)(e,t))},"withToolbarControls"),O=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:r}=t,{align:l}=r,a=h(Object(o.getBlockSupport)(n,"align"),Object(o.hasBlockSupport)(n,"alignWide",!0)),s=Object(p.a)(a);if(void 0===l)return Object(i.createElement)(e,t);let u=t.wrapperProps;return s.some(e=>e.name===l)&&(u={...u,"data-align":l}),Object(i.createElement)(e,Object(c.a)({},t,{wrapperProps:u}))});Object(r.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(s.has)(e.attributes,["align","type"])||Object(o.hasBlockSupport)(e,"align")&&(e.attributes={...e.attributes,align:{type:"string",enum:[...m,""]}}),e})),Object(r.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",O),Object(r.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",g),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){const{align:r}=n;return h(Object(o.getBlockSupport)(t,"align"),Object(o.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=a()("align"+r,e.className)),e})),Object(r.addFilter)("blocks.registerBlockType","core/lock/addAttribute",(function(e){return Object(s.has)(e.attributes,["lock","type"])||(e.attributes={...e.attributes,lock:{type:"object"}}),e}));var v=n("tI+e"),j=n("l3Sj"),k=n("1oY3");const _=/[\s#]/g;const y=Object(u.createHigherOrderComponent)(e=>t=>{if(Object(o.hasBlockSupport)(t.name,"anchor")&&t.isSelected){const n="web"===i.Platform.OS,o=Object(i.createElement)(v.TextControl,{className:"html-anchor-control",label:Object(j.__)("HTML anchor"),help:Object(i.createElement)(i.Fragment,null,Object(j.__)("Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),n&&Object(i.createElement)(v.ExternalLink,{href:Object(j.__)("https://wordpress.org/support/article/page-jumps/")},Object(j.__)("Learn more about anchors"))),value:t.attributes.anchor||"",placeholder:n?null:Object(j.__)("Add an anchor"),onChange:e=>{e=e.replace(_,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),n&&Object(i.createElement)(k.b,{__experimentalGroup:"advanced"},o),!n&&"core/heading"===t.name&&Object(i.createElement)(k.b,null,Object(i.createElement)(v.PanelBody,{title:Object(j.__)("Heading settings")},o)))}return Object(i.createElement)(e,t)},"withInspectorControl");Object(r.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(s.has)(e.attributes,["anchor","type"])||Object(o.hasBlockSupport)(e,"anchor")&&(e.attributes={...e.attributes,anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),e})),Object(r.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",y),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(o.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));const E=Object(u.createHigherOrderComponent)(e=>t=>Object(o.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),Object(i.createElement)(k.b,{__experimentalGroup:"advanced"},Object(i.createElement)(v.TextControl,{autoComplete:"off",label:Object(j.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:e=>{t.setAttributes({className:""!==e?e:void 0})},help:Object(j.__)("Separate multiple classes with spaces.")}))):Object(i.createElement)(e,t),"withInspectorControl");Object(r.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(o.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes={...e.attributes,className:{type:"string"}}),e})),Object(r.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",E),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(o.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=a()(e.className,n.className)),e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(o.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(s.uniq)([Object(o.getBlockDefaultClassName)(t.name),...e.className.split(" ")]).join(" ").trim():e.className=Object(o.getBlockDefaultClassName)(t.name)),e}));var C=n("VyCT"),S=n("v5LD"),w=n("hMaJ"),B=n("bVpQ"),I=n("715p");const x=[];function T(e){const{attributes:{borderColor:t,style:n},setAttributes:o}=e,r=Object(S.a)("color.palette")||x,c=!Object(S.a)("color.custom"),l=!Object(S.a)("color.customGradient"),[a,s]=Object(i.useState)(()=>{var e,o;return null===(e=Object(B.b)(r,t,null==n||null===(o=n.border)||void 0===o?void 0:o.color))||void 0===e?void 0:e.color});return Object(i.createElement)(w.a,{label:Object(j.__)("Color"),colorValue:a,colors:r,gradients:void 0,disableCustomColors:c,disableCustomGradients:l,onColorChange:e=>{s(e);const t=Object(B.c)(r,e),c={...n,border:{...null==n?void 0:n.border,color:null!=t&&t.slug?void 0:e}},i=null!=t&&t.slug?t.slug:void 0;o({style:Object(I.a)(c),borderColor:i})}})}function P(e,t,n){var o;if(!z(t,"color")||H(t))return e;const{borderColor:r,style:c}=n,i=Object(B.a)("border-color",r),l=a()(e.className,{"has-border-color":r||(null==c||null===(o=c.border)||void 0===o?void 0:o.color),[i]:!!i});return e.className=l||void 0,e}const R=Object(u.createHigherOrderComponent)(e=>t=>{var n,o;const{name:r,attributes:l}=t,{borderColor:a}=l,s=Object(S.a)("color.palette")||x;if(!z(r,"color")||H(r))return Object(i.createElement)(e,t);const u={borderColor:a?null===(n=Object(B.b)(s,a))||void 0===n?void 0:n.color:void 0};let d=t.wrapperProps;return d={...t.wrapperProps,style:{...u,...null===(o=t.wrapperProps)||void 0===o?void 0:o.style}},Object(i.createElement)(e,Object(c.a)({},t,{wrapperProps:d}))});Object(r.addFilter)("blocks.registerBlockType","core/border/addAttributes",(function(e){return z(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/border/addSaveProps",P),Object(r.addFilter)("blocks.registerBlockType","core/border/addEditProps",(function(e){if(!z(e,"color")||H(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),P(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/border/with-border-color-palette-styles",R);var N=n("Wy3j");function L(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(N.a,{values:null==n||null===(t=n.border)||void 0===t?void 0:t.radius,onChange:e=>{let t={...n,border:{...null==n?void 0:n.border,radius:e}};void 0!==e&&""!==e||(t=Object(I.a)(t)),o({style:t})}})}var M=n("2YCo");const A=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(M.a,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.style,onChange:e=>{const t={...n,border:{...null==n?void 0:n.border,style:e}};o({style:Object(I.a)(t)})}})},D=e=>{const{attributes:{borderColor:t,style:n},setAttributes:o}=e,{width:r,color:c,style:l}=(null==n?void 0:n.border)||{},[a,s]=Object(i.useState)(),[u,d]=Object(i.useState)();Object(i.useEffect)(()=>{"none"!==l&&s(l)},[l]),Object(i.useEffect)(()=>{(t||c)&&d({name:t||void 0,color:c||void 0})},[t,c]);const b=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["px","em","rem"]});return Object(i.createElement)(v.__experimentalUnitControl,{value:r,label:Object(j.__)("Width"),min:0,onChange:e=>{let r={...n,border:{...null==n?void 0:n.border,width:e}},c=t;const i=0===parseFloat(e);i&&(c=void 0,r.border.color=void 0,r.border.style="none"),i||"none"!==l||(r.border.style=a),i||void 0!==t||(c=null==u?void 0:u.name,r.border.color=null==u?void 0:u.color),void 0!==e&&""!==e||(r=Object(I.a)(r)),o({borderColor:c,style:r})},units:b})};function F(e){const t=V(e),n=z(e.name),o=Object(S.a)("border.color")&&z(e.name,"color"),r=Object(S.a)("border.radius")&&z(e.name,"radius"),c=Object(S.a)("border.style")&&z(e.name,"style"),l=Object(S.a)("border.width")&&z(e.name,"width");return t||!n?null:Object(i.createElement)(k.b,null,Object(i.createElement)(v.PanelBody,{className:"block-editor-hooks__border-controls",title:Object(j.__)("Border"),initialOpen:!1},(l||c)&&Object(i.createElement)("div",{className:"block-editor-hooks__border-controls-row"},l&&Object(i.createElement)(D,e),c&&Object(i.createElement)(A,e)),o&&Object(i.createElement)(T,e),r&&Object(i.createElement)(L,e)))}function z(e,t="any"){if("web"!==i.Platform.OS)return!1;const n=Object(o.getBlockSupport)(e,"__experimentalBorder");return!0===n||("any"===t?!!(null!=n&&n.color||null!=n&&n.radius||null!=n&&n.width||null!=n&&n.style):!(null==n||!n[t]))}function H(e){const t=Object(o.getBlockSupport)(e,"__experimentalBorder");return null==t?void 0:t.__experimentalSkipSerialization}const V=()=>[!Object(S.a)("border.color"),!Object(S.a)("border.radius"),!Object(S.a)("border.style"),!Object(S.a)("border.width")].every(Boolean);var G=n("Cn0l"),U=n("yU1v"),W=n("6c9H"),q=n("PKbb");function K(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function $({settings:e,clientId:t,enableContrastChecking:n=!0,showTitle:o=!0}){const[r,c]=Object(i.useState)(),[l,a]=Object(i.useState)(),s=Object(q.b)(t);return Object(i.useEffect)(()=>{if(!n)return;if(!s.current)return;a(K(s.current).color);let e=s.current,t=K(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=K(e).backgroundColor;c(t)}),Object(i.createElement)(k.b,null,Object(i.createElement)(U.a,{title:Object(j.__)("Color"),initialOpen:!1,settings:e,showTitle:o,__experimentalHasMultipleOrigins:!0},n&&Object(i.createElement)(W.a,{backgroundColor:r,textColor:l})))}const Y=[],X=e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},Z=e=>{const t=Object(o.getBlockSupport)(e,"color");return null==t?void 0:t.__experimentalSkipSerialization},Q=e=>{const t=Object(o.getBlockSupport)(e,"color");return Object(s.isObject)(t)&&!!t.gradients};function J(e,t,n){var o,r,c,i,l,s;if(!X(t)||Z(t))return e;const u=Q(t),{backgroundColor:d,textColor:b,gradient:p,style:m}=n,f=Object(B.a)("background-color",d),h=Object(G.a)(p),g=Object(B.a)("color",b),O=a()(e.className,g,h,{[f]:!(u&&null!=m&&null!==(o=m.color)&&void 0!==o&&o.gradient||!f),"has-text-color":b||(null==m||null===(r=m.color)||void 0===r?void 0:r.text),"has-background":d||(null==m||null===(c=m.color)||void 0===c?void 0:c.background)||u&&(p||(null==m||null===(i=m.color)||void 0===i?void 0:i.gradient)),"has-link-color":null==m||null===(l=m.elements)||void 0===l||null===(s=l.link)||void 0===s?void 0:s.color});return e.className=O||void 0,e}const ee=(e,t)=>{const n=/var:preset\|color\|(.+)/.exec(t);return n&&n[1]?Object(B.b)(e,n[1]).color:t};function te(e){var t,n,r,c,l,a,u,d,b;const{name:p,attributes:m}=e,f=Object(S.a)("color.palette")||Y,h=Object(S.a)("color.gradients")||Y,g=Object(S.a)("color.custom"),O=Object(S.a)("color.customGradient"),v=Object(S.a)("color.link"),k=Object(S.a)("color.text"),_=Object(S.a)("color.background"),y=Object(i.useRef)(m);if(Object(i.useEffect)(()=>{y.current=m},[m]),!X(p))return null;const E=(e=>{if("web"!==i.Platform.OS)return!1;const t=Object(o.getBlockSupport)(e,"color");return Object(s.isObject)(t)&&!!t.link})(p)&&v&&(f.length>0||g),C=(e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&!1!==t.text})(p)&&k&&(f.length>0||g),w=(e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&!1!==t.background})(p)&&_&&(f.length>0||g),x=Q(p)&&(h.length>0||O);if(!(E||C||w||x))return null;const{style:T,textColor:P,backgroundColor:R,gradient:N}=m;let L;if(x&&N)L=Object(G.e)(h,N);else if(x){var M;L=null==T||null===(M=T.color)||void 0===M?void 0:M.gradient}const A=t=>n=>{var o,r;const c=Object(B.c)(f,n),i=t+"Color",l={...y.current.style,color:{...null===(o=y.current)||void 0===o||null===(r=o.style)||void 0===r?void 0:r.color,[t]:null!=c&&c.slug?void 0:n}},a=null!=c&&c.slug?c.slug:void 0,s={style:Object(I.a)(l),[i]:a};e.setAttributes(s),y.current={...y.current,...s}};return Object(i.createElement)($,{enableContrastChecking:!("web"!==i.Platform.OS||N||null!=T&&null!==(t=T.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[...C?[{label:Object(j.__)("Text color"),onColorChange:A("text"),colorValue:Object(B.b)(f,P,null==T||null===(n=T.color)||void 0===n?void 0:n.text).color}]:[],...w||x?[{label:Object(j.__)("Background color"),onColorChange:w?A("background"):void 0,colorValue:Object(B.b)(f,R,null==T||null===(r=T.color)||void 0===r?void 0:r.background).color,gradientValue:L,onGradientChange:x?t=>{const n=Object(G.d)(h,t);let o;if(n){var r,c,i;const e={...null===(r=y.current)||void 0===r?void 0:r.style,color:{...null===(c=y.current)||void 0===c||null===(i=c.style)||void 0===i?void 0:i.color,gradient:void 0}};o={style:Object(I.a)(e),gradient:n}}else{var l,a,s;const e={...null===(l=y.current)||void 0===l?void 0:l.style,color:{...null===(a=y.current)||void 0===a||null===(s=a.style)||void 0===s?void 0:s.color,gradient:t}};o={style:Object(I.a)(e),gradient:void 0}}e.setAttributes(o),y.current={...y.current,...o}}:void 0}]:[],...E?[{label:Object(j.__)("Link Color"),onColorChange:t=>{const n=Object(B.c)(f,t),o=null!=n&&n.slug?"var:preset|color|"+n.slug:t,r=Object(I.a)(function(e,t,n){return Object(s.setWith)(e?Object(s.clone)(e):{},t,n,s.clone)}(T,["elements","link","color","text"],o));e.setAttributes({style:r})},colorValue:ee(f,null==T||null===(c=T.elements)||void 0===c||null===(l=c.link)||void 0===l||null===(a=l.color)||void 0===a?void 0:a.text),clearable:!(null==T||null===(u=T.elements)||void 0===u||null===(d=u.link)||void 0===d||null===(b=d.color)||void 0===b||!b.text)}]:[]]})}const ne=Object(u.createHigherOrderComponent)(e=>t=>{var n,o,r;const{name:l,attributes:a}=t,{backgroundColor:s,textColor:u}=a,d=Object(S.a)("color.palette")||Y;if(!X(l)||Z(l))return Object(i.createElement)(e,t);const b={color:u?null===(n=Object(B.b)(d,u))||void 0===n?void 0:n.color:void 0,backgroundColor:s?null===(o=Object(B.b)(d,s))||void 0===o?void 0:o.color:void 0};let p=t.wrapperProps;return p={...t.wrapperProps,style:{...b,...null===(r=t.wrapperProps)||void 0===r?void 0:r.style}},Object(i.createElement)(e,Object(c.a)({},t,{wrapperProps:p}))});Object(r.addFilter)("blocks.registerBlockType","core/color/addAttribute",(function(e){return X(e)?(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:"string"}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:"string"}}),Q(e)&&!e.attributes.gradient&&Object.assign(e.attributes,{gradient:{type:"string"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/color/addSaveProps",J),Object(r.addFilter)("blocks.registerBlockType","core/color/addEditProps",(function(e){if(!X(e)||Z(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),J(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/color/with-color-palette-styles",ne);var oe=n("Bo0k"),re=n("weEX");function ce(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(re.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.lineHeight,onChange:e=>{const t={...n,typography:{...null==n?void 0:n.typography,lineHeight:e}};o({style:Object(I.a)(t)})}})}function ie({name:e}={}){const t=!Object(S.a)("typography.lineHeight");return!Object(o.hasBlockSupport)(e,"typography.lineHeight")||t}function le(e){var t,n;const{attributes:{style:o},setAttributes:r}=e,c=!ae(e),l=!se(e),a=null==o||null===(t=o.typography)||void 0===t?void 0:t.fontStyle,s=null==o||null===(n=o.typography)||void 0===n?void 0:n.fontWeight;return Object(i.createElement)(oe.a,{onChange:e=>{r({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,fontStyle:e.fontStyle,fontWeight:e.fontWeight}})})},hasFontStyles:c,hasFontWeights:l,value:{fontStyle:a,fontWeight:s}})}function ae({name:e}={}){const t=Object(o.hasBlockSupport)(e,"typography.__experimentalFontStyle"),n=Object(S.a)("typography.fontStyle");return!t||!n}function se({name:e}={}){const t=Object(o.hasBlockSupport)(e,"typography.__experimentalFontWeight"),n=Object(S.a)("typography.fontWeight");return!t||!n}function ue(e){const t=ae(e),n=se(e);return t&&n}var de=n("BLeD"),be=n.n(de),pe=n("GKUk");const me="typography.__experimentalFontFamily";function fe(e,t,n){if(!Object(o.hasBlockSupport)(t,me))return e;if(Object(o.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;if(null==n||!n.fontFamily)return e;const r=new be.a(e.className);r.add(`has-${Object(s.kebabCase)(null==n?void 0:n.fontFamily)}-font-family`);const c=r.value;return e.className=c||void 0,e}function he({setAttributes:e,attributes:{fontFamily:t}}){var n;const o=Object(S.a)("typography.fontFamilies"),r=null===(n=Object(s.find)(o,({slug:e})=>t===e))||void 0===n?void 0:n.fontFamily;return Object(i.createElement)(pe.a,{className:"block-editor-hooks-font-family-control",fontFamilies:o,value:r,onChange:function(t){const n=Object(s.find)(o,({fontFamily:e})=>e===t);e({fontFamily:null==n?void 0:n.slug})}})}function ge({name:e}){const t=Object(S.a)("typography.fontFamilies");return!t||0===t.length||!Object(o.hasBlockSupport)(e,me)}Object(r.addFilter)("blocks.registerBlockType","core/fontFamily/addAttribute",(function(e){return Object(o.hasBlockSupport)(e,me)?(e.attributes.fontFamily||Object.assign(e.attributes,{fontFamily:{type:"string"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/fontFamily/addSaveProps",fe),Object(r.addFilter)("blocks.registerBlockType","core/fontFamily/addEditProps",(function(e){if(!Object(o.hasBlockSupport)(e,me))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),fe(o,e,n)},e}));var Oe=n("NMUH"),ve=n("QP/w");function je(e,t,n){if(!Object(o.hasBlockSupport)(t,"typography.fontSize"))return e;if(Object(o.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;const r=new be.a(e.className);r.add(Object(Oe.b)(n.fontSize));const c=r.value;return e.className=c||void 0,e}function ke(e){var t,n;const{attributes:{fontSize:o,style:r},setAttributes:c}=e,l=Object(S.a)("typography.fontSizes"),a=Object(Oe.a)(l,o,null==r||null===(t=r.typography)||void 0===t?void 0:t.fontSize),s=(null==a?void 0:a.size)||(null==r||null===(n=r.typography)||void 0===n?void 0:n.fontSize)||o;return Object(i.createElement)(ve.a,{onChange:e=>{const t=Object(Oe.c)(l,e).slug;c({style:Object(I.a)({...r,typography:{...null==r?void 0:r.typography,fontSize:t?void 0:e}}),fontSize:t})},value:s,withReset:!1})}function _e({name:e}={}){const t=Object(S.a)("typography.fontSizes"),n=!(null==t||!t.length);return!Object(o.hasBlockSupport)(e,"typography.fontSize")||!n}const ye=Object(u.createHigherOrderComponent)(e=>t=>{var n,r;const c=Object(S.a)("typography.fontSizes"),{name:l,attributes:{fontSize:a,style:s},wrapperProps:u}=t;if(!Object(o.hasBlockSupport)(l,"typography.fontSize")||Object(o.hasBlockSupport)(l,"typography.__experimentalSkipSerialization")||!a||null!=s&&null!==(n=s.typography)&&void 0!==n&&n.fontSize)return Object(i.createElement)(e,t);const d=Object(Oe.a)(c,a,null==s||null===(r=s.typography)||void 0===r?void 0:r.fontSize).size,b={...t,wrapperProps:{...u,style:{fontSize:d,...null==u?void 0:u.style}}};return Object(i.createElement)(e,b)},"withFontSizeInlineStyles");Object(r.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(o.hasBlockSupport)(e,"typography.fontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",je),Object(r.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(o.hasBlockSupport)(e,"typography.fontSize"))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),je(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",ye);var Ee=n("kVRd");function Ce(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(Ee.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textDecoration,onChange:function(e){o({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,textDecoration:e}})})}})}function Se({name:e}={}){const t=!Object(o.hasBlockSupport)(e,"typography.__experimentalTextDecoration"),n=Object(S.a)("typography.textDecoration");return t||!n}var we=n("/Hvg");function Be(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(we.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textTransform,onChange:function(e){o({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,textTransform:e}})})}})}function Ie({name:e}={}){const t=!Object(o.hasBlockSupport)(e,"typography.__experimentalTextTransform"),n=Object(S.a)("typography.textTransform");return t||!n}var xe=n("xBDm");function Te(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(xe.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.letterSpacing,onChange:function(e){o({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,letterSpacing:e}})})},__unstableInputWidth:!1})}function Pe({name:e}={}){const t=!Object(o.hasBlockSupport)(e,"typography.__experimentalLetterSpacing"),n=Object(S.a)("typography.letterSpacing");return t||!n}const Re=["typography.lineHeight","typography.fontSize","typography.__experimentalFontStyle","typography.__experimentalFontWeight",me,"typography.__experimentalTextDecoration","typography.__experimentalTextTransform","typography.__experimentalLetterSpacing"];function Ne(e){const{clientId:t}=e,n=ge(e),r=_e(e),c=ue(e),l=ie(e),a=Se(e),s=Ie(e),u=Pe(e),d=!ae(e),b=!se(e),p=function(e={}){const t=[ue(e),_e(e),ie(e),ge(e),Se(e),Ie(e),Pe(e)];return t.filter(Boolean).length===t.length}(e),m=Le(e.name);if(p||!m)return null;const f=Object(o.getBlockSupport)(e.name,["typography","__experimentalDefaultControls"]),h=e=>t=>{var n;return{...t,style:{...t.style,typography:{...null===(n=t.style)||void 0===n?void 0:n.typography,[e]:void 0}}}};return Object(i.createElement)(k.b,{__experimentalGroup:"typography"},!n&&Object(i.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){return!!e.attributes.fontFamily}(e),label:Object(j.__)("Font family"),onDeselect:()=>function({setAttributes:e}){e({fontFamily:void 0})}(e),isShownByDefault:null==f?void 0:f.fontFamily,resetAllFilter:e=>({...e,fontFamily:void 0}),panelId:t},Object(i.createElement)(he,e)),!r&&Object(i.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t;const{fontSize:n,style:o}=e.attributes;return!!n||!(null==o||null===(t=o.typography)||void 0===t||!t.fontSize)}(e),label:Object(j.__)("Font size"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({fontSize:void 0,style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,fontSize:void 0}})})}(e),isShownByDefault:null==f?void 0:f.fontSize,resetAllFilter:e=>{var t;return{...e,fontSize:void 0,style:{...e.style,typography:{...null===(t=e.style)||void 0===t?void 0:t.typography,fontSize:void 0}}}},panelId:t},Object(i.createElement)(ke,e)),!c&&Object(i.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t;const{fontStyle:n,fontWeight:o}=(null===(t=e.attributes.style)||void 0===t?void 0:t.typography)||{};return!!n||!!o}(e),label:Object(oe.b)(d,b),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,fontStyle:void 0,fontWeight:void 0}})})}(e),isShownByDefault:null==f?void 0:f.fontAppearance,resetAllFilter:e=>{var t;return{...e,style:{...e.style,typography:{...null===(t=e.style)||void 0===t?void 0:t.typography,fontStyle:void 0,fontWeight:void 0}}}},panelId:t},Object(i.createElement)(le,e)),!l&&Object(i.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.lineHeight)}(e),label:Object(j.__)("Line height"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,lineHeight:void 0}})})}(e),isShownByDefault:null==f?void 0:f.lineHeight,resetAllFilter:h("lineHeight"),panelId:t},Object(i.createElement)(ce,e)),!a&&Object(i.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.textDecoration)}(e),label:Object(j.__)("Decoration"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,textDecoration:void 0}})})}(e),isShownByDefault:null==f?void 0:f.textDecoration,resetAllFilter:h("textDecoration"),panelId:t},Object(i.createElement)(Ce,e)),!s&&Object(i.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.textTransform)}(e),label:Object(j.__)("Letter case"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,textTransform:void 0}})})}(e),isShownByDefault:null==f?void 0:f.textTransform,resetAllFilter:h("textTransform"),panelId:t},Object(i.createElement)(Be,e)),!u&&Object(i.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.letterSpacing)}(e),label:Object(j.__)("Letter-spacing"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,letterSpacing:void 0}})})}(e),isShownByDefault:null==f?void 0:f.letterSpacing,resetAllFilter:h("letterSpacing"),panelId:t},Object(i.createElement)(Te,e)))}const Le=e=>Re.some(t=>Object(o.hasBlockSupport)(e,t));function Me(e){const t=Object(o.getBlockSupport)(e,We);return!!(!0===t||null!=t&&t.blockGap)}function Ae({name:e}={}){const t=!Object(S.a)("spacing.blockGap");return!Me(e)||t}function De(e){var t;const{clientId:n,attributes:{style:o},setAttributes:r}=e,c=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["%","px","em","rem","vw"]}),l=Object(q.b)(n);if(Ae(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.__experimentalUnitControl,{label:Object(j.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:e=>{var t;const n={...o,spacing:{...null==o?void 0:o.spacing,blockGap:e}};r({style:Object(I.a)(n)});const c=(null===(t=window)||void 0===t?void 0:t.navigator.userAgent)&&window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome ")&&!window.navigator.userAgent.includes("Chromium ");var i;l.current&&c&&(null===(i=l.current.parentNode)||void 0===i||i.replaceChild(l.current,l.current))},units:c,value:null==o||null===(t=o.spacing)||void 0===t?void 0:t.blockGap})),native:null})}function Fe(e){const t=Object(o.getBlockSupport)(e,We);return!!(!0===t||null!=t&&t.margin)}function ze({name:e}={}){const t=!Object(S.a)("spacing.margin"),n=!Ze(e,"margin");return!Fe(e)||t||n}function He(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["%","px","em","rem","vw"]}),l=Xe(n,"margin"),a=l&&l.some(e=>Ke.includes(e));if(ze(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.__experimentalBoxControl,{values:null==o||null===(t=o.spacing)||void 0===t?void 0:t.margin,onChange:e=>{const t={...o,spacing:{...null==o?void 0:o.spacing,margin:e}};r({style:Object(I.a)(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{margin:e}};r({style:Object(I.a)(t)})},label:Object(j.__)("Margin"),sides:l,units:c,allowReset:!1,splitOnAxis:a})),native:null})}function Ve(e){const t=Object(o.getBlockSupport)(e,We);return!!(!0===t||null!=t&&t.padding)}function Ge({name:e}={}){const t=!Object(S.a)("spacing.padding"),n=!Ze(e,"padding");return!Ve(e)||t||n}function Ue(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["%","px","em","rem","vw"]}),l=Xe(n,"padding"),a=l&&l.some(e=>Ke.includes(e));if(Ge(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.__experimentalBoxControl,{values:null==o||null===(t=o.spacing)||void 0===t?void 0:t.padding,onChange:e=>{const t={...o,spacing:{...null==o?void 0:o.spacing,padding:e}};r({style:Object(I.a)(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{padding:e}};r({style:Object(I.a)(t)})},label:Object(j.__)("Padding"),sides:l,units:c,allowReset:!1,splitOnAxis:a})),native:null})}const We="spacing",qe=["top","right","bottom","left"],Ke=["vertical","horizontal"];function $e(e){const t=Ae(e),n=Ge(e),r=ze(e),c=Ye(e),l=function(e){if("web"!==i.Platform.OS)return!1;return Me(e)||Ve(e)||Fe(e)}(e.name);if(c||!l)return null;const a=Object(o.getBlockSupport)(e.name,[We,"__experimentalDefaultControls"]),s=e=>t=>{var n;return{...t,style:{...t.style,spacing:{...null===(n=t.style)||void 0===n?void 0:n.spacing,[e]:void 0}}}};return Object(i.createElement)(k.b,{__experimentalGroup:"dimensions"},!n&&Object(i.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t,n;return void 0!==(null===(t=e.attributes.style)||void 0===t||null===(n=t.spacing)||void 0===n?void 0:n.padding)}(e),label:Object(j.__)("Padding"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,spacing:{...null==n?void 0:n.spacing,padding:void 0}})})}(e),resetAllFilter:s("padding"),isShownByDefault:null==a?void 0:a.padding,panelId:e.clientId},Object(i.createElement)(Ue,e)),!r&&Object(i.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t,n;return void 0!==(null===(t=e.attributes.style)||void 0===t||null===(n=t.spacing)||void 0===n?void 0:n.margin)}(e),label:Object(j.__)("Margin"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:Object(I.a)({...n,spacing:{...null==n?void 0:n.spacing,margin:void 0}})})}(e),resetAllFilter:s("margin"),isShownByDefault:null==a?void 0:a.margin,panelId:e.clientId},Object(i.createElement)(He,e)),!t&&Object(i.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t,n;return void 0!==(null===(t=e.attributes.style)||void 0===t||null===(n=t.spacing)||void 0===n?void 0:n.blockGap)}(e),label:Object(j.__)("Block spacing"),onDeselect:()=>function({attributes:e={},setAttributes:t}){const{style:n}=e;t({style:{...n,spacing:{...null==n?void 0:n.spacing,blockGap:void 0}}})}(e),resetAllFilter:s("blockGap"),isShownByDefault:null==a?void 0:a.blockGap,panelId:e.clientId},Object(i.createElement)(De,e)))}const Ye=(e={})=>{const t=Ae(e),n=Ge(e),o=ze(e);return t&&n&&o};function Xe(e,t){const n=Object(o.getBlockSupport)(e,We);if(n&&"boolean"!=typeof n[t])return n[t]}function Ze(e,t){const n=Xe(e,t);return!(n&&n.some(e=>qe.includes(e))&&n.some(e=>Ke.includes(e)))||(console.warn(`The ${t} support for the "${e}" block can not be configured to support both axial and arbitrary sides.`),!1)}var Qe=n("HgtZ");const Je=[...Re,"__experimentalBorder","color",We],et=e=>Je.some(t=>Object(o.hasBlockSupport)(e,t));function tt(e){if(Object(s.startsWith)(e,"var:")){return`var(--wp--${e.slice("var:".length).split("|").join("--")})`}return e}function nt(e={}){const t={};return Object.keys(o.__EXPERIMENTAL_STYLE_PROPERTY).forEach(n=>{const r=o.__EXPERIMENTAL_STYLE_PROPERTY[n].value,c=o.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;if(Object(s.has)(e,r)&&"elements"!==Object(s.first)(r)){const o=Object(s.get)(e,r);c&&!Object(s.isString)(o)?Object.entries(c).forEach(e=>{const[n,r]=e,c=Object(s.get)(o,[r]);c&&(t[n]=tt(c))}):t[n]=tt(Object(s.get)(e,r))}}),t}const ot={"__experimentalBorder.__experimentalSkipSerialization":["border"],"color.__experimentalSkipSerialization":["color"],"typography.__experimentalSkipSerialization":["typography"],[We+".__experimentalSkipSerialization"]:["spacing"]},rt={...ot,[""+We]:["spacing.blockGap"]};function ct(e,t,n,r=rt){if(!et(t))return e;let{style:c}=n;return Object(s.forEach)(r,(e,n)=>{Object(o.getBlockSupport)(t,n)&&(c=Object(s.omit)(c,e))}),e.style={...nt(c),...e.style},e}const it=Object(u.createHigherOrderComponent)(e=>t=>{const n=Object(Qe.a)();return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(te,t),Object(i.createElement)(Ne,t),Object(i.createElement)(F,t),Object(i.createElement)($e,t)),Object(i.createElement)(e,t))},"withToolbarControls"),lt=Object(u.createHigherOrderComponent)(e=>t=>{var n,r;const l=null===(n=t.attributes.style)||void 0===n?void 0:n.elements,d="wp-elements-"+Object(u.useInstanceId)(e),b=function(e,t={}){return Object(s.map)(t,(t,n)=>{const r=nt(t);return Object(s.isEmpty)(r)?"":[`.${e} ${o.__EXPERIMENTAL_ELEMENTS[n]}{`,...Object(s.map)(r,(e,t)=>`\t${Object(s.kebabCase)(t)}: ${e};`),"}"].join("\n")}).join("\n")}(d,null===(r=t.attributes.style)||void 0===r?void 0:r.elements),p=Object(i.useContext)(C.c.__unstableElementContext);return Object(i.createElement)(i.Fragment,null,l&&p&&Object(i.createPortal)(Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:b}}),p),Object(i.createElement)(e,Object(c.a)({},t,{className:l?a()(t.className,d):t.className})))});Object(r.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return et(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",ct),Object(r.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!et(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),ct(o,e,n,ot)},e})),Object(r.addFilter)("editor.BlockEdit","core/style/with-block-controls",it),Object(r.addFilter)("editor.BlockListBlock","core/editor/with-elements-styles",lt);var at=n("fHnH"),st=n("abaT"),ut=n("1uGa");const dt=[];function bt(e=[]){const t={r:[],g:[],b:[],a:[]};return e.forEach(e=>{const n=Object(at.a)(e).toRgb();t.r.push(n.r/255),t.g.push(n.g/255),t.b.push(n.b/255),t.a.push(n.a)}),t}function pt({selector:e,id:t,values:n}){const o=`\n${e} {\n\tfilter: url( #${t} );\n}\n`;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.SVG,{xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 0 0",width:"0",height:"0",focusable:"false",role:"none",style:{visibility:"hidden",position:"absolute",left:"-9999px",overflow:"hidden"}},Object(i.createElement)("defs",null,Object(i.createElement)("filter",{id:t},Object(i.createElement)("feColorMatrix",{colorInterpolationFilters:"sRGB",type:"matrix",values:" .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "}),Object(i.createElement)("feComponentTransfer",{colorInterpolationFilters:"sRGB"},Object(i.createElement)("feFuncR",{type:"table",tableValues:n.r.join(" ")}),Object(i.createElement)("feFuncG",{type:"table",tableValues:n.g.join(" ")}),Object(i.createElement)("feFuncB",{type:"table",tableValues:n.b.join(" ")}),Object(i.createElement)("feFuncA",{type:"table",tableValues:n.a.join(" ")})),Object(i.createElement)("feComposite",{in2:"SourceGraphic",operator:"in"})))),Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:o}}))}function mt({attributes:e,setAttributes:t}){var n;const o=null==e?void 0:e.style,r=null==o||null===(n=o.color)||void 0===n?void 0:n.duotone,c=Object(S.a)("color.duotone")||dt,l=Object(S.a)("color.palette")||dt,a=!Object(S.a)("color.custom"),s=!Object(S.a)("color.customDuotone")||0===(null==l?void 0:l.length)&&a;return 0===(null==c?void 0:c.length)&&s?null:Object(i.createElement)(d.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(i.createElement)(ut.a,{duotonePalette:c,colorPalette:l,disableCustomDuotone:s,disableCustomColors:a,value:r,onChange:e=>{const n={...o,color:{...null==o?void 0:o.color,duotone:e}};t({style:n})}}))}Object(at.b)([st.a]);const ft=Object(u.createHigherOrderComponent)(e=>t=>{const n=Object(o.hasBlockSupport)(t.name,"color.__experimentalDuotone");return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),n&&Object(i.createElement)(mt,t))},"withDuotoneControls");const ht=Object(u.createHigherOrderComponent)(e=>t=>{var n,r,l;const s=Object(o.getBlockSupport)(t.name,"color.__experimentalDuotone"),d=null==t||null===(n=t.attributes)||void 0===n||null===(r=n.style)||void 0===r||null===(l=r.color)||void 0===l?void 0:l.duotone;if(!s||!d)return Object(i.createElement)(e,t);const b="wp-duotone-"+Object(u.useInstanceId)(e),p=function(e,t){const n=e.split(","),o=t.split(","),r=[];return n.forEach(e=>{o.forEach(t=>{r.push(`${e.trim()} ${t.trim()}`)})}),r.join(", ")}(".editor-styles-wrapper ."+b,s),m=a()(null==t?void 0:t.className,b),f=Object(i.useContext)(C.c.__unstableElementContext);return Object(i.createElement)(i.Fragment,null,f&&Object(i.createPortal)(Object(i.createElement)(pt,{selector:p,id:b,values:bt(d)}),f),Object(i.createElement)(e,Object(c.a)({},t,{className:m})))},"withDuotoneStyles");Object(r.addFilter)("blocks.registerBlockType","core/editor/duotone/add-attributes",(function(e){return Object(o.hasBlockSupport)(e,"color.__experimentalDuotone")?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(r.addFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls",ft),Object(r.addFilter)("editor.BlockListBlock","core/editor/duotone/with-styles",ht);var gt=n("1ZqX"),Ot=n("BhPs"),vt=n("w8sn"),jt=n("PPMp");function kt({setAttributes:e,attributes:t,name:n}){const{layout:r}=t,c=Object(S.a)("layout"),l=Object(gt.useSelect)(e=>{const{getSettings:t}=e(Ot.a);return t().supportsLayout},[]),a=Object(o.getBlockSupport)(n,"__experimentalLayout",{}),{allowSwitching:s,allowEditing:u=!0,allowInheriting:d=!0,default:b}=a;if(!u)return null;const p=r||b||{},{inherit:m=!1,type:f="default"}=p;if("default"===f&&!l)return null;const h=Object(jt.a)(f),g=t=>e({layout:t});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(k.b,null,Object(i.createElement)(v.PanelBody,{title:Object(j.__)("Layout")},d&&!!c&&Object(i.createElement)(v.ToggleControl,{label:Object(j.__)("Inherit default layout"),checked:!!m,onChange:()=>e({layout:{inherit:!m}})}),!m&&s&&Object(i.createElement)(_t,{type:f,onChange:t=>e({layout:{type:t}})}),!m&&h&&Object(i.createElement)(h.inspectorControls,{layout:p,onChange:g,layoutBlockSupport:a}))),!m&&h&&Object(i.createElement)(h.toolBarControls,{layout:p,onChange:g,layoutBlockSupport:a}))}function _t({type:e,onChange:t}){return Object(i.createElement)(v.ButtonGroup,null,Object(jt.b)().map(({name:n,label:o})=>Object(i.createElement)(v.Button,{key:n,isPressed:e===n,onClick:()=>t(n)},o)))}const yt=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n}=t;return[Object(o.hasBlockSupport)(n,"__experimentalLayout")&&Object(i.createElement)(kt,Object(c.a)({key:"layout"},t)),Object(i.createElement)(e,Object(c.a)({key:"edit"},t))]},"withInspectorControls"),Et=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:r}=t,l=Object(o.hasBlockSupport)(n,"__experimentalLayout"),s=Object(u.useInstanceId)(e),d=Object(S.a)("layout")||{},b=Object(i.useContext)(C.c.__unstableElementContext),{layout:p}=r,{default:m}=Object(o.getBlockSupport)(n,"__experimentalLayout")||{},f=null!=p&&p.inherit?d:p||m||{},h=a()(null==t?void 0:t.className,{["wp-container-"+s]:l});return Object(i.createElement)(i.Fragment,null,l&&b&&Object(i.createPortal)(Object(i.createElement)(vt.b,{selector:".wp-container-"+s,layout:f}),b),Object(i.createElement)(e,Object(c.a)({},t,{className:h})))});Object(r.addFilter)("blocks.registerBlockType","core/layout/addAttribute",(function(e){return Object(s.has)(e.attributes,["layout","type"])||Object(o.hasBlockSupport)(e,"__experimentalLayout")&&(e.attributes={...e.attributes,layout:{type:"object"}}),e})),Object(r.addFilter)("editor.BlockListBlock","core/editor/layout/with-layout-styles",Et),Object(r.addFilter)("editor.BlockEdit","core/editor/layout/with-inspector-controls",yt);const Ct=[];function St({borderColor:e,style:t}){var n;const o=(null==t?void 0:t.border)||{},r=Object(B.a)("border-color",e);return{className:a()({[r]:!!r,"has-border-color":e||(null==t||null===(n=t.border)||void 0===n?void 0:n.color)})||void 0,style:nt({border:o})}}function wt(e){const t=Object(S.a)("color.palette")||Ct,n=St(e);if(e.borderColor){const o=Object(B.b)(t,e.borderColor);n.style.borderColor=o.color}return n}const Bt=[];function It(e){var t,n,o,r,c,i;const{backgroundColor:l,textColor:s,gradient:u,style:d}=e,b=Object(B.a)("background-color",l),p=Object(B.a)("color",s),m=Object(G.a)(u),f=m||(null==d||null===(t=d.color)||void 0===t?void 0:t.gradient);return{className:a()(p,m,{[b]:!f&&!!b,"has-text-color":s||(null==d||null===(n=d.color)||void 0===n?void 0:n.text),"has-background":l||(null==d||null===(o=d.color)||void 0===o?void 0:o.background)||u||(null==d||null===(r=d.color)||void 0===r?void 0:r.gradient),"has-link-color":null==d||null===(c=d.elements)||void 0===c||null===(i=c.link)||void 0===i?void 0:i.color})||void 0,style:nt({color:(null==d?void 0:d.color)||{}})}}function xt(e){const{backgroundColor:t,textColor:n,gradient:o}=e,r=Object(S.a)("color.palette")||Bt,c=Object(S.a)("color.gradients")||Bt,i=It(e);if(t){const e=Object(B.b)(r,t);i.style.backgroundColor=e.color}if(o&&(i.style.background=Object(G.e)(c,o)),n){const e=Object(B.b)(r,n);i.style.color=e.color}return i}function Tt(e){const{style:t}=e;return{style:nt({spacing:(null==t?void 0:t.spacing)||{}})}}function Pt(e){const[t,n]=Object(i.useState)(e);return Object(i.useEffect)(()=>{e&&n(e)},[e]),t}var Rt=n("14PQ"),Nt=n("BCrt"),Lt=n("lJLt")},uoCR:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("GRId");const r=Object(o.createContext)({});function c({value:e,children:t}){const n=Object(o.useContext)(r),c=Object(o.useMemo)(()=>({...n,...e}),[n,e]);return Object(o.createElement)(r.Provider,{value:c,children:t})}t.b=r},ur0x:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return l}));var o=n("GRId");const r={name:"",isSelected:!1},c=Object(o.createContext)(r),{Provider:i}=c;function l(){return Object(o.useContext)(c)}},v5LD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("YLtl"),r=n("1ZqX"),c=n("HSyU"),i=n("ur0x"),l=n("BhPs");const a={"color.palette":e=>void 0===e.colors?void 0:e.colors,"color.gradients":e=>void 0===e.gradients?void 0:e.gradients,"color.custom":e=>void 0===e.disableCustomColors?void 0:!e.disableCustomColors,"color.customGradient":e=>void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>void 0===e.fontSizes?void 0:e.fontSizes,"typography.customFontSize":e=>void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},s={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"};function u(e){const{name:t}=Object(i.c)();return Object(r.useSelect)(n=>{var r;const i=n(l.a).getSettings(),u=(e=>s[e]||e)(e),d="__experimentalFeatures."+u,b=`__experimentalFeatures.blocks.${t}.${u}`,p=null!==(r=Object(o.get)(i,b))&&void 0!==r?r:Object(o.get)(i,d);var m,f;if(void 0!==p)return c.__EXPERIMENTAL_PATHS_WITH_MERGE[u]?null!==(m=null!==(f=p.user)&&void 0!==f?f:p.theme)&&void 0!==m?m:p.core:p;const h=a[u]?a[u](i):void 0;return void 0!==h?h:"typography.dropCap"===u||void 0},[t,e])}},v8Ku:function(e,t){},vIlp:function(e,t,n){"use strict";function o(e,t,n=["top","bottom","left","right"]){let o,r;return n.forEach(n=>{const c=function(e,t,n){const o="top"===n||"bottom"===n,{x:r,y:c}=e,i=o?r:c,l=o?c:r,a=o?t.left:t.top,s=o?t.right:t.bottom,u=t[n];let d;return d=i>=a&&i<=s?i:it=>{if("declaration"===t.type){const c=function(e){const t=/url\((\s*)(['"]?)(.+?)\2(\s*)\)/g;let n;const o=[];for(;null!==(n=t.exec(e));){const e={source:n[0],before:n[1],quote:n[2],value:n[3],after:n[4]};v(e)&&o.push(e)}return o}(t.value).map((r=e,e=>({...e,newUrl:"url("+e.before+e.quote+j(e.value,r)+e.quote+e.after+")"})));return{...t,value:(n=t.value,o=c,o.forEach(e=>{n=n.replace(e.source,e.newUrl)}),n)}}var n,o,r;return t};const _=/^(body|html|:root).*$/;var y=(e,t=[])=>n=>{const o=n=>t.includes(n.trim())?n:n.match(_)?n.replace(/^(body|html|:root)/,e):e+" "+n;return"rule"===n.type?{...n,selectors:n.selectors.map(o)}:n};t.a=(e,t="")=>Object(o.map)(e,({css:e,baseURL:n,__experimentalNoWrapper:o=!1})=>{const c=[];return t&&!o&&c.push(y(t)),n&&c.push(k(n)),c.length?O(e,Object(r.compose)(c)):e})},vtO0:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return k}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("l3Sj"),a=n("tI+e"),s=n("Tqx9");var u=Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"}));var d=Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"})),b=n("EpZT");var p=Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"})),m=n("beZb"),f=n("XNw2"),h=n("K/rC");const g={none:{icon:u,title:Object(l.__)("None")},left:{icon:d,title:Object(l.__)("Align left")},center:{icon:b.a,title:Object(l.__)("Align center")},right:{icon:p,title:Object(l.__)("Align right")},wide:{icon:m.a,title:Object(l.__)("Wide width")},full:{icon:f.a,title:Object(l.__)("Full width")}},O={isAlternate:!0};var v=function({value:e,onChange:t,controls:n,isToolbar:c,isCollapsed:s=!0}){const u=Object(h.a)(n);if(!!!u.length)return null;function d(n){t([e,"none"].includes(n)?void 0:n)}const b=g[e],p=g.none,m=c?a.ToolbarGroup:a.ToolbarDropdownMenu,f={popoverProps:O,icon:b?b.icon:p.icon,label:Object(l.__)("Align"),toggleProps:{describedBy:Object(l.__)("Change alignment")}},v=c||r.Platform.isNative?{isCollapsed:c?s:void 0,controls:u.map(({name:t})=>({...g[t],isActive:e===t||!e&&"none"===t,role:s?"menuitemradio":void 0,onClick:()=>d(t)}))}:{children:({onClose:t})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.MenuGroup,{className:"block-editor-block-alignment-control__menu-group"},u.map(({name:n,info:o})=>{const{icon:c,title:l}=g[n],s=n===e||!e&&"none"===n;return Object(r.createElement)(a.MenuItem,{key:n,icon:c,iconPosition:"left",className:i()("components-dropdown-menu__menu-item",{"is-active":s}),isSelected:s,onClick:()=>{d(n),t()},role:"menuitemradio",info:o},l)})))};return Object(r.createElement)(m,Object(o.a)({},f,v))};function j(e){return Object(r.createElement)(v,Object(o.a)({},e,{isToolbar:!1}))}function k(e){return Object(r.createElement)(v,Object(o.a)({},e,{isToolbar:!0}))}},w8sn:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return u}));var o=n("wx14"),r=n("GRId"),c=n("PPMp");const i={type:"default"},l=Object(r.createContext)(i),a=l.Provider;function s(){return Object(r.useContext)(l)}function u({layout:e={},...t}){const n=Object(c.a)(e.type);return n?Object(r.createElement)(n.save,Object(o.a)({layout:e},t)):null}},w95h:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=c},wC17:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("HSyU"),c=n("BhPs");function i(e){return Object(o.useSelect)(t=>{if(!e)return null;const{getBlockName:n,getBlockAttributes:o}=t(c.a),{getBlockType:i,getActiveBlockVariation:l}=t(r.store),a=n(e),s=i(a);if(!s)return null;const u=o(e),d=l(a,u),b={title:s.title,icon:s.icon,description:s.description,anchor:null==u?void 0:u.anchor};return d?{title:d.title||s.title,icon:d.icon||s.icon,description:d.description||s.description}:b},[e])}},wJiJ:function(e,t,n){e.exports=n("1K8p")},weEX:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("GRId"),r=n("l3Sj"),c=n("tI+e"),i=n("RxS6");function l({value:e,onChange:t}){const n=function(e){return void 0!==e&&""!==e}(e),l=n?e:"";return Object(o.createElement)("div",{className:"block-editor-line-height-control"},Object(o.createElement)(c.TextControl,{autoComplete:"off",onKeyDown:e=>{const{keyCode:o}=e;o!==i.ZERO||n||(e.preventDefault(),t("0"))},onChange:e=>{if(n)return void t(e);let o=e;switch(e){case"0.1":o=1.6;break;case"0":o=1.4}t(o)},label:Object(r.__)("Line height"),placeholder:1.5,step:.1,type:"number",value:l,min:0}))}},"wiT/":function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("GOly");t.a=function({children:e}){const t=Object(r.__unstableUseCompositeState)({shift:!0,wrap:"horizontal"});return Object(o.createElement)(c.a.Provider,{value:t},e)}},wx14:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t{var o;const{getBlock:r,getBlockIndex:c,hasBlockMovingClientId:i,getBlockListSettings:l}=n(j.a),a=c(e,t),{name:s,attributes:u}=r(e);return{index:a,name:s,attributes:u,blockMovingMode:i(),orientation:null===(o=l(t))||void 0===o?void 0:o.orientation}},[e,t]),{index:u,name:d,attributes:y,blockMovingMode:E,orientation:C}=c,{setNavigationMode:S,removeBlock:w}=Object(s.useDispatch)(j.a),B=Object(o.useRef)(),I=Object(l.getBlockType)(d),x=Object(l.__experimentalGetAccessibleBlockLabel)(I,y,u+1,C);Object(o.useEffect)(()=>{B.current.focus(),Object(h.speak)(x)},[x]);const{hasBlockMovingClientId:T,getBlockIndex:P,getBlockRootClientId:R,getClientIdsOfDescendants:N,getSelectedBlockClientId:L,getMultiSelectedBlocksEndClientId:M,getPreviousBlockClientId:A,getNextBlockClientId:D}=Object(s.useSelect)(j.a),{selectBlock:F,clearSelectedBlock:z,setBlockMovingClientId:H,moveBlockToPosition:V}=Object(s.useDispatch)(j.a),G=i()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!E}),U=Object(g.__)("Drag");return Object(o.createElement)("div",{className:G},Object(o.createElement)(a.Flex,{justify:"center",className:"block-editor-block-list__block-selection-button__content"},Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(v.a,{icon:null==r?void 0:r.icon,showColors:!0})),Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(k.a,{clientIds:[e]},e=>Object(o.createElement)(a.Button,Object(p.a)({icon:m.a,className:"block-selection-button_drag-handle","aria-hidden":"true",label:U,tabIndex:"-1"},e)))),Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(a.Button,{ref:B,onClick:()=>S(!1),onKeyDown:function(t){const{keyCode:o}=t,r=o===f.UP,c=o===f.DOWN,i=o===f.LEFT,l=o===f.RIGHT,a=o===f.TAB,s=o===f.ESCAPE,u=o===f.ENTER,d=o===f.SPACE,p=t.shiftKey;if(o===f.BACKSPACE||o===f.DELETE)return w(e),void t.preventDefault();const m=L(),h=M(),g=A(h||m),O=D(h||m),v=a&&p||r,j=a&&!p||c,k=i,_=l;let y;if(v)y=g;else if(j)y=O;else if(k){var E;y=null!==(E=R(m))&&void 0!==E?E:m}else if(_){var C;y=null!==(C=N([m])[0])&&void 0!==C?C:m}const S=T();if(s&&S&&!t.defaultPrevented&&(H(null),t.preventDefault()),(u||d)&&S){const e=R(S),t=R(m),n=P(S,e);let o=P(m,t);n{const{isBlockInsertionPointVisible:n,getBlockInsertionPoint:o,getBlockOrder:r}=t(j.a);if(!n())return!1;const c=o();return r(c.rootClientId)[c.index]===e},[e]),I=Object(d.useViewportMatch)("medium"),[x,T]=Object(o.useState)(!1),[P,R]=Object(o.useState)(!1),{stopTyping:N}=Object(s.useDispatch)(j.a),L=!h&&!m&&r&&n,M=m,A=!m&&!v&&I&&!L&&!f&&(!h||g),D=!(m||A||v||r);Object(u.useShortcut)("core/block-editor/focus-toolbar",()=>{T(!0),N(!0)},{isDisabled:!D}),Object(o.useEffect)(()=>{A||T(!1)},[A]);const F=Object(o.useRef)(),z=Object(S.a)(e),H=Object(S.a)(k),V=Object(S.a)(c),G=Object(w.a)(p);if(!(M||A||x||L))return null;let U=z;if(!U)return null;c&&(U=V);let W=U;if(O){if(!H)return null;W={top:U,bottom:H}}const q=L?"top left right":"top right left",{ownerDocument:K}=U,$=L?void 0:K.defaultView.frameElement||Object(b.getScrollContainer)(U)||K.body;return Object(o.createElement)(a.Popover,{ref:G,noArrow:!0,animate:!1,position:q,focusOnMount:!1,anchorRef:W,className:i()("block-editor-block-list__block-popover",{"is-insertion-point-visible":_}),__unstableStickyBoundaryElement:$,__unstableSlotName:l||null,__unstableBoundaryParent:!0,__unstableObserveElement:U,shouldAnchorIncludePadding:!0,__unstableEditorCanvasWrapper:null==p?void 0:p.current},(A||x)&&Object(o.createElement)("div",{onFocus:function(){R(!0)},onBlur:function(){R(!1)},tabIndex:-1,className:i()("block-editor-block-list__block-popover-inserter",{"is-visible":P})},Object(o.createElement)(C.a,{clientId:e,rootClientId:t,__experimentalIsQuick:!0})),(A||x)&&Object(o.createElement)(E.a,{focusOnMount:x,__experimentalInitialIndex:F.current,__experimentalOnIndexChange:e=>{F.current=e},key:e}),M&&Object(o.createElement)(y,{clientId:e,rootClientId:t,blockElement:U}),L&&Object(o.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(o.createElement)(C.a,{position:"bottom right",rootClientId:t,clientId:e,__experimentalIsQuick:!0})))}function x(e){const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getBlockRootClientId:o,getBlock:c,getBlockParents:i,__experimentalGetBlockListSettingsForBlocks:a}=e(j.a),s=t()||n();if(!s)return;const{name:u,attributes:d={},isValid:b}=c(s)||{},p=i(s),m=a(p),f=Object(r.find)(p,e=>{var t;return null===(t=m[e])||void 0===t?void 0:t.__experimentalCaptureToolbars});return{clientId:s,rootClientId:o(s),name:u,isValid:b,isEmptyDefaultBlock:u&&Object(l.isUnmodifiedDefaultBlock)({name:u,attributes:d}),capturingClientId:f}}function T({__unstablePopoverSlot:e,__unstableContentRef:t}){const n=Object(s.useSelect)(x,[]);if(!n)return null;const{clientId:r,rootClientId:c,name:i,isValid:l,isEmptyDefaultBlock:a,capturingClientId:u}=n;return i?Object(o.createElement)(I,{clientId:r,rootClientId:c,isValid:l,isEmptyDefaultBlock:a,capturingClientId:u,__unstablePopoverSlot:e,__unstableContentRef:t}):null}},"xN+R":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(o.createElement)(r.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));t.a=c},xTGt:function(e,t){e.exports=window.wp.blob},xZzQ:function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),i=n("1ZqX");const l=[Object(o.createInterpolateElement)(Object(c.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(o.createElement)("kbd",null)}),Object(o.createInterpolateElement)(Object(c.__)("Indent a list by pressing space at the beginning of a line."),{kbd:Object(o.createElement)("kbd",null)}),Object(o.createInterpolateElement)(Object(c.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:Object(o.createElement)("kbd",null)}),Object(c.__)("Drag files into the editor to automatically insert media blocks."),Object(c.__)("Change a block's type by pressing the block icon on the toolbar.")];var a=function(){const[e]=Object(o.useState)(Math.floor(Math.random()*l.length));return Object(o.createElement)(r.Tip,null,l[e])},s=n("HSyU"),u=n("GvwK"),d=n("REKd");var b=function({item:e}){var t,n;const{name:r,title:i,icon:l,description:a,initialAttributes:b}=e,p=Object(s.getBlockType)(r),m=Object(s.isReusableBlock)(e);return Object(o.createElement)("div",{className:"block-editor-inserter__preview-container"},Object(o.createElement)("div",{className:"block-editor-inserter__preview"},m||null!=p&&p.example?Object(o.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(o.createElement)(d.a,{__experimentalPadding:16,viewportWidth:null!==(t=null===(n=p.example)||void 0===n?void 0:n.viewportWidth)&&void 0!==t?t:500,blocks:p.example?Object(s.getBlockFromExample)(e.name,{attributes:{...p.example.attributes,...b},innerBlocks:p.example.innerBlocks}):Object(s.createBlock)(r,b)})):Object(o.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(c.__)("No Preview Available."))),!m&&Object(o.createElement)(u.a,{title:i,icon:l,description:a}))},p=n("YLtl"),m=n("K9lf"),f=n("6ZVF"),h=n("mdLt"),g=n("+G0a"),O=n("wiT/");const v=[];var j=function({rootClientId:e,onInsert:t,onHover:n,showMostUsedBlocks:r}){const[i,l,a,s]=Object(g.a)(e,t),u=Object(o.useMemo)(()=>Object(p.orderBy)(i,["frecency"],["desc"]).slice(0,6),[i]),d=Object(o.useMemo)(()=>i.filter(e=>!e.category),[i]),b=Object(o.useMemo)(()=>Object(p.flow)(e=>e.filter(e=>e.category&&"reusable"!==e.category),e=>Object(p.groupBy)(e,"category"))(i),[i]),j=Object(o.useMemo)(()=>{const e={...a};return Object.keys(a).forEach(t=>{e[t]=i.filter(e=>(e=>e.name.split("/")[0])(e)===t),0===e[t].length&&delete e[t]}),e},[i,a]);Object(o.useEffect)(()=>()=>n(null),[]);const k=Object(m.useAsyncList)(l),_=l.length===k.length,y=Object(o.useMemo)(()=>Object.entries(a),[a]),E=Object(m.useAsyncList)(_?y:v);return Object(o.createElement)(O.a,null,Object(o.createElement)("div",null,r&&!!u.length&&Object(o.createElement)(h.a,{title:Object(c._x)("Most used","blocks")},Object(o.createElement)(f.a,{items:u,onSelect:s,onHover:n,label:Object(c._x)("Most used","blocks")})),Object(p.map)(k,e=>{const t=b[e.slug];return t&&t.length?Object(o.createElement)(h.a,{key:e.slug,title:e.title,icon:e.icon},Object(o.createElement)(f.a,{items:t,onSelect:s,onHover:n,label:e.title})):null}),_&&d.length>0&&Object(o.createElement)(h.a,{className:"block-editor-inserter__uncategorized-blocks-panel",title:Object(c.__)("Uncategorized")},Object(o.createElement)(f.a,{items:d,onSelect:s,onHover:n,label:Object(c.__)("Uncategorized")})),Object(p.map)(E,([e,t])=>{const r=j[e];return r&&r.length?Object(o.createElement)(h.a,{key:e,title:t.title,icon:t.icon},Object(o.createElement)(f.a,{items:r,onSelect:s,onHover:n,label:t.title})):null})))},k=n("TSYQ"),_=n.n(k);var y=function({selectedCategory:e,patternCategories:t,onClickCategory:n,openPatternExplorer:i}){const l=Object(m.useViewportMatch)("medium","<"),a=_()("block-editor-inserter__panel-header","block-editor-inserter__panel-header-patterns");return Object(o.createElement)(r.Flex,{justify:"space-between",align:"start",gap:"4",className:a},Object(o.createElement)(r.FlexItem,{isBlock:!0},Object(o.createElement)(r.SelectControl,{className:"block-editor-inserter__panel-dropdown",label:Object(c.__)("Filter patterns"),hideLabelFromVision:!0,value:e.name,onChange:e=>{n(t.find(t=>e===t.name))},onBlur:e=>{null!=e&&e.relatedTarget||e.stopPropagation()},options:(()=>{const e=[];return t.map(t=>e.push({value:t.name,label:t.label})),e})()})),!l&&Object(o.createElement)(r.FlexItem,null,Object(o.createElement)(r.Button,{variant:"secondary",className:"block-editor-inserter__patterns-explorer-expand",label:Object(c.__)("Explore all patterns"),onClick:()=>i()},Object(c._x)("Explore","Label for showing all block patterns"))))},E=n("nQUx"),C=n("Fmc1");function S({selectedCategory:e,patternCategories:t,onClickCategory:n}){const c="block-editor-block-patterns-explorer__sidebar";return Object(o.createElement)("div",{className:c+"__categories-list"},t.map(({name:t,label:i})=>Object(o.createElement)(r.Button,{key:t,label:i,className:c+"__categories-list__item",isPressed:e===t,onClick:()=>{n(t)}},i)))}function w({filterValue:e,setFilterValue:t}){return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer__search"},Object(o.createElement)(r.SearchControl,{onChange:t,value:e,label:Object(c.__)("Search for patterns"),placeholder:Object(c.__)("Search")}))}var B=function({selectedCategory:e,patternCategories:t,onClickCategory:n,filterValue:r,setFilterValue:c}){return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer__sidebar"},Object(o.createElement)(w,{filterValue:r,setFilterValue:c}),!r&&Object(o.createElement)(S,{selectedCategory:e,patternCategories:t,onClickCategory:n}))},I=n("gdqT"),x=n("LolH"),T=n("AORF"),P=n("pOGT");function R({filterValue:e,filteredBlockPatternsLength:t}){return e?Object(o.createElement)(r.__experimentalHeading,{level:2,lineHeight:"48px",className:"block-editor-block-patterns-explorer__search-results-count"},Object(c.sprintf)(Object(c._n)('%1$d pattern found for "%2$s"','%1$d patterns found for "%2$s"',t),t,e)):null}var N=function({filterValue:e,selectedCategory:t,patternCategories:n}){const r=Object(m.useDebounce)(I.speak,500),[i,l]=Object(T.a)({shouldFocusBlock:!0}),[a,,s]=Object(E.a)(l,i),u=Object(o.useMemo)(()=>n.map(e=>e.name),[n]),d=Object(o.useMemo)(()=>e?Object(P.b)(a,e):a.filter(e=>{var n,o;return"uncategorized"===t?!(null!==(n=e.categories)&&void 0!==n&&n.length)||e.categories.every(e=>!u.includes(e)):null===(o=e.categories)||void 0===o?void 0:o.includes(t)}),[e,t,a]);Object(o.useEffect)(()=>{if(!e)return;const t=d.length,n=Object(c.sprintf)(Object(c._n)("%d result found.","%d results found.",t),t);r(n)},[e,r]);const b=Object(m.useAsyncList)(d,{step:2}),p=!(null==d||!d.length);return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer__list"},p&&Object(o.createElement)(R,{filterValue:e,filteredBlockPatternsLength:d.length}),Object(o.createElement)(O.a,null,!p&&Object(o.createElement)(x.a,null),p&&Object(o.createElement)(C.a,{shownPatterns:b,blockPatterns:d,onClickPattern:s,isDraggable:!1})))};function L({initialCategory:e,patternCategories:t}){const[n,r]=Object(o.useState)(""),[c,i]=Object(o.useState)(null==e?void 0:e.name);return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer"},Object(o.createElement)(B,{selectedCategory:c,patternCategories:t,onClickCategory:i,filterValue:n,setFilterValue:r}),Object(o.createElement)(N,{filterValue:n,selectedCategory:c,patternCategories:t}))}var M=function({onModalClose:e,...t}){return Object(o.createElement)(r.Modal,{title:Object(c.__)("Patterns"),closeLabel:Object(c.__)("Close"),onRequestClose:e,isFullScreen:!0},Object(o.createElement)(L,t))};function A({rootClientId:e,onInsert:t,selectedCategory:n,populatedCategories:r}){const[c,,i]=Object(E.a)(t,e),l=Object(o.useCallback)(e=>{var t;if(null===(t=e.categories)||void 0===t||!t.length)return 1/0;const n=r.reduce((e,{name:t},n)=>(e[t]=n,e),{});return Math.min(...e.categories.map(e=>void 0!==n[e]?n[e]:1/0))},[r]),a=Object(o.useMemo)(()=>c.filter(e=>{var t;return"uncategorized"===n.name?l(e)===1/0:null===(t=e.categories)||void 0===t?void 0:t.includes(n.name)}),[c,n]),s=Object(o.useMemo)(()=>a.sort((e,t)=>l(e)-l(t)),[a,l]),u=Object(m.useAsyncList)(s);return a.length?Object(o.createElement)("div",{className:"block-editor-inserter__panel-content"},Object(o.createElement)(C.a,{shownPatterns:u,blockPatterns:a,onClickPattern:i,label:n.label,orientation:"vertical",isDraggable:!0})):null}var D=function({rootClientId:e,onInsert:t,onClickCategory:n,selectedCategory:r}){const[i,l]=Object(o.useState)(!1),[a,s]=Object(E.a)(),u=Object(o.useCallback)(e=>!(!e.categories||!e.categories.length)&&e.categories.some(e=>s.some(t=>t.name===e)),[s]),d=Object(o.useMemo)(()=>{const e=s.filter(e=>a.some(t=>{var n;return null===(n=t.categories)||void 0===n?void 0:n.includes(e.name)})).sort(({name:e},{name:t})=>[e,t].includes("featured")?"featured"===e?-1:1:0);return a.some(e=>!u(e))&&!e.find(e=>"uncategorized"===e.name)&&e.push({name:"uncategorized",label:Object(c._x)("Uncategorized")}),e},[a,s]),b=r||d[0];return Object(o.createElement)(o.Fragment,null,!i&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y,{selectedCategory:b,patternCategories:d,onClickCategory:n,openPatternExplorer:()=>l(!0)}),Object(o.createElement)(A,{rootClientId:e,onInsert:t,selectedCategory:b,populatedCategories:d})),i&&Object(o.createElement)(M,{initialCategory:b,patternCategories:d,onModalClose:()=>l(!1)}))},F=n("Mmq9");function z({onHover:e,onInsert:t,rootClientId:n}){const[r,,,i]=Object(g.a)(n,t),l=Object(o.useMemo)(()=>r.filter(({category:e})=>"reusable"===e),[r]);return 0===l.length?Object(o.createElement)(x.a,null):Object(o.createElement)(h.a,{title:Object(c.__)("Reusable blocks")},Object(o.createElement)(f.a,{items:l,onSelect:i,onHover:e,label:Object(c.__)("Reusable blocks")}))}var H=function({rootClientId:e,onInsert:t,onHover:n}){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(z,{onHover:n,onInsert:t,rootClientId:e}),Object(o.createElement)("div",{className:"block-editor-inserter__manage-reusable-blocks-container"},Object(o.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(F.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(c.__)("Manage Reusable blocks"))))},V=n("Wg7J");const G={name:"blocks",title:Object(c.__)("Blocks")},U={name:"patterns",title:Object(c.__)("Patterns")},W={name:"reusable",title:Object(c.__)("Reusable")};var q=function({children:e,showPatterns:t=!1,showReusableBlocks:n=!1,onSelect:c}){const i=Object(o.useMemo)(()=>{const e=[G];return t&&e.push(U),n&&e.push(W),e},[G,t,U,n,W]);return Object(o.createElement)(r.TabPanel,{className:"block-editor-inserter__tabs",tabs:i,onSelect:c},e)},K=n("BhPs");t.a=function({rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:l,onSelect:s,showInserterHelpPanel:u,showMostUsedBlocks:d,__experimentalFilterValue:p="",shouldFocusBlock:m=!0}){const[f,h]=Object(o.useState)(p),[g,O]=Object(o.useState)(null),[v,k]=Object(o.useState)(null),[_,y,E]=Object(T.a)({rootClientId:e,clientId:t,isAppender:n,insertionIndex:l,shouldFocusBlock:m}),{showPatterns:C,hasReusableBlocks:S}=Object(i.useSelect)(e=>{var t;const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(K.a);return{showPatterns:!!n(_).length,hasReusableBlocks:!(null===(t=o().__experimentalReusableBlocks)||void 0===t||!t.length)}},[_]),w=Object(o.useCallback)((e,t,n)=>{y(e,t,n),s()},[y,s]),B=Object(o.useCallback)((e,t)=>{y(e,{patternName:t}),s()},[y,s]),I=Object(o.useCallback)(e=>{E(!!e),O(e)},[E,O]),x=Object(o.useCallback)(e=>{k(e)},[k]),P=Object(o.useMemo)(()=>Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-inserter__block-list"},Object(o.createElement)(j,{rootClientId:_,onInsert:w,onHover:I,showMostUsedBlocks:d})),u&&Object(o.createElement)("div",{className:"block-editor-inserter__tips"},Object(o.createElement)(r.VisuallyHidden,{as:"h2"},Object(c.__)("A tip for using the block editor")),Object(o.createElement)(a,null))),[_,w,I,f,d,u]),R=Object(o.useMemo)(()=>Object(o.createElement)(D,{rootClientId:_,onInsert:B,onClickCategory:x,selectedCategory:v}),[_,B,x,v]),N=Object(o.useMemo)(()=>Object(o.createElement)(H,{rootClientId:_,onInsert:w,onHover:I}),[_,w,I]),L=Object(o.useCallback)(e=>"blocks"===e.name?P:"patterns"===e.name?R:N,[P,R,N]);return Object(o.createElement)("div",{className:"block-editor-inserter__menu"},Object(o.createElement)("div",{className:"block-editor-inserter__main-area"},Object(o.createElement)("div",{className:"block-editor-inserter__content"},Object(o.createElement)(r.SearchControl,{className:"block-editor-inserter__search",onChange:e=>{g&&O(null),h(e)},value:f,label:Object(c.__)("Search for blocks and patterns"),placeholder:Object(c.__)("Search")}),!!f&&Object(o.createElement)(V.a,{filterValue:f,onSelect:s,onHover:I,rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:l,showBlockDirectory:!0,shouldFocusBlock:m}),!f&&(C||S)&&Object(o.createElement)(q,{showPatterns:C,showReusableBlocks:S},L),!f&&!C&&!S&&P)),u&&g&&Object(o.createElement)(b,{item:g}))}},xkPd:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("l3Sj"),i=n("gdqT");t.a=Object(r.forwardRef)((function(e,t){const[n,l]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{n&&Object(i.speak)(Object(c.__)("Use left and right arrow keys to move through blocks"))},[n]),Object(r.createElement)("div",Object(o.a)({ref:t,role:"listbox","aria-orientation":"horizontal",onFocus:()=>{l(!0)},onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&l(!1)}},e))}))},yU1v:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),i=n.n(c),l=n("YLtl"),a=n("tI+e"),s=n("l3Sj"),u=n("hMaJ"),d=n("bVpQ"),b=n("Cn0l"),p=n("v5LD");const m=Object(s.__)("(%s: color %s)"),f=Object(s.__)("(%s: gradient %s)"),h=["colors","disableCustomColors","gradients","disableCustomGradients"],g=({colors:e,gradients:t,settings:n})=>n.map(({colorValue:n,gradientValue:o,label:c,colors:i,gradients:l},u)=>{if(!n&&!o)return null;let p;if(n){const t=Object(d.c)(i||e,n);p=Object(s.sprintf)(m,c.toLowerCase(),t&&t.name||n)}else{const e=Object(b.b)(l||t,n);p=Object(s.sprintf)(f,c.toLowerCase(),e&&e.name||o)}return Object(r.createElement)(a.ColorIndicator,{key:u,colorValue:n||o,"aria-label":p})}),O=({className:e,colors:t,gradients:n,disableCustomColors:c,disableCustomGradients:s,children:d,settings:b,title:p,showTitle:m=!0,__experimentalHasMultipleOrigins:f,...h})=>{if(Object(l.isEmpty)(t)&&Object(l.isEmpty)(n)&&c&&s&&Object(l.every)(b,e=>Object(l.isEmpty)(e.colors)&&Object(l.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)))return null;const O=Object(r.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},p,Object(r.createElement)(g,{colors:t,gradients:n,settings:b}));return Object(r.createElement)(a.PanelBody,Object(o.a)({className:i()("block-editor-panel-color-gradient-settings",e),title:m?O:void 0},h),b.map((e,i)=>Object(r.createElement)(u.a,Object(o.a)({showTitle:m,key:i,colors:t,gradients:n,disableCustomColors:c,disableCustomGradients:s,__experimentalHasMultipleOrigins:f},e))),d)};function v(){return{disableCustomColors:!Object(p.a)("color.custom"),disableCustomGradients:!Object(p.a)("color.customGradient")}}const j=e=>{const t=v();return t.colors=Object(p.a)("color.palette"),t.gradients=Object(p.a)("color.gradients"),Object(r.createElement)(O,Object(o.a)({},t,e))},k=e=>{const t=v(),n=Object(p.a)("color.palette.user"),c=Object(p.a)("color.palette.theme"),i=Object(p.a)("color.palette.core");t.colors=Object(r.useMemo)(()=>{const e=[];return i&&i.length&&e.push({name:Object(s.__)("Core"),colors:i}),c&&c.length&&e.push({name:Object(s.__)("Theme"),colors:c}),n&&n.length&&e.push({name:Object(s.__)("User"),colors:n}),e},[i,c,n]);const l=Object(p.a)("color.gradients.user"),a=Object(p.a)("color.gradients.theme"),u=Object(p.a)("color.gradients.core");return t.gradients=Object(r.useMemo)(()=>{const e=[];return u&&u.length&&e.push({name:Object(s.__)("Core"),gradients:u}),a&&a.length&&e.push({name:Object(s.__)("Theme"),gradients:a}),l&&l.length&&e.push({name:Object(s.__)("User"),gradients:l}),e},[l,a,u]),Object(r.createElement)(O,Object(o.a)({},t,e))};t.a=e=>Object(l.every)(h,t=>e.hasOwnProperty(t))?Object(r.createElement)(O,e):e.__experimentalHasMultipleOrigins?Object(r.createElement)(k,e):Object(r.createElement)(j,e)},ywyh:function(e,t){e.exports=window.wp.apiFetch},"z+q2":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("YLtl"),r=n("GRId"),c=n("1CF3"),i=n("1ZqX"),l=n("OL6h"),a=n("BhPs");function s(e){const t=Object(r.useRef)(),n=function(e){return Object(i.useSelect)(t=>{const{getSelectedBlocksInitialCaretPosition:n,isMultiSelecting:o,isNavigationMode:r,isBlockSelected:c}=t(a.a);if(c(e)&&!o()&&!r())return n()},[e])}(e);return Object(r.useEffect)(()=>{if(null==n)return;if(!t.current)return;const{ownerDocument:e}=t.current;if(t.current.contains(e.activeElement))return;const r=c.focus.tabbable.find(t.current).filter(e=>Object(c.isTextField)(e)),i=-1===n,a=(i?o.last:o.first)(r)||t.current;Object(l.c)(t.current,a)?Object(c.placeCaretAtHorizontalEdge)(a,i):t.current.focus()},[n]),t}},zQI6:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("1ZqX"),i=n("K9lf"),l=n("BhPs");function a(){const{hasSelectedBlock:e,hasMultiSelection:t}=Object(c.useSelect)(l.a),{clearSelectedBlock:n}=Object(c.useDispatch)(l.a);return Object(i.useRefEffect)(o=>{function r(r){(e()||t())&&r.target===o&&n()}return o.addEventListener("mousedown",r),()=>{o.removeEventListener("mousedown",r)}},[e,t,n])}function s(e){return Object(r.createElement)("div",Object(o.a)({ref:a()},e))}},ziDm:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=c},zmSX:function(e,t,n){"use strict";var o=n("Cn0l");n.d(t,"a",(function(){return o.a})),n.d(t,"b",(function(){return o.b})),n.d(t,"c",(function(){return o.c})),n.d(t,"d",(function(){return o.d})),n.d(t,"e",(function(){return o.e}))},zt9T:function(e,t,n){"use strict";var o=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,c=n.onlyScrollIfNeeded,i=n.alignWithTop,l=n.alignWithLeft,a=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var b=o.isWindow(t),p=o.offset(e),m=o.outerHeight(e),f=o.outerWidth(e),h=void 0,g=void 0,O=void 0,v=void 0,j=void 0,k=void 0,_=void 0,y=void 0,E=void 0,C=void 0;b?(_=t,C=o.height(_),E=o.width(_),y={left:o.scrollLeft(_),top:o.scrollTop(_)},j={left:p.left-y.left-s,top:p.top-y.top-a},k={left:p.left+f-(y.left+E)+d,top:p.top+m-(y.top+C)+u},v=y):(h=o.offset(t),g=t.clientHeight,O=t.clientWidth,v={left:t.scrollLeft,top:t.scrollTop},j={left:p.left-(h.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-s,top:p.top-(h.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},k={left:p.left+f-(h.left+O+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:p.top+m-(h.top+g+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),j.top<0||k.top>0?!0===i?o.scrollTop(t,v.top+j.top):!1===i?o.scrollTop(t,v.top+k.top):j.top<0?o.scrollTop(t,v.top+j.top):o.scrollTop(t,v.top+k.top):c||((i=void 0===i||!!i)?o.scrollTop(t,v.top+j.top):o.scrollTop(t,v.top+k.top)),r&&(j.left<0||k.left>0?!0===l?o.scrollLeft(t,v.left+j.left):!1===l?o.scrollLeft(t,v.left+k.left):j.left<0?o.scrollLeft(t,v.left+j.left):o.scrollLeft(t,v.left+k.left):c||((l=void 0===l||!!l)?o.scrollLeft(t,v.left+j.left):o.scrollLeft(t,v.left+k.left)))}}}); \ No newline at end of file + */,e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,c=n in document;if(!c){var l=document.createElement("div");l.setAttribute(n,"return;"),c="function"==typeof l[n]}return!c&&o&&"wheel"===e&&(c=document.implementation.hasFeature("Events.wheel","3.0")),c}},f8JO:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("YLtl"),r=n("1ZqX"),c=n("HSyU"),l=n("wC17"),i=n("BhPs");function a(e){let{clientId:t}=e;const{attributes:n,name:a,reusableBlockTitle:s}=Object(r.useSelect)(e=>{if(!t)return{};const{getBlockName:n,getBlockAttributes:o,__experimentalGetReusableBlockTitle:r}=e(i.a),l=n(t);if(!l)return{};const a=Object(c.isReusableBlock)(Object(c.getBlockType)(l));return{attributes:o(t),name:l,reusableBlockTitle:a&&r(o(t).ref)}},[t]),u=Object(l.a)(t);if(!a||!u)return null;const d=Object(c.getBlockType)(a),b=d?Object(c.__experimentalGetBlockLabel)(d,n):null,p=s||b;return p&&p!==d.title?Object(o.truncate)(p,{length:35}):u.title}},fHnH:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return T}));var o={grad:.9,turn:360,rad:360/(2*Math.PI)},r=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},c=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},l=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},i=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},a=function(e){return{r:l(e.r,0,255),g:l(e.g,0,255),b:l(e.b,0,255),a:l(e.a)}},s=function(e){return{r:c(e.r),g:c(e.g),b:c(e.b),a:c(e.a,3)}},u=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},b=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,c=Math.max(t,n,o),l=c-Math.min(t,n,o),i=l?c===t?(n-o)/l:c===n?2+(o-t)/l:4+(t-n)/l:0;return{h:60*(i<0?i+6:i),s:c?l/c*100:0,v:c/255*100,a:r}},p=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var c=Math.floor(t),l=o*(1-n),i=o*(1-(t-c)*n),a=o*(1-(1-t+c)*n),s=c%6;return{r:255*[o,i,l,l,a,o][s],g:255*[a,o,o,i,l,l][s],b:255*[l,l,a,o,o,i][s],a:r}},m=function(e){return{h:i(e.h),s:l(e.s,0,100),l:l(e.l,0,100),a:l(e.a)}},f=function(e){return{h:c(e.h),s:c(e.s),l:c(e.l),a:c(e.a,3)}},h=function(e){return p((n=(t=e).s,{h:t.h,s:(n*=((o=t.l)<50?o:100-o)/100)>0?2*n/(o+n)*100:0,v:o+n,a:t.a}));var t,n,o},g=function(e){return{h:(t=b(e)).h,s:(r=(200-(n=t.s))*(o=t.v)/100)>0&&r<200?n*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,n,o,r},O=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,j=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,k=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_={string:[[function(e){var t=u.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?c(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?c(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=j.exec(e)||k.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=O.exec(e)||v.exec(e);if(!t)return null;var n,r,c=m({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(o[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return h(c)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,c=e.a,l=void 0===c?1:c;return r(t)&&r(n)&&r(o)?a({r:Number(t),g:Number(n),b:Number(o),a:Number(l)}):null},"rgb"],[function(e){var t=e.h,n=e.s,o=e.l,c=e.a,l=void 0===c?1:c;if(!r(t)||!r(n)||!r(o))return null;var i=m({h:Number(t),s:Number(n),l:Number(o),a:Number(l)});return h(i)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,c=e.a,a=void 0===c?1:c;if(!r(t)||!r(n)||!r(o))return null;var s=function(e){return{h:i(e.h),s:l(e.s,0,100),v:l(e.v,0,100),a:l(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(a)});return p(s)},"hsv"]]},y=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=(e=s(this.rgba)).r,n=e.g,o=e.b,l=(r=e.a)<1?d(c(255*r)):"","#"+d(t)+d(n)+d(o)+l;var e,t,n,o,r,l},e.prototype.toRgb=function(){return s(this.rgba)},e.prototype.toRgbString=function(){return t=(e=s(this.rgba)).r,n=e.g,o=e.b,(r=e.a)<1?"rgba("+t+", "+n+", "+o+", "+r+")":"rgb("+t+", "+n+", "+o+")";var e,t,n,o,r},e.prototype.toHsl=function(){return f(g(this.rgba))},e.prototype.toHslString=function(){return t=(e=f(g(this.rgba))).h,n=e.s,o=e.l,(r=e.a)<1?"hsla("+t+", "+n+"%, "+o+"%, "+r+")":"hsl("+t+", "+n+"%, "+o+"%)";var e,t,n,o,r},e.prototype.toHsv=function(){return e=b(this.rgba),{h:c(e.h),s:c(e.s),v:c(e.v),a:c(e.a,3)};var e},e.prototype.invert=function(){return I({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),I(C(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),I(C(this.rgba,-e))},e.prototype.grayscale=function(){return I(C(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),I(w(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),I(w(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?I({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):c(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=g(this.rgba);return"number"==typeof e?I({h:e,s:t.s,l:t.l,a:t.a}):c(t.h)},e.prototype.isEqual=function(e){return this.toHex()===I(e).toHex()},e}(),I=function(e){return e instanceof B?e:new B(e)},x=[],T=function(e){e.forEach((function(e){x.indexOf(e)<0&&(e(B,_),x.push(e))}))}},fOYa:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("tI+e"),i=n("HSyU"),a=n("1ZqX");var s={default:Object(l.createSlotFill)("BlockControls"),block:Object(l.createSlotFill)("BlockControlsBlock"),inline:Object(l.createSlotFill)("BlockFormatControls"),other:Object(l.createSlotFill)("BlockControlsOther"),parent:Object(l.createSlotFill)("BlockControlsParent")},u=n("BhPs"),d=n("ur0x"),b=n("HgtZ");function p(e){let{group:t="default",controls:n,children:o,__experimentalShareWithChildBlocks:p=!1}=e;const m=function(e,t){const n=Object(b.a)(),{clientId:o}=Object(d.c)(),r=Object(a.useSelect)(e=>{const{getBlockName:n,hasSelectedInnerBlock:r}=e(u.a),{hasBlockSupport:c}=e(i.store);return t&&c(n(o),"__experimentalExposeControlsToChildren",!1)&&r(o)},[t,o]);var c;return n?null===(c=s[e])||void 0===c?void 0:c.Fill:r?s.parent.Fill:null}(t,p);return m?Object(r.createElement)(l.__experimentalStyleProvider,{document:document},Object(r.createElement)(m,null,e=>{const i=Object(c.isEmpty)(e)?null:e;return Object(r.createElement)(l.__experimentalToolbarContext.Provider,{value:i},"default"===t&&Object(r.createElement)(l.ToolbarGroup,{controls:n}),o)})):null}function m(e){let{group:t="default",...n}=e;const c=Object(r.useContext)(l.__experimentalToolbarContext),i=s[t].Slot,a=Object(l.__experimentalUseSlot)(i.__unstableName);return Boolean(a.fills&&a.fills.length)?"default"===t?Object(r.createElement)(i,Object(o.a)({},n,{bubblesVirtually:!0,fillProps:c})):Object(r.createElement)(l.ToolbarGroup,null,Object(r.createElement)(i,Object(o.a)({},n,{bubblesVirtually:!0,fillProps:c}))):null}const f=p;f.Slot=m;const h=e=>Object(r.createElement)(p,Object(o.a)({group:"inline"},e));h.Slot=e=>Object(r.createElement)(m,Object(o.a)({group:"inline"},e));t.b=f},fPbg:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=c},faye:function(e,t){e.exports=window.ReactDOM},felP:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("1CF3"),r=n("RxS6"),c=n("1ZqX"),l=n("K9lf"),i=n("BhPs");function a(e){const t=Object(c.useSelect)(t=>t(i.a).isBlockSelected(e),[e]),{getBlockRootClientId:n,getBlockIndex:a}=Object(c.useSelect)(i.a),{insertDefaultBlock:s,removeBlock:u}=Object(c.useDispatch)(i.a);return Object(l.useRefEffect)(c=>{if(t)return c.addEventListener("keydown",l),c.addEventListener("dragstart",i),()=>{c.removeEventListener("keydown",l),c.removeEventListener("dragstart",i)};function l(t){const{keyCode:l,target:i}=t;l!==r.ENTER&&l!==r.BACKSPACE&&l!==r.DELETE||i!==c||Object(o.isTextField)(i)||(t.preventDefault(),l===r.ENTER?s({},n(e),a(e)+1):u(e))}function i(e){e.preventDefault()}},[e,t,n,a,s,u])}},g56x:function(e,t){e.exports=window.wp.hooks},gdqT:function(e,t){e.exports=window.wp.a11y},hF7m:function(e,t){e.exports=window.wp.keyboardShortcuts},hHnB:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("l3Sj"),a=n("K9lf"),s=n("tI+e"),u=n("zQI6"),d=n("TVFh");function b(e){return Object(r.useMemo)(()=>{const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children)},[e])}t.a=Object(r.forwardRef)((function(e,t){var n,c;let{contentRef:p,children:m,head:f,tabIndex:h=0,...g}=e;const[,O]=Object(r.useReducer)(()=>({})),[v,j]=Object(r.useState)(),[k,_]=Object(r.useState)([]),y=b(null===(n=window.__editorAssets)||void 0===n?void 0:n.styles),E=b(null===(c=window.__editorAssets)||void 0===c?void 0:c.scripts),C=Object(u.b)(),[S,w,B]=Object(d.b)(),I=Object(a.useRefEffect)(e=>{function t(){const{contentDocument:t,ownerDocument:n}=e,{readyState:o,documentElement:r}=t;return("interactive"===o||"complete"===o)&&(function(e){const{defaultView:t}=e,{frameElement:n}=t;function o(e){const o=Object.getPrototypeOf(e).constructor.name,r=window[o],c={};for(const t in e)c[t]=e[t];if(e instanceof t.MouseEvent){const e=n.getBoundingClientRect();c.clientX+=e.left,c.clientY+=e.top}const l=new r(e.type,c);!n.dispatchEvent(l)&&e.preventDefault()}const r=["dragover"];for(const t of r)e.addEventListener(t,o)}(t),j(t),C(r),_(Array.from(n.body.classList).filter(e=>e.startsWith("admin-color-")||"wp-embed-responsive"===e)),t.dir=n.dir,r.removeChild(t.head),r.removeChild(t.body),!0)}t()||e.addEventListener("load",()=>{t()})},[]),x=Object(a.useRefEffect)(e=>{E.reduce((t,n)=>t.then(()=>async function(e,t){let{id:n,src:o}=t;return new Promise((t,r)=>{const c=e.ownerDocument.createElement("script");c.id=n,o?(c.src=o,c.onload=()=>t(),c.onerror=()=>r()):t(),e.appendChild(c)})}(e,n)),Promise.resolve()).finally(()=>{O()})},[]),T=Object(a.useMergeRefs)([p,C,w]);return Object(r.useEffect)(()=>{var e;v&&(e=v,Array.from(document.styleSheets).forEach(t=>{try{t.cssRules}catch(e){return}const{ownerNode:n,cssRules:o}=t;if(o&&"LINK"===n.tagName&&"wp-reset-editor-styles-css"!==n.id&&Array.from(o).find(e=>{let{selectorText:t}=e;return t&&(t.includes(".editor-styles-wrapper")||t.includes(".wp-block"))})&&!e.getElementById(n.id)){console.warn(`Stylesheet ${n.id} was not properly added.\nFor blocks, use the block API's style (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#style) or editorStyle (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#editor-style).\nFor themes, use add_editor_style (https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#editor-styles).`,n.outerHTML),e.head.appendChild(n.cloneNode(!0));const t=n.id.replace("-css","-inline-css"),o=document.getElementById(t);o&&e.head.appendChild(o.cloneNode(!0))}}))},[v]),f=Object(r.createElement)(r.Fragment,null,Object(r.createElement)("style",null,"body{margin:0}"),y.map(e=>{let{tagName:t,href:n,id:o,rel:c,media:l,textContent:i}=e;const a=t.toLowerCase();return"style"===a?Object(r.createElement)(a,{id:o,key:o},i):Object(r.createElement)(a,{href:n,id:o,rel:c,media:l,key:o})}),f),Object(r.createElement)(r.Fragment,null,h>=0&&S,Object(r.createElement)("iframe",Object(o.a)({},g,{ref:Object(a.useMergeRefs)([t,I]),tabIndex:h,title:Object(i.__)("Editor canvas")}),v&&Object(r.createPortal)(Object(r.createElement)(r.Fragment,null,Object(r.createElement)("head",{ref:x},f),Object(r.createElement)("body",{ref:T,className:l()("editor-styles-wrapper",...k)},Object(r.createElement)(s.__experimentalStyleProvider,{document:v},m))),v.documentElement)),h>=0&&B)}))},hMaJ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("YLtl"),a=n("tI+e"),s=n("l3Sj"),u=n("v5LD");const d=["colors","disableCustomColors","gradients","disableCustomGradients"];function b(e){let{colors:t,gradients:n,disableCustomColors:o,disableCustomGradients:c,__experimentalHasMultipleOrigins:u,className:d,label:b,onColorChange:p,onGradientChange:m,colorValue:f,gradientValue:h,clearable:g,showTitle:O=!0}=e;const v=p&&(!Object(i.isEmpty)(t)||!o),j=m&&(!Object(i.isEmpty)(n)||!c),[k,_]=Object(r.useState)(h?"gradient":!!v&&"color");return v||j?Object(r.createElement)(a.BaseControl,{className:l()("block-editor-color-gradient-control",d)},Object(r.createElement)("fieldset",null,Object(r.createElement)(a.__experimentalVStack,{spacing:1},O&&Object(r.createElement)("legend",null,Object(r.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(r.createElement)(a.BaseControl.VisualLabel,null,b))),v&&j&&Object(r.createElement)(a.__experimentalToggleGroupControl,{value:k,onChange:_,label:Object(s.__)("Select color type"),hideLabelFromVision:!0,isBlock:!0},Object(r.createElement)(a.__experimentalToggleGroupControlOption,{value:"color",label:Object(s.__)("Solid")}),Object(r.createElement)(a.__experimentalToggleGroupControlOption,{value:"gradient",label:Object(s.__)("Gradient")})),("color"===k||!j)&&Object(r.createElement)(a.ColorPalette,{value:f,onChange:j?e=>{p(e),m()}:p,colors:t,disableCustomColors:o,__experimentalHasMultipleOrigins:u,clearable:g}),("gradient"===k||!v)&&Object(r.createElement)(a.GradientPicker,{value:h,onChange:v?e=>{m(e),p()}:m,gradients:n,disableCustomGradients:c,__experimentalHasMultipleOrigins:u,clearable:g})))):null}function p(e){const t={};return t.colors=Object(u.a)("color.palette"),t.gradients=Object(u.a)("color.gradients"),t.disableCustomColors=!Object(u.a)("color.custom"),t.disableCustomGradients=!Object(u.a)("color.customGradient"),Object(r.createElement)(b,Object(o.a)({},t,e))}t.a=function(e){return Object(i.every)(d,t=>e.hasOwnProperty(t))?Object(r.createElement)(b,e):Object(r.createElement)(p,e)}},hw9B:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs"),l=n("OL6h");function i(e,t){Array.from(e.closest(".is-root-container").querySelectorAll(".rich-text")).forEach(e=>{t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")})}function a(e){const{startMultiSelect:t,stopMultiSelect:n,multiSelect:a,selectBlock:s}=Object(o.useDispatch)(c.a),{isSelectionEnabled:u,isBlockSelected:d,getBlockParents:b,getBlockSelectionStart:p,hasMultiSelection:m}=Object(o.useSelect)(c.a);return Object(r.useRefEffect)(o=>{const{ownerDocument:r}=o,{defaultView:c}=r;let f,h;function g(t){let{isSelectionEnd:n}=t;const r=c.getSelection();if(!r.rangeCount||r.isCollapsed)return void i(o,!0);const u=Object(l.a)(r.focusNode);if(e===u){if(s(e),n&&(i(o,!0),r.rangeCount)){const{commonAncestorContainer:e}=r.getRangeAt(0);f.contains(e)&&f.focus()}}else{const t=[...b(e),e],n=[...b(u),u],o=Math.min(t.length,n.length)-1;a(t[o],n[o])}}function O(){r.removeEventListener("selectionchange",g),c.removeEventListener("mouseup",O),h=c.requestAnimationFrame(()=>{g({isSelectionEnd:!0}),n()})}function v(n){let{buttons:l}=n;1===l&&u()&&d(e)&&(f=r.activeElement,t(),r.addEventListener("selectionchange",g),c.addEventListener("mouseup",O),i(o,!1))}function j(t){if(u()&&0===t.button)if(t.shiftKey){const n=p(),r=b(n);if(n&&n!==e&&(null==r||!r.includes(e))){const c=[...r,n],l=[...b(e),e],s=Math.min(c.length,l.length)-1,u=c[s],d=l[s];u!==d&&(i(o,!1),a(u,d),t.preventDefault())}}else m()&&s(e)}return o.addEventListener("mousedown",j),o.addEventListener("mouseleave",v),()=>{o.removeEventListener("mousedown",j),o.removeEventListener("mouseleave",v),r.removeEventListener("selectionchange",g),c.removeEventListener("mouseup",O),c.cancelAnimationFrame(h)}},[e,t,n,a,s,u,d,b])}},iA5R:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new(((o=n("smQA"))&&o.__esModule?o:{default:o}).default);t.characterDiff=r},iClF:function(e,t,n){"use strict";var o=n("GRId");t.a=function(e){let{icon:t,size:n=24,...r}=e;return Object(o.cloneElement)(t,{width:n,height:n,...r})}},j6zP:function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("q3tz");t.a=e=>{let{isEnabled:t,blocks:n,icon:l,children:i}=e;const a={type:"inserter",blocks:n};return Object(o.createElement)(r.Draggable,{__experimentalTransferDataType:"wp-blocks",transferData:a,__experimentalDragComponent:Object(o.createElement)(c.a,{count:n.length,icon:l})},e=>{let{onDraggableStart:n,onDraggableEnd:o}=e;return i({draggable:t,onDragStart:t?n:void 0,onDragEnd:t?o:void 0})})}},jB5C:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;tObject(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)).join(""));var d;const b=(m=t.originalContent,g=u,Object(f.diffChars)(m,g).map((e,t)=>{const n=c()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(o.createElement)("span",{key:t,className:n},e.value)}));var m,g;return Object(o.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(o.createElement)(h,{title:Object(p.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(p.__)("Convert to HTML"),rawContent:t.originalContent,renderedContent:t.originalContent}),Object(o.createElement)(h,{title:Object(p.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:s,rawContent:b,renderedContent:u}))},O=n("BhPs");const v=e=>Object(i.rawHandler)({HTML:e.originalContent});var j=Object(u.compose)([Object(s.withSelect)((e,t)=>{let{clientId:n}=t;return{block:e(O.a).getBlock(n)}}),Object(s.withDispatch)((e,t)=>{let{block:n}=t;const{replaceBlock:o}=e(O.a);return{convertToClassic(){o(n.clientId,(e=>Object(i.createBlock)("core/freeform",{content:e.originalContent}))(n))},convertToHTML(){o(n.clientId,(e=>Object(i.createBlock)("core/html",{content:e.originalContent}))(n))},convertToBlocks(){o(n.clientId,v(n))},attemptBlockRecovery(){o(n.clientId,(e=>{let{name:t,attributes:n,innerBlocks:o}=e;return Object(i.createBlock)(t,n,o)})(n))}}})])((function(e){let{convertToHTML:t,convertToBlocks:n,convertToClassic:r,attemptBlockRecovery:c,block:l}=e;const s=!!Object(i.getBlockType)("core/html"),[u,d]=Object(o.useState)(!1),b=Object(o.useCallback)(()=>d(!0),[]),f=Object(o.useCallback)(()=>d(!1),[]),h=Object(o.useMemo)(()=>[{title:Object(p._x)("Resolve","imperative verb"),onClick:b},s&&{title:Object(p.__)("Convert to HTML"),onClick:t},{title:Object(p.__)("Convert to Classic Block"),onClick:r}].filter(Boolean),[b,t,r]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.a,{actions:[Object(o.createElement)(a.Button,{key:"recover",onClick:c,variant:"primary"},Object(p.__)("Attempt Block Recovery"))],secondaryActions:h},Object(p.__)("This block contains unexpected or invalid content.")),u&&Object(o.createElement)(a.Modal,{title:Object(p.__)("Resolve Block"),onRequestClose:f,className:"block-editor-block-compare"},Object(o.createElement)(g,{block:l,onKeep:t,onConvert:n,convertor:v,convertButtonText:Object(p.__)("Convert to Blocks")})))}));const k=Object(o.createElement)(m.a,{className:"block-editor-block-list__block-crash-warning"},Object(p.__)("This block has encountered an error and cannot be previewed."));var _=()=>k;class y extends o.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}}var E=y,C=n("O6Fj"),S=n.n(C);var w=function(e){let{clientId:t}=e;const[n,r]=Object(o.useState)(""),c=Object(s.useSelect)(e=>e(O.a).getBlock(t),[t]),{updateBlock:l}=Object(s.useDispatch)(O.a);return Object(o.useEffect)(()=>{r(Object(i.getBlockContent)(c))},[c]),Object(o.createElement)(S.a,{className:"block-editor-block-list__block-html-textarea",value:n,onBlur:()=>{const e=Object(i.getBlockType)(c.name);if(!e)return;const o=Object(i.getBlockAttributes)(e,n,c.attributes),a=n||Object(i.getSaveContent)(e,o),s=!n||Object(i.isValidBlockContent)(e,o,a);l(t,{attributes:o,originalContent:a,isValid:s}),n||r({content:a})},onChange:e=>r(e.target.value)})},B=n("nlh6");const I=Object(o.createContext)();function x(e){let{children:t,isHtml:n,...r}=e;return Object(o.createElement)("div",Object(B.a)(r,{__unstableIsHtml:n}),t)}const T=Object(s.withSelect)((e,t)=>{let{clientId:n,rootClientId:o}=t;const{isBlockSelected:r,getBlockMode:c,isSelectionEnabled:l,getTemplateLock:i,__unstableGetBlockWithoutInnerBlocks:a,canRemoveBlock:s,canMoveBlock:u}=e(O.a),d=a(n),b=r(n),p=i(o),m=s(n,o),f=u(n,o),{name:h,attributes:g,isValid:v}=d||{};return{mode:c(n),isSelectionEnabled:l(),isLocked:!!p,canRemove:m,canMove:f,block:d,name:h,attributes:g,isValid:v,isSelected:b}}),P=Object(s.withDispatch)((e,t,n)=>{let{select:o}=n;const{updateBlockAttributes:r,insertBlocks:c,mergeBlocks:l,replaceBlocks:a,toggleSelection:s,__unstableMarkLastChangeAsPersistent:u}=e(O.a);return{setAttributes(e){const{getMultiSelectedBlockClientIds:n}=o(O.a),c=n(),{clientId:l}=t,i=c.length?c:[l];r(i,e)},onInsertBlocks(e,n){const{rootClientId:o}=t;c(e,n,o)},onInsertBlocksAfter(e){const{clientId:n,rootClientId:r}=t,{getBlockIndex:l}=o(O.a),i=l(n,r);c(e,i+1,r)},onMerge(e){const{clientId:n}=t,{getPreviousBlockClientId:r,getNextBlockClientId:c}=o(O.a);if(e){const e=c(n);e&&l(n,e)}else{const e=r(n);e&&l(e,n)}},onReplace(e,n,o){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&u(),a([t.clientId],e,n,o)},toggleSelection(e){s(e)}}});t.b=Object(u.compose)(u.pure,T,P,Object(u.ifCondition)(e=>{let{block:t}=e;return!!t}),Object(a.withFilters)("editor.BlockListBlock"))((function(e){let{mode:t,isLocked:n,canRemove:r,clientId:a,isSelected:u,isSelectionEnabled:p,className:m,name:f,isValid:h,attributes:g,wrapperProps:v,setAttributes:k,onReplace:y,onInsertBlocksAfter:C,onMerge:S,toggleSelection:B}=e;const{removeBlock:T}=Object(s.useDispatch)(O.a),P=Object(o.useCallback)(()=>T(a),[a]);let R=Object(o.createElement)(b.a,{name:f,isSelected:u,attributes:g,setAttributes:k,insertBlocksAfter:n?void 0:C,onReplace:r?y:void 0,onRemove:r?P:void 0,mergeBlocks:r?S:void 0,clientId:a,isSelectionEnabled:p,toggleSelection:B});const N=Object(i.getBlockType)(f);null!=N&&N.getEditWrapperProps&&(v=function(e,t){const n={...e,...t};return e&&t&&e.className&&t.className&&(n.className=c()(e.className,t.className)),e&&t&&e.style&&t.style&&(n.style={...e.style,...t.style}),n}(v,N.getEditWrapperProps(g)));const L=v&&!!v["data-align"];let M;if(L&&(R=Object(o.createElement)("div",{className:"wp-block","data-align":v["data-align"]},R)),h)M="html"===t?Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{display:"none"}},R),Object(o.createElement)(x,{isHtml:!0},Object(o.createElement)(w,{clientId:a}))):(null==N?void 0:N.apiVersion)>1?R:Object(o.createElement)(x,v,R);else{const e=Object(i.getSaveContent)(N,g);M=Object(o.createElement)(x,{className:"has-warning"},Object(o.createElement)(j,{clientId:a}),Object(o.createElement)(o.RawHTML,null,Object(d.safeHTML)(e)))}const A={clientId:a,className:m,wrapperProps:Object(l.omit)(v,["data-align"]),isAligned:L},D=Object(o.useMemo)(()=>A,Object.values(A));return Object(o.createElement)(I.Provider,{value:D},Object(o.createElement)(E,{fallback:Object(o.createElement)(x,{className:"has-warning"},Object(o.createElement)(_,null))},M))}))},jTPX:function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},jrfk:function(e,t){var n,o,r,c,l,i,a,s,u,d,b,p,m,f,h,g=!1;function O(){if(!g){g=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),O=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),f=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),b=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var v=/(?:Trident\/(\d+.\d+))/.exec(e);i=v?parseFloat(v[1])+4:n,o=t[2]?parseFloat(t[2]):NaN,r=t[3]?parseFloat(t[3]):NaN,(c=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),l=t&&t[1]?parseFloat(t[1]):NaN):l=NaN}else n=o=r=l=c=NaN;if(O){if(O[1]){var j=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!j||parseFloat(j[1].replace("_","."))}else a=!1;s=!!O[2],u=!!O[3]}else a=s=u=!1}}var v={ie:function(){return O()||n},ieCompatibilityMode:function(){return O()||i>n},ie64:function(){return v.ie()&&b},firefox:function(){return O()||o},opera:function(){return O()||r},webkit:function(){return O()||c},safari:function(){return v.webkit()},chrome:function(){return O()||l},windows:function(){return O()||s},osx:function(){return O()||a},linux:function(){return O()||u},iphone:function(){return O()||p},mobile:function(){return O()||p||m||d||h},nativeApp:function(){return O()||f},android:function(){return O()||d},ipad:function(){return O()||m}};e.exports=v},jwne:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=(n("Z23Y"),n("c1Zz")),i=n("asom"),a=n("VrEk");function s(t){var n;let{__experimentalGroup:s="default",bubblesVirtually:u=!0,label:d,...b}=t;const p=null===(n=a.a[s])||void 0===n?void 0:n.Slot,m=Object(c.__experimentalUseSlot)(null==p?void 0:p.__unstableName);if(!p||!m)return void 0!==e&&e.env,null;return Boolean(m.fills&&m.fills.length)?d?Object(r.createElement)(l.a,{group:s,label:d},Object(r.createElement)(i.a,Object(o.a)({},b,{bubblesVirtually:u,Slot:p}))):Object(r.createElement)(p,Object(o.a)({},b,{bubblesVirtually:u})):null}}).call(this,n("8oxB"))},kBLm:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs");function l(e){if(e.defaultPrevented)return;const t="mouseover"===e.type?"add":"remove";e.preventDefault(),e.currentTarget.classList[t]("is-hovered")}function i(){const e=Object(o.useSelect)(e=>{const{isNavigationMode:t,getSettings:n}=e(c.a);return t()||n().outlineMode},[]);return Object(r.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",l),t.addEventListener("mouseover",l),()=>{t.removeEventListener("mouseout",l),t.removeEventListener("mouseover",l),t.classList.remove("is-hovered")}},[e])}},kVRd:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("GRId"),r=n("tI+e"),c=n("Tqx9");var l=Object(o.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(c.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})),i=n("Crq9"),a=n("l3Sj");const s=[{name:Object(a.__)("Underline"),value:"underline",icon:l},{name:Object(a.__)("Strikethrough"),value:"line-through",icon:i.a}];function u(e){let{value:t,onChange:n}=e;return Object(o.createElement)("fieldset",{className:"block-editor-text-decoration-control"},Object(o.createElement)("legend",null,Object(a.__)("Decoration")),Object(o.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},s.map(e=>Object(o.createElement)(r.Button,{key:e.value,icon:e.icon,isSmall:!0,isPressed:e.value===t,onClick:()=>n(e.value===t?void 0:e.value),"aria-label":e.name}))))}},kWXm:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"}));t.a=c},kaUp:function(e,t){},kmrn:function(e,t,n){"use strict";n.d(t,"useSpring",(function(){return he}));var o=n("nEW0");n.d(t,"Globals",(function(){return o.b}));var r=n("cDcd"),c=n("dfZa");n("kaUp"),n("v8Ku");function l(){return(l=Object.assign||function(e){for(var t=1;t!0===e||!!(t&&e&&(o.s.fun(e)?e(t):Object(o.y)(e).includes(t))),s=(e,t)=>o.s.obj(e)?t&&e[t]:e,u=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,d=e=>e,b=(e,t=d)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const c of n){const n=t(e[c],c);o.s.und(n)||(r[c]=n)}return r},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],m={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function f(e){const t=function(e){const t={};let n=0;if(Object(o.l)(e,(e,o)=>{m[o]||(t[o]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Object(o.l)(e,(e,o)=>o in t||(n[o]=e)),n}return l({},e)}function h(e){return e=Object(o.q)(e),o.s.arr(e)?e.map(h):Object(o.t)(e)?o.b.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function g(e){for(const t in e)return!0;return!1}function O(e){return o.s.fun(e)||o.s.arr(e)&&o.s.obj(e[0])}function v(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function j(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const k=l({},{tension:170,friction:26},{mass:1,damping:1,easing:e=>e,clamp:!1});class _{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,k)}}function y(e,t){if(o.s.und(t.decay)){const n=!o.s.und(t.tension)||!o.s.und(t.friction);!n&&o.s.und(t.frequency)&&o.s.und(t.damping)&&o.s.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const E=[];class C{constructor(){this.changed=!1,this.values=E,this.toValues=null,this.fromValues=E,this.to=void 0,this.from=void 0,this.config=new _,this.immediate=!1}}function S(e,{key:t,props:n,defaultProps:r,state:c,actions:s}){return new Promise((u,d)=>{var b;let p,m,f=a(null!=(b=n.cancel)?b:null==r?void 0:r.cancel,t);if(f)O();else{o.s.und(n.pause)||(c.paused=a(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=c.paused||a(e,t)),p=i(n.delay||0,t),e?(c.resumeQueue.add(g),s.pause()):(s.resume(),g())}function h(){c.resumeQueue.add(g),c.timeouts.delete(m),m.cancel(),p=m.time-o.w.now()}function g(){p>0?(m=o.w.setTimeout(O,p),c.pauseQueue.add(h),c.timeouts.add(m)):O()}function O(){c.pauseQueue.delete(h),c.timeouts.delete(m),e<=(c.cancelId||0)&&(f=!0);try{s.start(l({},n,{callId:e,cancel:f}),u)}catch(e){d(e)}}})}const w=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?x(e.get()):t.every(e=>e.noop)?B(e.get()):I(e.get(),t.every(e=>e.finished)),B=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),I=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),x=e=>({value:e,cancelled:!0,finished:!1});function T(e,t,n,r){const{callId:c,parentId:i,onRest:a}=t,{asyncTo:s,promise:u}=n;return i||e!==s||t.reset?n.promise=(async()=>{n.asyncId=c,n.asyncTo=e;const d=b(t,(e,t)=>"onRest"===t?void 0:e);let p,m;const f=new Promise((e,t)=>(p=e,m=t)),h=e=>{const t=c<=(n.cancelId||0)&&x(r)||c!==n.asyncId&&I(r,!1);if(t)throw e.result=t,m(e),e},g=(e,t)=>{const i=new R,a=new N;return(async()=>{if(o.b.skipAnimation)throw P(n),a.result=I(r,!1),m(a),a;h(i);const s=o.s.obj(e)?l({},e):l({},t,{to:e});s.parentId=c,Object(o.l)(d,(e,t)=>{o.s.und(s[t])&&(s[t]=e)});const u=await r.start(s);return h(i),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),u})()};let O;if(o.b.skipAnimation)return P(n),I(r,!1);try{let t;t=o.s.arr(e)?(async e=>{for(const t of e)await g(t)})(e):Promise.resolve(e(g,r.stop.bind(r))),await Promise.all([t.then(p),f]),O=I(r.get(),!0,!1)}catch(e){if(e instanceof R)O=e.result;else{if(!(e instanceof N))throw e;O=e.result}}finally{c==n.asyncId&&(n.asyncId=i,n.asyncTo=i?s:void 0,n.promise=i?u:void 0)}return o.s.fun(a)&&o.w.batchedUpdates(()=>{a(O,r,r.item)}),O})():u}function P(e,t){Object(o.m)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class R extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class N extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const L=e=>e instanceof A;let M=1;class A extends o.a{constructor(...e){super(...e),this.id=M++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Object(c.e)(this);return e&&e.getValue()}to(...e){return o.b.to(this,e)}interpolate(...e){return Object(o.j)(),o.b.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Object(o.d)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||o.o.sort(this),Object(o.d)(this,{type:"priority",parent:this,priority:e})}}const D=Symbol.for("SpringPhase"),F=e=>(1&e[D])>0,z=e=>(2&e[D])>0,H=e=>(4&e[D])>0,V=(e,t)=>t?e[D]|=3:e[D]&=-3,G=(e,t)=>t?e[D]|=4:e[D]&=-5;class U extends A{constructor(e,t){if(super(),this.key=void 0,this.animation=new C,this.queue=void 0,this.defaultProps={},this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!o.s.und(e)||!o.s.und(t)){const n=o.s.obj(e)?l({},e):l({},t,{from:e});o.s.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(z(this)||this._state.asyncTo)||H(this)}get goal(){return Object(o.q)(this.animation.to)}get velocity(){const e=Object(c.e)(this);return e instanceof c.c?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return F(this)}get isAnimating(){return z(this)}get isPaused(){return H(this)}advance(e){let t=!0,n=!1;const r=this.animation;let{config:l,toValues:i}=r;const a=Object(c.g)(r.to);!a&&Object(o.r)(r.to)&&(i=Object(o.y)(Object(o.q)(r.to))),r.values.forEach((s,u)=>{if(s.done)return;const d=s.constructor==c.b?1:a?a[u].lastPosition:i[u];let b=r.immediate,p=d;if(!b){if(p=s.lastPosition,l.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[u],c=null!=s.v0?s.v0:s.v0=o.s.arr(l.velocity)?l.velocity[u]:l.velocity;let i;if(o.s.und(l.duration))if(l.decay){const e=!0===l.decay?.998:l.decay,o=Math.exp(-(1-e)*t);p=n+c/(1-e)*(1-o),b=Math.abs(s.lastPosition-p)<.1,i=c*o}else{i=null==s.lastVelocity?c:s.lastVelocity;const t=l.precision||(n==d?.005:Math.min(1,.001*Math.abs(d-n))),r=l.restVelocity||t/10,a=l.clamp?0:l.bounce,u=!o.s.und(a),m=n==d?s.v0>0:nr,f||(b=Math.abs(d-p)<=t,!b));++e){u&&(h=p==d||p>d==m,h&&(i=-i*a,p=d));i+=(1e-6*-l.tension*(p-d)+.001*-l.friction*i)/l.mass*g,p+=i*g}}else{let o=1;l.duration>0&&(this._memoizedDuration!==l.duration&&(this._memoizedDuration=l.duration,s.durationProgress>0&&(s.elapsedTime=l.duration*s.durationProgress,t=s.elapsedTime+=e)),o=(l.progress||0)+t/this._memoizedDuration,o=o>1?1:o<0?0:o,s.durationProgress=o),p=n+l.easing(o)*(d-n),i=(p-s.lastPosition)/e,b=1==o}s.lastVelocity=i,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),b=!0)}a&&!a[u].done&&(b=!1),b?s.done=!0:t=!1,s.setValue(p,l.round)&&(n=!0)});const s=Object(c.e)(this),u=s.getValue();if(t){const e=Object(o.q)(r.to);u===e&&!n||l.decay?n&&l.decay&&this._onChange(u):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(u)}set(e){return o.w.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(z(this)){const{to:e,config:t}=this.animation;o.w.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return o.s.und(e)?(n=this.queue||[],this.queue=[]):n=[o.s.obj(e)?e:l({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>w(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),P(this._state,e&&this._lastCallId),o.w.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=o.s.obj(n)?n[t]:n,(null==n||O(n))&&(n=void 0),r=o.s.obj(r)?r[t]:r,null==r&&(r=void 0);const l={to:n,from:r};return F(this)||(e.reverse&&([n,r]=[r,n]),r=Object(o.q)(r),o.s.und(r)?Object(c.e)(this)||this._set(n):this._set(r)),l}_update(e,t){let n=l({},e);const{key:r,defaultProps:c}=this;n.default&&Object.assign(c,b(n,(e,t)=>/^on/.test(t)?s(e,r):e)),Z(this,n,"onProps"),Q(this,"onProps",n,this);const i=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return S(++this._lastCallId,{key:r,props:n,defaultProps:c,state:a,actions:{pause:()=>{H(this)||(G(this,!0),Object(o.n)(a.pauseQueue),Q(this,"onPause",I(this,W(this,this.animation.to)),this))},resume:()=>{H(this)&&(G(this,!1),z(this)&&this._resume(),Object(o.n)(a.resumeQueue),Q(this,"onResume",I(this,W(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=q(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(x(this));const r=!o.s.und(e.to),s=!o.s.und(e.from);if(r||s){if(!(t.callId>this._lastToId))return n(x(this));this._lastToId=t.callId}const{key:u,defaultProps:d,animation:b}=this,{to:p,from:m}=b;let{to:f=p,from:g=m}=e;!s||r||t.default&&!o.s.und(f)||(f=g),t.reverse&&([f,g]=[g,f]);const v=!Object(o.u)(g,m);v&&(b.from=g),g=Object(o.q)(g);const j=!Object(o.u)(f,p);j&&this._focus(f);const _=O(t.to),{config:E}=b,{decay:C,velocity:S}=E;(r||s)&&(E.velocity=0),t.config&&!_&&function(e,t,n){n&&(y(n=l({},n),t),t=l({},n,t)),y(e,t),Object.assign(e,t);for(const t in k)null==e[t]&&(e[t]=k[t]);let{mass:r,frequency:c,damping:i}=e;o.s.und(c)||(c<.01&&(c=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/c,2)*r,e.friction=4*Math.PI*i*r/c)}(E,i(t.config,u),t.config!==d.config?i(d.config,u):void 0);let w=Object(c.e)(this);if(!w||o.s.und(f))return n(I(this,!0));const P=o.s.und(t.reset)?s&&!t.default:!o.s.und(g)&&a(t.reset,u),R=P?g:this.get(),N=h(f),L=o.s.num(N)||o.s.arr(N)||Object(o.t)(N),M=!_&&(!L||a(d.immediate||t.immediate,u));if(j){const e=Object(c.f)(f);if(e!==w.constructor){if(!M)throw Error(`Cannot animate between ${w.constructor.name} and ${e.name}, as the "to" prop suggests`);w=this._set(N)}}const A=w.constructor;let D=Object(o.r)(f),H=!1;if(!D){const e=P||!F(this)&&v;(j||e)&&(H=Object(o.u)(h(R),N),D=!H),(Object(o.u)(b.immediate,M)||M)&&Object(o.u)(E.decay,C)&&Object(o.u)(E.velocity,S)||(D=!0)}if(H&&z(this)&&(b.changed&&!P?D=!0:D||this._stop(p)),!_&&((D||Object(o.r)(p))&&(b.values=w.getPayload(),b.toValues=Object(o.r)(f)?null:A==c.b?[1]:Object(o.y)(N)),b.immediate!=M&&(b.immediate=M,M||P||this._set(p)),D)){const{onRest:e}=b;Object(o.k)(X,e=>Z(this,t,e));const r=I(this,W(this,p));Object(o.n)(this._pendingCalls,r),this._pendingCalls.add(n),b.changed&&o.w.batchedUpdates(()=>{b.changed=!P,null==e||e(r,this),P?i(d.onRest,r):null==b.onStart||b.onStart(r,this)})}P&&this._set(R),_?n(T(t.to,t,this._state,this)):D?this._start():z(this)&&!j?this._pendingCalls.add(n):n(B(R))}_focus(e){const t=this.animation;e!==t.to&&(Object(o.p)(this)&&this._detach(),t.to=e,Object(o.p)(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Object(o.r)(t)&&(Object(o.c)(t,this),L(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Object(o.r)(e)&&Object(o.x)(e,this)}_set(e,t=!0){const n=Object(o.q)(e);if(!o.s.und(n)){const e=Object(c.e)(this);if(!e||!Object(o.u)(n,e.getValue())){const r=Object(c.f)(n);e&&e.constructor==r?e.setValue(n):Object(c.h)(this,r.create(n)),e&&o.w.batchedUpdates(()=>{this._onChange(n,t)})}}return Object(c.e)(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Q(this,"onStart",I(this,W(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),i(this.animation.onChange,e,this)),i(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Object(c.e)(this).reset(Object(o.q)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),z(this)||(V(this,!0),H(this)||this._resume())}_resume(){o.b.skipAnimation?this.finish():o.o.start(this)}_stop(e,t){if(z(this)){V(this,!1);const n=this.animation;Object(o.k)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(o.d)(this,{type:"idle",parent:this});const r=t?x(this.get()):I(this.get(),W(this,null!=e?e:n.to));Object(o.n)(this._pendingCalls,r),n.changed&&(n.changed=!1,Q(this,"onRest",r,this))}}}function W(e,t){const n=h(t),r=h(e.get());return Object(o.u)(r,n)}function q(e,t=e.loop,n=e.to){let o=i(t);if(o){const r=!0!==o&&f(o),c=(r||e).reverse,i=!r||r.reset;return K(l({},e,{loop:t,default:!1,pause:void 0,to:!c||O(n)?n:void 0,from:i?e.from:void 0,reset:i},r))}}function K(e){const{to:t,from:n}=e=f(e),r=new Set;return o.s.obj(t)&&Y(t,r),o.s.obj(n)&&Y(n,r),e.keys=r.size?Array.from(r):null,e}function $(e){const t=K(e);return o.s.und(t.default)&&(t.default=b(t)),t}function Y(e,t){Object(o.l)(e,(e,n)=>null!=e&&t.add(n))}const X=["onStart","onRest","onChange","onPause","onResume"];function Z(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function Q(e,t,...n){var o,r,c,l;null==(o=(r=e.animation)[t])||o.call(r,...n),null==(c=(l=e.defaultProps)[t])||c.call(l,...n)}const J=["onStart","onChange","onRest"];let ee=1;class te{constructor(e,t){this.id=ee++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(l({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];o.s.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(K(e)),this}start(e){let{queue:t}=this;return e?t=Object(o.y)(e).map(K):this.queue=[],this._flush?this._flush(this,t):(ie(this,t),ne(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Object(o.k)(Object(o.y)(t),t=>n[t].stop(!!e))}else P(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(o.s.und(e))this.start({pause:!0});else{const t=this.springs;Object(o.k)(Object(o.y)(e),e=>t[e].pause())}return this}resume(e){if(o.s.und(e))this.start({pause:!1});else{const t=this.springs;Object(o.k)(Object(o.y)(e),e=>t[e].resume())}return this}each(e){Object(o.l)(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,c=this._changed.size>0;(r&&!this._started||c&&!this._started)&&(this._started=!0,Object(o.m)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const l=!r&&this._started,i=c||l&&n.size?this.get():null;c&&t.size&&Object(o.m)(t,([e,t])=>{t.value=i,e(t,this,this._item)}),l&&(this._started=!1,Object(o.m)(n,([e,t])=>{t.value=i,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}o.w.onFrame(this._onFrame)}}function ne(e,t){return Promise.all(t.map(t=>async function e(t,n,r){const{keys:c,to:l,from:i,loop:a,onRest:s,onResolve:d}=n,b=o.s.obj(n.default)&&n.default;a&&(n.loop=!1);!1===l&&(n.to=null);!1===i&&(n.from=null);const p=o.s.arr(l)||o.s.fun(l)?l:void 0;p?(n.to=void 0,n.onRest=void 0,b&&(b.onRest=void 0)):Object(o.k)(J,e=>{const r=n[e];if(o.s.fun(r)){const o=t._events[e];n[e]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},b&&(b[e]=n[e])}});const m=t._state;n.pause===!m.paused?(m.paused=n.pause,Object(o.n)(n.pause?m.pauseQueue:m.resumeQueue)):m.paused&&(n.pause=!0);const f=(c||Object.keys(t.springs)).map(e=>t.springs[e].start(n)),h=!0===n.cancel||!0===u(n,"cancel");(p||h&&m.asyncId)&&f.push(S(++t._lastAsyncId,{props:n,state:m,actions:{pause:o.v,resume:o.v,start(e,n){h?(P(m,t._lastAsyncId),n(x(t))):(e.onRest=s,n(T(p,e,m,t)))}}}));m.paused&&await new Promise(e=>{m.resumeQueue.add(e)});const g=w(t,await Promise.all(f));if(a&&g.finished&&(!r||!g.noop)){const o=q(n,a,l);if(o)return ie(t,[o]),e(t,o,!0)}d&&o.w.batchedUpdates(()=>d(g,t,t.item));return g}(e,t))).then(t=>w(e,t))}function oe(e,t){const n=l({},e.springs);return t&&Object(o.k)(Object(o.y)(t),e=>{o.s.und(e.keys)&&(e=K(e)),o.s.obj(e.to)||(e=l({},e,{to:void 0})),le(n,e,e=>ce(e))}),re(e,n),n}function re(e,t){Object(o.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(o.c)(t,e))})}function ce(e,t){const n=new U;return n.key=e,t&&Object(o.c)(n,t),n}function le(e,t,n){t.keys&&Object(o.k)(t.keys,o=>{(e[o]||(e[o]=n(o)))._prepareNode(t)})}function ie(e,t){Object(o.k)(t,t=>{le(e.springs,t,t=>ce(t,e))})}function ae(e,t){if(null==e)return{};var n,o,r={},c=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}const se=["children"],ue=e=>{let{children:t}=e,n=ae(e,se);const c=Object(r.useContext)(de),l=n.pause||!!c.pause,i=n.immediate||!!c.immediate;n=Object(o.B)(()=>({pause:l,immediate:i}),[l,i]);const{Provider:a}=de;return r.createElement(a,{value:n},t)},de=(be=ue,pe={},Object.assign(be,r.createContext(pe)),be.Provider._context=be,be.Consumer._context=be,be);var be,pe;ue.Provider=de.Provider,ue.Consumer=de.Consumer;const me=()=>{const e=[],t=function(t){Object(o.i)();const r=[];return Object(o.k)(e,(e,c)=>{if(o.s.und(t))r.push(e.start());else{const o=n(t,e,c);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Object(o.k)(e,e=>e.pause(...arguments)),this},t.resume=function(){return Object(o.k)(e,e=>e.resume(...arguments)),this},t.set=function(t){Object(o.k)(e,e=>e.set(t))},t.start=function(t){const n=[];return Object(o.k)(e,(e,r)=>{if(o.s.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}}),n},t.stop=function(){return Object(o.k)(e,e=>e.stop(...arguments)),this},t.update=function(t){return Object(o.k)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return o.s.fun(e)?e(n,t):e};return t._getProps=n,t};function fe(e,t,n){const c=o.s.fun(t)&&t;c&&!n&&(n=[]);const i=Object(r.useMemo)(()=>c||3==arguments.length?me():void 0,[]),a=Object(r.useRef)(0),s=Object(o.z)(),u=Object(r.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){const n=oe(e,t);return a.current>0&&!u.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?ne(e,t):new Promise(o=>{re(e,n),u.queue.push(()=>{o(ne(e,t))}),s()})}}),[]),d=Object(r.useRef)([...u.ctrls]),b=[],p=Object(o.D)(e)||0;function m(e,n){for(let o=e;o{Object(o.k)(d.current.slice(e,p),e=>{v(e,i),e.stop(!0)}),d.current.length=e,m(p,e)},[e]),Object(r.useMemo)(()=>{m(0,Math.min(p,e))},n);const f=d.current.map((e,t)=>oe(e,b[t])),h=Object(r.useContext)(ue),O=Object(o.D)(h),k=h!==O&&g(h);Object(o.A)(()=>{a.current++,u.ctrls=d.current;const{queue:e}=u;e.length&&(u.queue=[],Object(o.k)(e,e=>e())),Object(o.k)(d.current,(e,t)=>{null==i||i.add(e),k&&e.start({default:h});const n=b[t];n&&(j(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Object(o.C)(()=>()=>{Object(o.k)(u.ctrls,e=>e.stop(!0))});const _=f.map(e=>l({},e));return i?[_,i]:_}function he(e,t){const n=o.s.fun(e),[[r],c]=fe(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,c]:r}let ge;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(ge||(ge={}));class Oe extends A{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Object(o.f)(...t);const n=this._get(),r=Object(c.f)(n);Object(c.h)(this,r.create(n))}advance(e){const t=this._get(),n=this.get();Object(o.u)(t,n)||(Object(c.e)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&je(this._active)&&ke(this)}_get(){const e=o.s.arr(this.source)?this.source.map(o.q):Object(o.y)(Object(o.q)(this.source));return this.calc(...e)}_start(){this.idle&&!je(this._active)&&(this.idle=!1,Object(o.k)(Object(c.g)(this),e=>{e.done=!1}),o.b.skipAnimation?(o.w.batchedUpdates(()=>this.advance()),ke(this)):o.o.start(this))}_attach(){let e=1;Object(o.k)(Object(o.y)(this.source),t=>{Object(o.r)(t)&&Object(o.c)(t,this),L(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Object(o.k)(Object(o.y)(this.source),e=>{Object(o.r)(e)&&Object(o.x)(e,this)}),this._active.clear(),ke(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Object(o.y)(this.source).reduce((e,t)=>Math.max(e,(L(t)?t.priority:0)+1),0))}}function ve(e){return!1!==e.idle}function je(e){return!e.size||Array.from(e).every(ve)}function ke(e){e.idle||(e.idle=!0,Object(o.k)(Object(c.g)(e),e=>{e.done=!0}),Object(o.d)(e,{type:"idle",parent:e}))}o.b.assign({createStringInterpolator:o.g,to:(e,t)=>new Oe(e,t)});o.o.advance},l3Sj:function(e,t){e.exports=window.wp.i18n},lJLt:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}));var o=n("l3Sj");const r={insertUsage:{}},c={alignWide:!1,supportsLayout:!0,colors:[{name:Object(o.__)("Black"),slug:"black",color:"#000000"},{name:Object(o.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(o.__)("White"),slug:"white",color:"#ffffff"},{name:Object(o.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(o.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(o.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(o.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(o.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(o.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(o.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(o.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(o.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(o._x)("Small","font size name"),size:13,slug:"small"},{name:Object(o._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(o._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(o._x)("Large","font size name"),size:36,slug:"large"},{name:Object(o._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:Object(o.__)("Thumbnail")},{slug:"medium",name:Object(o.__)("Medium")},{slug:"large",name:Object(o.__)("Large")},{slug:"full",name:Object(o.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],__unstableGalleryWithImageBlocks:!1,gradients:[{name:Object(o.__)("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(o.__)("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(o.__)("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(o.__)("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(o.__)("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(o.__)("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(o.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(o.__)("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(o.__)("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(o.__)("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(o.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(o.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]}},mdLt:function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e");t.a=function(e){let{title:t,icon:n,children:c}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-inserter__panel-header"},Object(o.createElement)("h2",{className:"block-editor-inserter__panel-title"},t),Object(o.createElement)(r.Icon,{icon:n})),Object(o.createElement)("div",{className:"block-editor-inserter__panel-content"},c))}},mlss:function(e,t,n){"use strict";var o=n("tI+e");const{Fill:r,Slot:c}=Object(o.createSlotFill)("__unstableInserterMenuExtension");r.Slot=c,t.a=r},nEW0:function(e,t,n){"use strict";n.d(t,"w",(function(){return r})),n.d(t,"a",(function(){return Oe})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return je})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return q})),n.d(t,"f",(function(){return ue})),n.d(t,"g",(function(){return Ie})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return Le})),n.d(t,"j",(function(){return Re})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return I})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return H})),n.d(t,"p",(function(){return he})),n.d(t,"q",(function(){return fe})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return Me})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return ke})),n.d(t,"y",(function(){return B})),n.d(t,"z",(function(){return Fe})),n.d(t,"A",(function(){return Ge})),n.d(t,"B",(function(){return He})),n.d(t,"C",(function(){return Ae})),n.d(t,"D",(function(){return Ve}));let o=O();const r=e=>m(e,o);let c=O();r.write=e=>m(e,c);let l=O();r.onStart=e=>m(e,l);let i=O();r.onFrame=e=>m(e,i);let a=O();r.onFinish=e=>m(e,a);let s=[];r.setTimeout=(e,t)=>{let n=r.now()+t,o=()=>{let e=s.findIndex(e=>e.cancel==o);~e&&s.splice(e,1),j.count-=~e?1:0},c={time:n,handler:e,cancel:o};return s.splice(u(n),0,c),j.count+=1,f(),c};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);r.cancel=e=>{o.delete(e),c.delete(e)},r.sync=e=>{p=!0,r.batchedUpdates(e),p=!1},r.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function o(...e){t=e,r.onStart(n)}return o.handler=e,o.cancel=()=>{l.delete(n),t=null},o};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};r.use=e=>d=e,r.now="undefined"!=typeof performance?()=>performance.now():Date.now,r.batchedUpdates=e=>e(),r.catch=console.error,r.frameLoop="always",r.advance=()=>{"demand"!==r.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):g()};let b=-1,p=!1;function m(e,t){p?(t.delete(e),e(0)):(t.add(e),f())}function f(){b<0&&(b=0,"demand"!==r.frameLoop&&d(h))}function h(){~b&&(d(h),r.batchedUpdates(g))}function g(){let e=b;b=r.now();let t=u(b);t&&(v(s.splice(0,t),e=>e.handler()),j.count-=t),l.flush(),o.flush(e?Math.min(64,b-e):16.667),i.flush(),c.flush(),a.flush()}function O(){let e=new Set,t=e;return{add(n){j.count+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(j.count-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,j.count-=t.size,v(t,t=>t(n)&&e.add(t)),j.count+=e.size,t=e)}}}function v(e,t){e.forEach(e=>{try{t(e)}catch(e){r.catch(e)}})}const j={count:0,clear(){b=-1,s=[],l=O(),o=O(),i=O(),c=O(),a=O(),j.count=0}};var k=n("cDcd");function _(){}const y=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),E={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function C(e,t){if(E.arr(e)){if(!E.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function w(e,t,n){if(E.arr(e))for(let o=0;oE.und(e)?[]:E.arr(e)?e:[e];function I(e,t){if(e.size){const n=Array.from(e);e.clear(),S(n,t)}}const x=(e,...t)=>I(e,e=>e(...t));let T,P,R=null,N=!1,L=_;var M=Object.freeze({__proto__:null,get createStringInterpolator(){return T},get to(){return P},get colors(){return R},get skipAnimation(){return N},get willAdvance(){return L},assign:e=>{e.to&&(P=e.to),e.now&&(r.now=e.now),void 0!==e.colors&&(R=e.colors),null!=e.skipAnimation&&(N=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&r.use(e.requestAnimationFrame),e.batchedUpdates&&(r.batchedUpdates=e.batchedUpdates),e.willAdvance&&(L=e.willAdvance),e.frameLoop&&(r.frameLoop=e.frameLoop)}});const A=new Set;let D=[],F=[],z=0;const H={get idle(){return!A.size&&!D.length},start(e){z>e.priority?(A.add(e),r.onStart(V)):(G(e),r(W))},advance:W,sort(e){if(z)r.onFrame(()=>H.sort(e));else{const t=D.indexOf(e);~t&&(D.splice(t,1),U(e))}},clear(){D=[],A.clear()}};function V(){A.forEach(G),A.clear(),r(W)}function G(e){D.includes(e)||U(e)}function U(e){D.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(D,t=>t.priority>e.priority),0,e)}function W(e){const t=F;for(let n=0;n0}const q={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},K="[-+]?\\d*\\.?\\d+";function $(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const Y=new RegExp("rgb"+$(K,K,K)),X=new RegExp("rgba"+$(K,K,K,K)),Z=new RegExp("hsl"+$(K,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Q=new RegExp("hsla"+$(K,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",K)),J=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{6})$/,ne=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function re(e,t,n){const o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,c=oe(r,o,e+1/3),l=oe(r,o,e),i=oe(r,o,e-1/3);return Math.round(255*c)<<24|Math.round(255*l)<<16|Math.round(255*i)<<8}function ce(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function le(e){return(parseFloat(e)%360+360)%360/360}function ie(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ae(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function se(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=te.exec(e))?parseInt(t[1]+"ff",16)>>>0:R&&void 0!==R[e]?R[e]:(t=Y.exec(e))?(ce(t[1])<<24|ce(t[2])<<16|ce(t[3])<<8|255)>>>0:(t=X.exec(e))?(ce(t[1])<<24|ce(t[2])<<16|ce(t[3])<<8|ie(t[4]))>>>0:(t=J.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ne.exec(e))?parseInt(t[1],16)>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Z.exec(e))?(255|re(le(t[1]),ae(t[2]),ae(t[3])))>>>0:(t=Q.exec(e))?(re(le(t[1]),ae(t[2]),ae(t[3]))|ie(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const ue=(e,t,n)=>{if(E.fun(e))return e;if(E.arr(e))return ue({range:e,output:t,extrapolate:n});if(E.str(e.output[0]))return T(e);const o=e,r=o.output,c=o.range||[0,1],l=o.extrapolateLeft||o.extrapolate||"extend",i=o.extrapolateRight||o.extrapolate||"extend",a=o.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,c);return function(e,t,n,o,r,c,l,i,a){let s=a?a(e):e;if(sn){if("identity"===i)return s;"clamp"===i&&(s=n)}if(o===r)return o;if(t===n)return e<=t?o:r;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=c(s),o===-1/0?s=-s:r===1/0?s+=o:s=s*(r-o)+o;return s}(e,c[t],c[t+1],r[t],r[t+1],a,l,i,o.map)}};function de(){return(de=Object.assign||function(e){for(var t=1;tBoolean(e&&e[be]),fe=e=>e&&e[be]?e[be]():e,he=e=>e[pe]||null;function ge(e,t){let n=e[pe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class Oe{constructor(e){if(this[be]=void 0,this[pe]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");ve(this,e)}}const ve=(e,t)=>_e(e,be,t);function je(e,t){if(e[be]){let n=e[pe];n||_e(e,pe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function ke(e,t){let n=e[pe];if(n&&n.has(t)){const o=n.size-1;o?n.delete(t):e[pe]=null,e.observerRemoved&&e.observerRemoved(o,t)}}const _e=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ye=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ee=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ce=new RegExp(`(${ye.source})(%|[a-z]+)`,"i");let Se;const we=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Be=(e,t,n,o,r)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(o)}, ${r})`,Ie=e=>{Se||(Se=R?new RegExp(`(${Object.keys(R).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>fe(e).replace(Ee,se).replace(Se,se)),n=t.map(e=>e.match(ye).map(Number)),o=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>ue(de({},e,{output:t})));return e=>{var n;const r=!Ce.test(t[0])&&(null==(n=t.find(e=>Ce.test(e)))?void 0:n.replace(ye,""));let c=0;return t[0].replace(ye,()=>`${o[c++](e)}${r||""}`).replace(we,Be)}},xe="react-spring: ",Te=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(xe+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Pe=Te(console.warn);function Re(){Pe(xe+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const Ne=Te(console.warn);function Le(){Ne(xe+'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions')}function Me(e){return E.str(e)&&("#"==e[0]||/\d/.test(e)||e in(R||{}))}const Ae=e=>Object(k.useEffect)(e,De),De=[];function Fe(){const e=Object(k.useState)()[1],t=Object(k.useState)(ze)[0];return Ae(t.unmount),()=>{t.current&&e({})}}function ze(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function He(e,t){const[n]=Object(k.useState)(()=>({inputs:t,result:e()})),o=Object(k.useRef)(),r=o.current;let c=r;if(c){Boolean(t&&c.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{o.current=c,r==n&&(n.inputs=n.result=void 0)},[c]),c.result}function Ve(e){const t=Object(k.useRef)();return Object(k.useEffect)(()=>{t.current=e}),t.current}const Ge="undefined"!=typeof window&&window.document&&window.document.createElement?k.useLayoutEffect:k.useEffect},nQUx:function(e,t,n){"use strict";var o=n("YLtl"),r=n("GRId"),c=n("HSyU"),l=n("1ZqX"),i=n("l3Sj"),a=n("onLe"),s=n("BhPs");t.a=(e,t)=>{const{patternCategories:n,patterns:u}=Object(l.useSelect)(e=>{const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(s.a);return{patterns:n(t),patternCategories:o().__experimentalBlockPatternCategories}},[t]),{createSuccessNotice:d}=Object(l.useDispatch)(a.store);return[u,n,Object(r.useCallback)((t,n)=>{e(Object(o.map)(n,e=>Object(c.cloneBlock)(e)),t.name),d(Object(i.sprintf)(Object(i.__)('Block pattern "%s" inserted.'),t.title),{type:"snackbar"})},[])]}},nlh6:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return w}));var o=n("TSYQ"),r=n.n(o),c=n("GRId"),l=n("l3Sj"),i=n("HSyU"),a=n("K9lf"),s=n("1ZqX"),u=(n("Z23Y"),n("Xkls")),d=n("jBNB"),b=n("z+q2"),p=n("kBLm"),m=n("ur0x"),f=n("Q2Xw"),h=n("YZt4"),g=n("ERVc"),O=n("+6d5"),v=n("6jxZ"),j=n("felP"),k=n("JDWi"),_=n("G4zt"),y=n("PKbb"),E=n("hw9B"),C=n("rHRV"),S=n("BhPs");function w(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{__unstableIsHtml:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{clientId:o,className:w,wrapperProps:B={},isAligned:I}=Object(c.useContext)(d.a),{index:x,mode:T,name:P,blockApiVersion:R,blockTitle:N,isPartOfSelection:L,adjustScrolling:M,enableAnimation:A}=Object(s.useSelect)(e=>{const{getBlockRootClientId:t,getBlockIndex:n,getBlockMode:r,getBlockName:c,isTyping:l,getGlobalBlockCount:a,isBlockSelected:s,isBlockMultiSelected:u,isAncestorMultiSelected:d,isFirstMultiSelectedBlock:b}=e(S.a),p=s(o),m=u(o)||d(o),f=c(o),h=t(o),g=Object(i.getBlockType)(f);return{index:n(o,h),mode:r(o),name:f,blockApiVersion:(null==g?void 0:g.apiVersion)||1,blockTitle:null==g?void 0:g.title,isPartOfSelection:p||m,adjustScrolling:p||b(o),enableAnimation:!l()&&a()<=200}},[o]),D=Object(l.sprintf)(Object(l.__)("Block: %s"),N),F="html"!==T||n?"":"-visual",z=Object(a.useMergeRefs)([t.ref,Object(b.a)(o),Object(_.a)(o),Object(y.c)(o),Object(v.a)(o),Object(E.a)(o),Object(j.a)(o),Object(k.a)(o),Object(p.a)(),Object(C.a)(),Object(u.a)({isSelected:L,adjustScrolling:M,enableAnimation:A,triggerAnimationOnChange:x})]),H=Object(m.c)();return R<2&&o===H.clientId&&void 0!==e&&e.env,{...B,...t,ref:z,id:`block-${o}${F}`,tabIndex:0,role:"document","aria-label":D,"data-block":o,"data-type":P,"data-title":N,className:r()(r()("block-editor-block-list__block",{"wp-block":!I}),w,t.className,B.className,Object(f.a)(o),Object(h.a)(o),Object(g.a)(o),Object(O.a)(o)),style:{...B.style,...t.style}}}w.save=i.__unstableGetBlockProps}).call(this,n("8oxB"))},o97j:function(e,t,n){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen,isInWorker:!o};e.exports=r},onLe:function(e,t){e.exports=window.wp.notices},p3NJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return R}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("K9lf"),a=n("1ZqX"),s=n("HSyU"),u=n("I5Hl"),d=n("ur0x");var b=Object(i.createHigherOrderComponent)(e=>t=>{const{clientId:n}=Object(d.c)();return Object(r.createElement)(e,Object(o.a)({},t,{clientId:n}))},"withClientId");var p=b(e=>{let{clientId:t,showSeparator:n,isFloating:o,onAddBlock:c,isToggle:i}=e;return Object(r.createElement)(u.b,{className:l()({"block-list-appender__toggle":i}),rootClientId:t,showSeparator:n,isFloating:o,onAddBlock:c})}),m=n("YLtl"),f=n("5L8O"),h=n("BhPs");var g=Object(i.compose)([b,Object(a.withSelect)((e,t)=>{let{clientId:n}=t;const{getBlockOrder:o}=e(h.a),r=o(n);return{lastBlockClientId:Object(m.last)(r)}})])(e=>{let{clientId:t,lastBlockClientId:n}=e;return Object(r.createElement)(f.a,{rootClientId:t,lastBlockClientId:n})}),O=n("rl8x"),v=n.n(O),j=n("PPMp");const k=new WeakMap;var _=n("VyCT"),y=n("uoCR"),E=n("JGYp"),C=n("l3Sj"),S=n("/lNF"),w=n("vIlp");function B(e,t,n){const o="horizontal"===n?["left","right"]:["top","bottom"],r=Object(C.isRTL)();let c,l;return e.forEach((e,n)=>{const i=e.getBoundingClientRect(),[a,s]=Object(w.a)(t,i,o);if(void 0===l||a0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=Object(r.useState)(null),o=Object(a.useSelect)(t=>{const{getTemplateLock:n}=t(h.a);return"all"===n(e)},[e]),{getBlockListSettings:c}=Object(a.useSelect)(h.a),{showInsertionPoint:l,hideInsertionPoint:s}=Object(a.useDispatch)(h.a),u=Object(S.a)(e,t),d=Object(i.useThrottle)(Object(r.useCallback)((t,o)=>{var r;const i=B(Array.from(o.children).filter(e=>e.classList.contains("wp-block")),{x:t.clientX,y:t.clientY},null===(r=c(e))||void 0===r?void 0:r.orientation);n(void 0===i?0:i),null!==i&&l(e,i)},[]),200);return Object(i.__experimentalUseDropZone)({isDisabled:o,onDrop:u,onDragOver(e){d(e,e.currentTarget)},onDragLeave(){d.cancel(),s(),n(null)},onDragEnd(){d.cancel(),s(),n(null)}})}function x(e){const{clientId:t,allowedBlocks:n,__experimentalDefaultBlock:o,__experimentalDirectInsert:c,template:l,templateLock:i,wrapperRef:u,templateInsertUpdatesSelection:d,__experimentalCaptureToolbars:b,__experimentalAppenderTagName:p,renderAppender:f,orientation:g,placeholder:O,__experimentalLayout:E}=e;!function(e,t,n,o,c,l,i,s){const{updateBlockListSettings:u}=Object(a.useDispatch)(h.a),{blockListSettings:d,parentLock:b}=Object(a.useSelect)(t=>{const n=t(h.a).getBlockRootClientId(e);return{blockListSettings:t(h.a).getBlockListSettings(e),parentLock:t(h.a).getTemplateLock(n)}},[e]),p=Object(r.useMemo)(()=>t,t);Object(r.useLayoutEffect)(()=>{const t={allowedBlocks:p,templateLock:void 0===c?b:c};if(void 0!==l&&(t.__experimentalCaptureToolbars=l),void 0!==i)t.orientation=i;else{const e=Object(j.a)(null==s?void 0:s.type);t.orientation=e.getOrientation(s)}void 0!==n&&(t.__experimentalDefaultBlock=n),void 0!==o&&(t.__experimentalDirectInsert=o),v()(d,t)||u(e,t)},[e,d,p,n,o,c,b,l,i,u,s])}(t,n,o,c,i,b,g,E),function(e,t,n,o){const{getSelectedBlocksInitialCaretPosition:c}=Object(a.useSelect)(h.a),{replaceInnerBlocks:l}=Object(a.useDispatch)(h.a),i=Object(a.useSelect)(t=>t(h.a).getBlocks(e),[e]),u=Object(r.useRef)(null);Object(r.useLayoutEffect)(()=>{if(0===i.length||"all"===n){if(!Object(m.isEqual)(t,u.current)){u.current=t;const n=Object(s.synchronizeBlocksWithTemplate)(i,t);Object(m.isEqual)(n,i)||l(e,n,0===i.length&&o&&0!==n.length,c())}}},[i,t,n,e])}(t,l,i,d);const C=Object(a.useSelect)(e=>{const n=e(h.a).getBlock(t),o=Object(s.getBlockType)(n.name);if(o&&o.providesContext)return function(e,t){k.has(t)||k.set(t,new WeakMap);const n=k.get(t);if(!n.has(e)){const o=Object(m.mapValues)(t.providesContext,t=>e[t]);n.set(e,o)}return n.get(e)}(n.attributes,o)},[t]);return Object(r.createElement)(y.a,{value:C},Object(r.createElement)(_.a,{rootClientId:t,renderAppender:f,__experimentalAppenderTagName:p,__experimentalLayout:E,wrapperRef:u,placeholder:O}))}function T(e){return Object(E.a)(e),Object(r.createElement)(x,e)}const P=Object(r.forwardRef)((e,t)=>{const n=R({ref:t},e);return Object(r.createElement)("div",{className:"block-editor-inner-blocks"},Object(r.createElement)("div",n))});function R(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{clientId:n}=Object(d.c)(),c=Object(i.useViewportMatch)("medium","<"),{__experimentalCaptureToolbars:u,hasOverlay:b}=Object(a.useSelect)(e=>{if(!n)return{};const{getBlockName:t,isBlockSelected:o,hasSelectedInnerBlock:r,isNavigationMode:l}=e(h.a),i=t(n),a=l()||c;return{__experimentalCaptureToolbars:e(s.store).hasBlockSupport(i,"__experimentalExposeControlsToChildren",!1),hasOverlay:"core/template"!==i&&!o(n)&&!r(n,!0)&&a}},[n,c]),p=Object(i.useMergeRefs)([e.ref,I({rootClientId:n})]),m={__experimentalCaptureToolbars:u,...t},f=m.value&&m.onChange?T:x;return{...e,ref:p,className:l()(e.className,"block-editor-block-list__layout",{"has-overlay":b}),children:n?Object(r.createElement)(f,Object(o.a)({},m,{clientId:n})):Object(r.createElement)(_.a,t)}}R.save=s.__unstableGetInnerBlocksProps,P.DefaultBlockAppender=g,P.ButtonBlockAppender=p,P.Content=()=>R.save().children;t.a=P},pOGT:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var o=n("YLtl");const r=e=>e.name||"",c=e=>e.title,l=e=>e.description||"",i=e=>e.keywords||[],a=e=>e.category,s=()=>null;function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=Object(o.deburr)(e),e=e.replace(/^\//,""),e=e.toLowerCase(),e}const d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(o.words)(u(e))},b=(e,t)=>Object(o.differenceWith)(e,d(t),(e,t)=>t.includes(e)),p=(e,t,n,r)=>{if(0===d(r).length)return e;return m(e,r,{getCategory:e=>{var n;return null===(n=Object(o.find)(t,{slug:e.category}))||void 0===n?void 0:n.title},getCollection:e=>{var t;return null===(t=n[e.name.split("/")[0]])||void 0===t?void 0:t.title}})},m=function(){let e=arguments.length>0&&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]:{};const o=d(t);if(0===o.length)return e;const r=e.map(e=>[e,f(e,t,n)]).filter(e=>{let[,t]=e;return t>0});return r.sort((e,t)=>{let[,n]=e,[,o]=t;return o-n}),r.map(e=>{let[t]=e;return t})};function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{getName:d=r,getTitle:p=c,getDescription:m=l,getKeywords:f=i,getCategory:h=a,getCollection:g=s}=n,O=d(e),v=p(e),j=m(e),k=f(e),_=h(e),y=g(e),E=u(t),C=u(v);let S=0;if(E===C)S+=30;else if(C.startsWith(E))S+=20;else{const e=[O,v,j,...k,_,y].join(" "),t=Object(o.words)(E);0===b(t,e).length&&(S+=10)}return 0!==S&&O.startsWith("core/")&&S++,S}},pPDe:function(e,t,n){"use strict";var o,r;function c(e){return[e]}function l(){var e={clear:function(){e.head=null}};return e}function i(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o{})}=e;const{replaceBlocks:p}=Object(i.useDispatch)(s.a);return n||o?Object(r.createElement)(r.Fragment,null,n&&Object(r.createElement)(l.MenuItem,{onClick:()=>{(()=>{const e=Object(a.switchToBlockType)(c,d);e&&p(t,e)})(),b()}},Object(u._x)("Group","verb")),o&&Object(r.createElement)(l.MenuItem,{onClick:()=>{(()=>{const e=c[0].innerBlocks;e.length&&p(t,e)})(),b()}},Object(u._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}const{Fill:b,Slot:p}=Object(l.createSlotFill)("BlockSettingsMenuControls");function m(e){let{...t}=e;return Object(r.createElement)(l.__experimentalStyleProvider,{document:document},Object(r.createElement)(b,t))}m.Slot=e=>{let{fillProps:t,clientIds:n=null}=e;const{selectedBlocks:u,selectedClientIds:b}=Object(i.useSelect)(e=>{const{getBlocksByClientId:t,getSelectedBlockClientIds:o}=e(s.a),r=null!==n?n:o();return{selectedBlocks:Object(c.map)(Object(c.compact)(t(r)),e=>e.name),selectedClientIds:r}},[n]),m=function(){const{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}=Object(i.useSelect)(e=>{var t;const{getBlockRootClientId:n,getBlocksByClientId:o,canInsertBlockType:r,getSelectedBlockClientIds:c}=e(s.a),{getGroupingBlockName:l}=e(a.store),i=c(),u=l(),d=r(u,null!=i&&i.length?n(i[0]):void 0),b=o(i),p=1===b.length&&(null===(t=b[0])||void 0===t?void 0:t.name)===u;return{clientIds:i,isGroupable:d&&b.length&&!p,isUngroupable:p&&!!b[0].innerBlocks.length,blocksSelection:b,groupingBlockName:u}},[]);return{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}}(),{isGroupable:f,isUngroupable:h}=m,g=f||h;return Object(r.createElement)(p,{fillProps:{...t,selectedBlocks:u,selectedClientIds:b}},e=>{if((null==e?void 0:e.length)>0||g)return Object(r.createElement)(l.MenuGroup,null,e,Object(r.createElement)(d,Object(o.a)({},m,{onClose:null==t?void 0:t.onClose})))})};t.a=m},plpT:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=c},q3tz:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("l3Sj"),c=n("tI+e"),l=n("xN+R"),i=n("7SSY");function a(e){let{count:t,icon:n}=e;return Object(o.createElement)("div",{className:"block-editor-block-draggable-chip-wrapper"},Object(o.createElement)("div",{className:"block-editor-block-draggable-chip"},Object(o.createElement)(c.Flex,{justify:"center",className:"block-editor-block-draggable-chip__content"},Object(o.createElement)(c.FlexItem,null,n?Object(o.createElement)(i.a,{icon:n}):Object(r.sprintf)(Object(r._n)("%d block","%d blocks",t),t)),Object(o.createElement)(c.FlexItem,null,Object(o.createElement)(i.a,{icon:l.a})))))}},qRz9:function(e,t){e.exports=window.wp.richText},qrxh:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("TSYQ"),i=n.n(l),a=n("gdqT"),s=n("l3Sj"),u=n("tI+e"),d=n("1ZqX"),b=n("K9lf"),p=n("HSyU"),m=n("Q4Sy"),f=n("xZzQ"),h=n("Wg7J"),g=n("AORF"),O=n("nQUx"),v=n("+G0a"),j=n("BhPs");function k(e){let{onSelect:t,rootClientId:n,clientId:o,isAppender:c}=e;const[l,a]=Object(r.useState)(""),[b,p]=Object(g.a)({onSelect:t,rootClientId:n,clientId:o,isAppender:c}),[m]=Object(v.a)(b,p),[f]=Object(O.a)(p,b),k=f.length&&!!l,_=k&&f.length>6||m.length>6,{setInserterIsOpened:y,insertionIndex:E}=Object(d.useSelect)(e=>{const{getSettings:t,getBlockIndex:r,getBlockCount:c}=e(j.a),l=r(o,n);return{setInserterIsOpened:t().__experimentalSetIsInserterOpened,insertionIndex:-1===l?c():l}},[o,n]);Object(r.useEffect)(()=>{y&&y(!1)},[y]);return Object(r.createElement)("div",{className:i()("block-editor-inserter__quick-inserter",{"has-search":_,"has-expand":y})},_&&Object(r.createElement)(u.SearchControl,{className:"block-editor-inserter__search",value:l,onChange:e=>{a(e)},label:Object(s.__)("Search for blocks and patterns"),placeholder:Object(s.__)("Search")}),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},Object(r.createElement)(h.a,{filterValue:l,onSelect:t,rootClientId:n,clientId:o,isAppender:c,maxBlockPatterns:k?2:0,maxBlockTypes:6,isDraggable:!1})),y&&Object(r.createElement)(u.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:()=>{y({rootClientId:n,insertionIndex:E,filterValue:l})},"aria-label":Object(s.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(s.__)("Browse all")))}const _=e=>{let t,{onToggle:n,disabled:c,isOpen:l,blockTitle:i,hasSingleBlockType:a,toggleProps:d={}}=e;t=a?Object(s.sprintf)(Object(s._x)("Add %s","directly add the only allowed block"),i):Object(s._x)("Add block","Generic label for block inserter button");const{onClick:b,...p}=d;return Object(r.createElement)(u.Button,Object(o.a)({icon:m.a,label:t,tooltipPosition:"bottom",onClick:function(e){n&&n(e),b&&b(e)},className:"block-editor-inserter__toggle","aria-haspopup":!a&&"true","aria-expanded":!a&&l,disabled:c},p))};class y extends r.Component{constructor(){super(...arguments),this.onToggle=this.onToggle.bind(this),this.renderToggle=this.renderToggle.bind(this),this.renderContent=this.renderContent.bind(this)}onToggle(e){const{onToggle:t}=this.props;t&&t(e)}renderToggle(e){let{onToggle:t,isOpen:n}=e;const{disabled:o,blockTitle:r,hasSingleBlockType:c,directInsertBlock:l,toggleProps:i,hasItems:a,renderToggle:s=_}=this.props;return s({onToggle:t,isOpen:n,disabled:o||!a,blockTitle:r,hasSingleBlockType:c,directInsertBlock:l,toggleProps:i})}renderContent(e){let{onClose:t}=e;const{rootClientId:n,clientId:o,isAppender:c,showInserterHelpPanel:l,__experimentalIsQuick:i}=this.props;return i?Object(r.createElement)(k,{onSelect:()=>{t()},rootClientId:n,clientId:o,isAppender:c}):Object(r.createElement)(f.a,{onSelect:()=>{t()},rootClientId:n,clientId:o,isAppender:c,showInserterHelpPanel:l})}render(){const{position:e,hasSingleBlockType:t,directInsertBlock:n,insertOnlyAllowedBlock:o,__experimentalIsQuick:c,onSelectOrClose:l}=this.props;return t||null!=n&&n.length?this.renderToggle({onToggle:o}):Object(r.createElement)(u.Dropdown,{className:"block-editor-inserter",contentClassName:i()("block-editor-inserter__popover",{"is-quick":c}),position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(s.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:l})}}t.a=Object(b.compose)([Object(d.withSelect)((e,t)=>{let{clientId:n,rootClientId:o}=t;const{getBlockRootClientId:r,hasInserterItems:l,__experimentalGetAllowedBlocks:i,__experimentalGetDirectInsertBlock:a}=e(j.a),{getBlockVariations:s}=e(p.store);o=o||r(n)||void 0;const u=i(o),d=a(o),b=1===Object(c.size)(u)&&0===Object(c.size)(s(u[0].name,"inserter"));let m=!1;return b&&(m=u[0]),{hasItems:l(o),hasSingleBlockType:b,blockTitle:m?m.title:"",allowedBlockType:m,directInsertBlock:d,rootClientId:o}}),Object(d.withDispatch)((e,t,n)=>{let{select:o}=n;return{insertOnlyAllowedBlock(){const{rootClientId:n,clientId:r,isAppender:c,hasSingleBlockType:l,allowedBlockType:i,directInsertBlock:u,onSelectOrClose:d}=t;if(!(l||null!=u&&u.length))return;const{insertBlock:b}=e(j.a);b(null!=u&&u.length?Object(p.createBlock)(...u):Object(p.createBlock)(i.name),function(){const{getBlockIndex:e,getBlockSelectionEnd:t,getBlockOrder:l,getBlockRootClientId:i}=o(j.a);if(r)return e(r,n);const a=t();return!c&&a&&i(a)===n?e(a,n)+1:l(n).length}(),n),d&&d();const m=Object(s.sprintf)(Object(s.__)("%s block added"),i.title);Object(a.speak)(m)}}}),Object(b.ifCondition)(e=>{let{hasItems:t,isAppender:n,rootClientId:o,clientId:r}=e;return t||!n&&!o&&!r})])(y)},rH4q:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=c},rHRV:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("K9lf"),r=n("GRId"),c=n("VyCT");function l(){const e=Object(r.useContext)(c.b);return Object(o.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},rmEH:function(e,t){e.exports=window.wp.htmlEntities},smQA:function(e,t,n){"use strict";function o(){}function r(e,t,n,o,r){for(var c=0,l=t.length,i=0,a=0;ce.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(i,i+s.count));i+=s.count,s.added||(a+=s.count)}}var b=t[l-1];return l>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[l-2].value+=b.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,o.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var l=this;function i(e){return o?(setTimeout((function(){o(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=a+s,b=[{newPos:-1,components:[]}],p=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=a&&p+1>=s)return i([{value:this.join(t),count:t.length}]);function m(){for(var n=-1*u;n<=u;n+=2){var o=void 0,d=b[n-1],p=b[n+1],m=(p?p.newPos:0)-n;d&&(b[n-1]=void 0);var f=d&&d.newPos+1=a&&m+1>=s)return i(r(l,o.components,t,e,l.useLongestToken));b[n]=o}else b[n]=void 0}u++}if(o)!function e(){setTimeout((function(){if(u>d)return o();m()||e()}),0)}();else for(;u<=d;){var f=m();if(f)return f}},pushComponent:function(e,t,n){var o=e[e.length-1];o&&o.added===t&&o.removed===n?e[e.length-1]={count:o.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,o){for(var r=t.length,c=n.length,l=e.newPos,i=l-o,a=0;l+11&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?m.filter(t=>e.includes(t)):!0===e?[...m]:[],!o||!0===e&&!n?Object(s.without)(t,...f):t}const g=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n}=t,r=h(Object(o.getBlockSupport)(n,"align"),Object(o.hasBlockSupport)(n,"alignWide",!0)),c=Object(p.a)(r).map(e=>{let{name:t}=e;return t});return Object(l.createElement)(l.Fragment,null,!!c.length&&Object(l.createElement)(d.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(l.createElement)(b.a,{value:t.attributes.align,onChange:e=>{if(!e){var n,r;const c=Object(o.getBlockType)(t.name);(null==c||null===(n=c.attributes)||void 0===n||null===(r=n.align)||void 0===r?void 0:r.default)&&(e="")}t.setAttributes({align:e})},controls:c})),Object(l.createElement)(e,t))},"withToolbarControls"),O=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:r}=t,{align:i}=r,a=h(Object(o.getBlockSupport)(n,"align"),Object(o.hasBlockSupport)(n,"alignWide",!0)),s=Object(p.a)(a);if(void 0===i)return Object(l.createElement)(e,t);let u=t.wrapperProps;return s.some(e=>e.name===i)&&(u={...u,"data-align":i}),Object(l.createElement)(e,Object(c.a)({},t,{wrapperProps:u}))});Object(r.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(s.has)(e.attributes,["align","type"])||Object(o.hasBlockSupport)(e,"align")&&(e.attributes={...e.attributes,align:{type:"string",enum:[...m,""]}}),e})),Object(r.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",O),Object(r.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",g),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){const{align:r}=n;return h(Object(o.getBlockSupport)(t,"align"),Object(o.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=a()("align"+r,e.className)),e})),Object(r.addFilter)("blocks.registerBlockType","core/lock/addAttribute",(function(e){return Object(s.has)(e.attributes,["lock","type"])||(e.attributes={...e.attributes,lock:{type:"object"}}),e}));var v=n("tI+e"),j=n("l3Sj"),k=n("1oY3");const _=/[\s#]/g;const y=Object(u.createHigherOrderComponent)(e=>t=>{if(Object(o.hasBlockSupport)(t.name,"anchor")&&t.isSelected){const n="web"===l.Platform.OS,o=Object(l.createElement)(v.TextControl,{className:"html-anchor-control",label:Object(j.__)("HTML anchor"),help:Object(l.createElement)(l.Fragment,null,Object(j.__)("Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),n&&Object(l.createElement)(v.ExternalLink,{href:Object(j.__)("https://wordpress.org/support/article/page-jumps/")},Object(j.__)("Learn more about anchors"))),value:t.attributes.anchor||"",placeholder:n?null:Object(j.__)("Add an anchor"),onChange:e=>{e=e.replace(_,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(e,t),n&&Object(l.createElement)(k.b,{__experimentalGroup:"advanced"},o),!n&&"core/heading"===t.name&&Object(l.createElement)(k.b,null,Object(l.createElement)(v.PanelBody,{title:Object(j.__)("Heading settings")},o)))}return Object(l.createElement)(e,t)},"withInspectorControl");Object(r.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(s.has)(e.attributes,["anchor","type"])||Object(o.hasBlockSupport)(e,"anchor")&&(e.attributes={...e.attributes,anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),e})),Object(r.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",y),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(o.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));const E=Object(u.createHigherOrderComponent)(e=>t=>Object(o.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(e,t),Object(l.createElement)(k.b,{__experimentalGroup:"advanced"},Object(l.createElement)(v.TextControl,{autoComplete:"off",label:Object(j.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:e=>{t.setAttributes({className:""!==e?e:void 0})},help:Object(j.__)("Separate multiple classes with spaces.")}))):Object(l.createElement)(e,t),"withInspectorControl");Object(r.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(o.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes={...e.attributes,className:{type:"string"}}),e})),Object(r.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",E),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(o.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=a()(e.className,n.className)),e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(o.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(s.uniq)([Object(o.getBlockDefaultClassName)(t.name),...e.className.split(" ")]).join(" ").trim():e.className=Object(o.getBlockDefaultClassName)(t.name)),e}));var C=n("VyCT"),S=n("v5LD"),w=n("hMaJ"),B=n("bVpQ"),I=n("715p");const x=[];function T(e){const{attributes:{borderColor:t,style:n},setAttributes:o}=e,r=Object(S.a)("color.palette")||x,c=!Object(S.a)("color.custom"),i=!Object(S.a)("color.customGradient"),[a,s]=Object(l.useState)(()=>{var e,o;return null===(e=Object(B.b)(r,t,null==n||null===(o=n.border)||void 0===o?void 0:o.color))||void 0===e?void 0:e.color});return Object(l.createElement)(w.a,{label:Object(j.__)("Color"),colorValue:a,colors:r,gradients:void 0,disableCustomColors:c,disableCustomGradients:i,onColorChange:e=>{s(e);const t=Object(B.c)(r,e),c={...n,border:{...null==n?void 0:n.border,color:null!=t&&t.slug?void 0:e}},l=null!=t&&t.slug?t.slug:void 0;o({style:Object(I.a)(c),borderColor:l})}})}function P(e,t,n){var o;if(!z(t,"color")||H(t))return e;const{borderColor:r,style:c}=n,l=Object(B.a)("border-color",r),i=a()(e.className,{"has-border-color":r||(null==c||null===(o=c.border)||void 0===o?void 0:o.color),[l]:!!l});return e.className=i||void 0,e}const R=Object(u.createHigherOrderComponent)(e=>t=>{var n,o;const{name:r,attributes:i}=t,{borderColor:a}=i,s=Object(S.a)("color.palette")||x;if(!z(r,"color")||H(r))return Object(l.createElement)(e,t);const u={borderColor:a?null===(n=Object(B.b)(s,a))||void 0===n?void 0:n.color:void 0};let d=t.wrapperProps;return d={...t.wrapperProps,style:{...u,...null===(o=t.wrapperProps)||void 0===o?void 0:o.style}},Object(l.createElement)(e,Object(c.a)({},t,{wrapperProps:d}))});Object(r.addFilter)("blocks.registerBlockType","core/border/addAttributes",(function(e){return z(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/border/addSaveProps",P),Object(r.addFilter)("blocks.registerBlockType","core/border/addEditProps",(function(e){if(!z(e,"color")||H(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),P(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/border/with-border-color-palette-styles",R);var N=n("Wy3j");function L(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(N.a,{values:null==n||null===(t=n.border)||void 0===t?void 0:t.radius,onChange:e=>{let t={...n,border:{...null==n?void 0:n.border,radius:e}};void 0!==e&&""!==e||(t=Object(I.a)(t)),o({style:t})}})}var M=n("2YCo");const A=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(M.a,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.style,onChange:e=>{const t={...n,border:{...null==n?void 0:n.border,style:e}};o({style:Object(I.a)(t)})}})},D=e=>{const{attributes:{borderColor:t,style:n},setAttributes:o}=e,{width:r,color:c,style:i}=(null==n?void 0:n.border)||{},[a,s]=Object(l.useState)(),[u,d]=Object(l.useState)();Object(l.useEffect)(()=>{"none"!==i&&s(i)},[i]),Object(l.useEffect)(()=>{(t||c)&&d({name:t||void 0,color:c||void 0})},[t,c]);const b=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["px","em","rem"]});return Object(l.createElement)(v.__experimentalUnitControl,{value:r,label:Object(j.__)("Width"),min:0,onChange:e=>{let r={...n,border:{...null==n?void 0:n.border,width:e}},c=t;const l=0===parseFloat(e);l&&(c=void 0,r.border.color=void 0,r.border.style="none"),l||"none"!==i||(r.border.style=a),l||void 0!==t||(c=null==u?void 0:u.name,r.border.color=null==u?void 0:u.color),void 0!==e&&""!==e||(r=Object(I.a)(r)),o({borderColor:c,style:r})},units:b})};function F(e){const t=V(e),n=z(e.name),o=Object(S.a)("border.color")&&z(e.name,"color"),r=Object(S.a)("border.radius")&&z(e.name,"radius"),c=Object(S.a)("border.style")&&z(e.name,"style"),i=Object(S.a)("border.width")&&z(e.name,"width");return t||!n?null:Object(l.createElement)(k.b,null,Object(l.createElement)(v.PanelBody,{className:"block-editor-hooks__border-controls",title:Object(j.__)("Border"),initialOpen:!1},(i||c)&&Object(l.createElement)("div",{className:"block-editor-hooks__border-controls-row"},i&&Object(l.createElement)(D,e),c&&Object(l.createElement)(A,e)),o&&Object(l.createElement)(T,e),r&&Object(l.createElement)(L,e)))}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"any";if("web"!==l.Platform.OS)return!1;const n=Object(o.getBlockSupport)(e,"__experimentalBorder");return!0===n||("any"===t?!!(null!=n&&n.color||null!=n&&n.radius||null!=n&&n.width||null!=n&&n.style):!(null==n||!n[t]))}function H(e){const t=Object(o.getBlockSupport)(e,"__experimentalBorder");return null==t?void 0:t.__experimentalSkipSerialization}const V=()=>[!Object(S.a)("border.color"),!Object(S.a)("border.radius"),!Object(S.a)("border.style"),!Object(S.a)("border.width")].every(Boolean);var G=n("Cn0l"),U=n("yU1v"),W=n("6c9H"),q=n("PKbb");function K(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function $(e){let{settings:t,clientId:n,enableContrastChecking:o=!0,showTitle:r=!0}=e;const[c,i]=Object(l.useState)(),[a,s]=Object(l.useState)(),u=Object(q.b)(n);return Object(l.useEffect)(()=>{if(!o)return;if(!u.current)return;s(K(u.current).color);let e=u.current,t=K(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=K(e).backgroundColor;i(t)}),Object(l.createElement)(k.b,null,Object(l.createElement)(U.a,{title:Object(j.__)("Color"),initialOpen:!1,settings:t,showTitle:r,__experimentalHasMultipleOrigins:!0},o&&Object(l.createElement)(W.a,{backgroundColor:c,textColor:a})))}const Y=[],X=e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},Z=e=>{const t=Object(o.getBlockSupport)(e,"color");return null==t?void 0:t.__experimentalSkipSerialization},Q=e=>{const t=Object(o.getBlockSupport)(e,"color");return Object(s.isObject)(t)&&!!t.gradients};function J(e,t,n){var o,r,c,l,i,s;if(!X(t)||Z(t))return e;const u=Q(t),{backgroundColor:d,textColor:b,gradient:p,style:m}=n,f=Object(B.a)("background-color",d),h=Object(G.a)(p),g=Object(B.a)("color",b),O=a()(e.className,g,h,{[f]:!(u&&null!=m&&null!==(o=m.color)&&void 0!==o&&o.gradient||!f),"has-text-color":b||(null==m||null===(r=m.color)||void 0===r?void 0:r.text),"has-background":d||(null==m||null===(c=m.color)||void 0===c?void 0:c.background)||u&&(p||(null==m||null===(l=m.color)||void 0===l?void 0:l.gradient)),"has-link-color":null==m||null===(i=m.elements)||void 0===i||null===(s=i.link)||void 0===s?void 0:s.color});return e.className=O||void 0,e}const ee=(e,t)=>{const n=/var:preset\|color\|(.+)/.exec(t);return n&&n[1]?Object(B.b)(e,n[1]).color:t};function te(e){var t,n,r,c,i,a,u,d,b;const{name:p,attributes:m}=e,f=Object(S.a)("color.palette")||Y,h=Object(S.a)("color.gradients")||Y,g=Object(S.a)("color.custom"),O=Object(S.a)("color.customGradient"),v=Object(S.a)("color.link"),k=Object(S.a)("color.text"),_=Object(S.a)("color.background"),y=Object(l.useRef)(m);if(Object(l.useEffect)(()=>{y.current=m},[m]),!X(p))return null;const E=(e=>{if("web"!==l.Platform.OS)return!1;const t=Object(o.getBlockSupport)(e,"color");return Object(s.isObject)(t)&&!!t.link})(p)&&v&&(f.length>0||g),C=(e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&!1!==t.text})(p)&&k&&(f.length>0||g),w=(e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&!1!==t.background})(p)&&_&&(f.length>0||g),x=Q(p)&&(h.length>0||O);if(!(E||C||w||x))return null;const{style:T,textColor:P,backgroundColor:R,gradient:N}=m;let L;if(x&&N)L=Object(G.e)(h,N);else if(x){var M;L=null==T||null===(M=T.color)||void 0===M?void 0:M.gradient}const A=t=>n=>{var o,r;const c=Object(B.c)(f,n),l=t+"Color",i={...y.current.style,color:{...null===(o=y.current)||void 0===o||null===(r=o.style)||void 0===r?void 0:r.color,[t]:null!=c&&c.slug?void 0:n}},a=null!=c&&c.slug?c.slug:void 0,s={style:Object(I.a)(i),[l]:a};e.setAttributes(s),y.current={...y.current,...s}};return Object(l.createElement)($,{enableContrastChecking:!("web"!==l.Platform.OS||N||null!=T&&null!==(t=T.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[...C?[{label:Object(j.__)("Text color"),onColorChange:A("text"),colorValue:Object(B.b)(f,P,null==T||null===(n=T.color)||void 0===n?void 0:n.text).color}]:[],...w||x?[{label:Object(j.__)("Background color"),onColorChange:w?A("background"):void 0,colorValue:Object(B.b)(f,R,null==T||null===(r=T.color)||void 0===r?void 0:r.background).color,gradientValue:L,onGradientChange:x?t=>{const n=Object(G.d)(h,t);let o;if(n){var r,c,l;const e={...null===(r=y.current)||void 0===r?void 0:r.style,color:{...null===(c=y.current)||void 0===c||null===(l=c.style)||void 0===l?void 0:l.color,gradient:void 0}};o={style:Object(I.a)(e),gradient:n}}else{var i,a,s;const e={...null===(i=y.current)||void 0===i?void 0:i.style,color:{...null===(a=y.current)||void 0===a||null===(s=a.style)||void 0===s?void 0:s.color,gradient:t}};o={style:Object(I.a)(e),gradient:void 0}}e.setAttributes(o),y.current={...y.current,...o}}:void 0}]:[],...E?[{label:Object(j.__)("Link Color"),onColorChange:t=>{const n=Object(B.c)(f,t),o=null!=n&&n.slug?"var:preset|color|"+n.slug:t,r=Object(I.a)(function(e,t,n){return Object(s.setWith)(e?Object(s.clone)(e):{},t,n,s.clone)}(T,["elements","link","color","text"],o));e.setAttributes({style:r})},colorValue:ee(f,null==T||null===(c=T.elements)||void 0===c||null===(i=c.link)||void 0===i||null===(a=i.color)||void 0===a?void 0:a.text),clearable:!(null==T||null===(u=T.elements)||void 0===u||null===(d=u.link)||void 0===d||null===(b=d.color)||void 0===b||!b.text)}]:[]]})}const ne=Object(u.createHigherOrderComponent)(e=>t=>{var n,o,r;const{name:i,attributes:a}=t,{backgroundColor:s,textColor:u}=a,d=Object(S.a)("color.palette")||Y;if(!X(i)||Z(i))return Object(l.createElement)(e,t);const b={color:u?null===(n=Object(B.b)(d,u))||void 0===n?void 0:n.color:void 0,backgroundColor:s?null===(o=Object(B.b)(d,s))||void 0===o?void 0:o.color:void 0};let p=t.wrapperProps;return p={...t.wrapperProps,style:{...b,...null===(r=t.wrapperProps)||void 0===r?void 0:r.style}},Object(l.createElement)(e,Object(c.a)({},t,{wrapperProps:p}))});Object(r.addFilter)("blocks.registerBlockType","core/color/addAttribute",(function(e){return X(e)?(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:"string"}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:"string"}}),Q(e)&&!e.attributes.gradient&&Object.assign(e.attributes,{gradient:{type:"string"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/color/addSaveProps",J),Object(r.addFilter)("blocks.registerBlockType","core/color/addEditProps",(function(e){if(!X(e)||Z(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),J(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/color/with-color-palette-styles",ne);var oe=n("Bo0k"),re=n("weEX");function ce(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(re.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.lineHeight,onChange:e=>{const t={...n,typography:{...null==n?void 0:n.typography,lineHeight:e}};o({style:Object(I.a)(t)})}})}function le(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(S.a)("typography.lineHeight");return!Object(o.hasBlockSupport)(e,"typography.lineHeight")||t}function ie(e){var t,n;const{attributes:{style:o},setAttributes:r}=e,c=!ae(e),i=!se(e),a=null==o||null===(t=o.typography)||void 0===t?void 0:t.fontStyle,s=null==o||null===(n=o.typography)||void 0===n?void 0:n.fontWeight;return Object(l.createElement)(oe.a,{onChange:e=>{r({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,fontStyle:e.fontStyle,fontWeight:e.fontWeight}})})},hasFontStyles:c,hasFontWeights:i,value:{fontStyle:a,fontWeight:s}})}function ae(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object(o.hasBlockSupport)(e,"typography.__experimentalFontStyle"),n=Object(S.a)("typography.fontStyle");return!t||!n}function se(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object(o.hasBlockSupport)(e,"typography.__experimentalFontWeight"),n=Object(S.a)("typography.fontWeight");return!t||!n}function ue(e){const t=ae(e),n=se(e);return t&&n}var de=n("BLeD"),be=n.n(de),pe=n("GKUk");const me="typography.__experimentalFontFamily";function fe(e,t,n){if(!Object(o.hasBlockSupport)(t,me))return e;if(Object(o.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;if(null==n||!n.fontFamily)return e;const r=new be.a(e.className);r.add(`has-${Object(s.kebabCase)(null==n?void 0:n.fontFamily)}-font-family`);const c=r.value;return e.className=c||void 0,e}function he(e){var t;let{setAttributes:n,attributes:{fontFamily:o}}=e;const r=Object(S.a)("typography.fontFamilies"),c=null===(t=Object(s.find)(r,e=>{let{slug:t}=e;return o===t}))||void 0===t?void 0:t.fontFamily;return Object(l.createElement)(pe.a,{className:"block-editor-hooks-font-family-control",fontFamilies:r,value:c,onChange:function(e){const t=Object(s.find)(r,t=>{let{fontFamily:n}=t;return n===e});n({fontFamily:null==t?void 0:t.slug})}})}function ge(e){let{name:t}=e;const n=Object(S.a)("typography.fontFamilies");return!n||0===n.length||!Object(o.hasBlockSupport)(t,me)}Object(r.addFilter)("blocks.registerBlockType","core/fontFamily/addAttribute",(function(e){return Object(o.hasBlockSupport)(e,me)?(e.attributes.fontFamily||Object.assign(e.attributes,{fontFamily:{type:"string"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/fontFamily/addSaveProps",fe),Object(r.addFilter)("blocks.registerBlockType","core/fontFamily/addEditProps",(function(e){if(!Object(o.hasBlockSupport)(e,me))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),fe(o,e,n)},e}));var Oe=n("NMUH"),ve=n("QP/w");function je(e,t,n){if(!Object(o.hasBlockSupport)(t,"typography.fontSize"))return e;if(Object(o.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;const r=new be.a(e.className);r.add(Object(Oe.b)(n.fontSize));const c=r.value;return e.className=c||void 0,e}function ke(e){var t,n;const{attributes:{fontSize:o,style:r},setAttributes:c}=e,i=Object(S.a)("typography.fontSizes"),a=Object(Oe.a)(i,o,null==r||null===(t=r.typography)||void 0===t?void 0:t.fontSize),s=(null==a?void 0:a.size)||(null==r||null===(n=r.typography)||void 0===n?void 0:n.fontSize)||o;return Object(l.createElement)(ve.a,{onChange:e=>{const t=Object(Oe.c)(i,e).slug;c({style:Object(I.a)({...r,typography:{...null==r?void 0:r.typography,fontSize:t?void 0:e}}),fontSize:t})},value:s,withReset:!1})}function _e(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object(S.a)("typography.fontSizes"),n=!(null==t||!t.length);return!Object(o.hasBlockSupport)(e,"typography.fontSize")||!n}const ye=Object(u.createHigherOrderComponent)(e=>t=>{var n,r;const c=Object(S.a)("typography.fontSizes"),{name:i,attributes:{fontSize:a,style:s},wrapperProps:u}=t;if(!Object(o.hasBlockSupport)(i,"typography.fontSize")||Object(o.hasBlockSupport)(i,"typography.__experimentalSkipSerialization")||!a||null!=s&&null!==(n=s.typography)&&void 0!==n&&n.fontSize)return Object(l.createElement)(e,t);const d=Object(Oe.a)(c,a,null==s||null===(r=s.typography)||void 0===r?void 0:r.fontSize).size,b={...t,wrapperProps:{...u,style:{fontSize:d,...null==u?void 0:u.style}}};return Object(l.createElement)(e,b)},"withFontSizeInlineStyles");Object(r.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(o.hasBlockSupport)(e,"typography.fontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",je),Object(r.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(o.hasBlockSupport)(e,"typography.fontSize"))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),je(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",ye);var Ee=n("kVRd");function Ce(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(Ee.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textDecoration,onChange:function(e){o({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,textDecoration:e}})})}})}function Se(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(o.hasBlockSupport)(e,"typography.__experimentalTextDecoration"),n=Object(S.a)("typography.textDecoration");return t||!n}var we=n("/Hvg");function Be(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(we.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textTransform,onChange:function(e){o({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,textTransform:e}})})}})}function Ie(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(o.hasBlockSupport)(e,"typography.__experimentalTextTransform"),n=Object(S.a)("typography.textTransform");return t||!n}var xe=n("xBDm");function Te(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(xe.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.letterSpacing,onChange:function(e){o({style:Object(I.a)({...n,typography:{...null==n?void 0:n.typography,letterSpacing:e}})})},__unstableInputWidth:!1})}function Pe(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(o.hasBlockSupport)(e,"typography.__experimentalLetterSpacing"),n=Object(S.a)("typography.letterSpacing");return t||!n}const Re=["typography.lineHeight","typography.fontSize","typography.__experimentalFontStyle","typography.__experimentalFontWeight",me,"typography.__experimentalTextDecoration","typography.__experimentalTextTransform","typography.__experimentalLetterSpacing"];function Ne(e){const{clientId:t}=e,n=ge(e),r=_e(e),c=ue(e),i=le(e),a=Se(e),s=Ie(e),u=Pe(e),d=!ae(e),b=!se(e),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=[ue(e),_e(e),le(e),ge(e),Se(e),Ie(e),Pe(e)];return t.filter(Boolean).length===t.length}(e),m=Le(e.name);if(p||!m)return null;const f=Object(o.getBlockSupport)(e.name,["typography","__experimentalDefaultControls"]),h=e=>t=>{var n;return{...t,style:{...t.style,typography:{...null===(n=t.style)||void 0===n?void 0:n.typography,[e]:void 0}}}};return Object(l.createElement)(k.b,{__experimentalGroup:"typography"},!n&&Object(l.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){return!!e.attributes.fontFamily}(e),label:Object(j.__)("Font family"),onDeselect:()=>function(e){let{setAttributes:t}=e;t({fontFamily:void 0})}(e),isShownByDefault:null==f?void 0:f.fontFamily,resetAllFilter:e=>({...e,fontFamily:void 0}),panelId:t},Object(l.createElement)(he,e)),!r&&Object(l.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t;const{fontSize:n,style:o}=e.attributes;return!!n||!(null==o||null===(t=o.typography)||void 0===t||!t.fontSize)}(e),label:Object(j.__)("Font size"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({fontSize:void 0,style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,fontSize:void 0}})})}(e),isShownByDefault:null==f?void 0:f.fontSize,resetAllFilter:e=>{var t;return{...e,fontSize:void 0,style:{...e.style,typography:{...null===(t=e.style)||void 0===t?void 0:t.typography,fontSize:void 0}}}},panelId:t},Object(l.createElement)(ke,e)),!c&&Object(l.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t;const{fontStyle:n,fontWeight:o}=(null===(t=e.attributes.style)||void 0===t?void 0:t.typography)||{};return!!n||!!o}(e),label:Object(oe.b)(d,b),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,fontStyle:void 0,fontWeight:void 0}})})}(e),isShownByDefault:null==f?void 0:f.fontAppearance,resetAllFilter:e=>{var t;return{...e,style:{...e.style,typography:{...null===(t=e.style)||void 0===t?void 0:t.typography,fontStyle:void 0,fontWeight:void 0}}}},panelId:t},Object(l.createElement)(ie,e)),!i&&Object(l.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.lineHeight)}(e),label:Object(j.__)("Line height"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,lineHeight:void 0}})})}(e),isShownByDefault:null==f?void 0:f.lineHeight,resetAllFilter:h("lineHeight"),panelId:t},Object(l.createElement)(ce,e)),!a&&Object(l.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.textDecoration)}(e),label:Object(j.__)("Decoration"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,textDecoration:void 0}})})}(e),isShownByDefault:null==f?void 0:f.textDecoration,resetAllFilter:h("textDecoration"),panelId:t},Object(l.createElement)(Ce,e)),!s&&Object(l.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.textTransform)}(e),label:Object(j.__)("Letter case"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,textTransform:void 0}})})}(e),isShownByDefault:null==f?void 0:f.textTransform,resetAllFilter:h("textTransform"),panelId:t},Object(l.createElement)(Be,e)),!u&&Object(l.createElement)(v.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>function(e){var t,n;return!(null===(t=e.attributes.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.letterSpacing)}(e),label:Object(j.__)("Letter-spacing"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,typography:{...null==o?void 0:o.typography,letterSpacing:void 0}})})}(e),isShownByDefault:null==f?void 0:f.letterSpacing,resetAllFilter:h("letterSpacing"),panelId:t},Object(l.createElement)(Te,e)))}const Le=e=>Re.some(t=>Object(o.hasBlockSupport)(e,t));function Me(e){const t=Object(o.getBlockSupport)(e,We);return!!(!0===t||null!=t&&t.blockGap)}function Ae(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(S.a)("spacing.blockGap");return!Me(e)||t}function De(e){var t;const{clientId:n,attributes:{style:o},setAttributes:r}=e,c=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["%","px","em","rem","vw"]}),i=Object(q.b)(n);if(Ae(e))return null;return l.Platform.select({web:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.__experimentalUnitControl,{label:Object(j.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:e=>{var t;const n={...o,spacing:{...null==o?void 0:o.spacing,blockGap:e}};r({style:Object(I.a)(n)});const c=(null===(t=window)||void 0===t?void 0:t.navigator.userAgent)&&window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome ")&&!window.navigator.userAgent.includes("Chromium ");var l;i.current&&c&&(null===(l=i.current.parentNode)||void 0===l||l.replaceChild(i.current,i.current))},units:c,value:null==o||null===(t=o.spacing)||void 0===t?void 0:t.blockGap})),native:null})}function Fe(e){const t=Object(o.getBlockSupport)(e,We);return!!(!0===t||null!=t&&t.margin)}function ze(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(S.a)("spacing.margin"),n=!Ze(e,"margin");return!Fe(e)||t||n}function He(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["%","px","em","rem","vw"]}),i=Xe(n,"margin"),a=i&&i.some(e=>Ke.includes(e));if(ze(e))return null;return l.Platform.select({web:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.__experimentalBoxControl,{values:null==o||null===(t=o.spacing)||void 0===t?void 0:t.margin,onChange:e=>{const t={...o,spacing:{...null==o?void 0:o.spacing,margin:e}};r({style:Object(I.a)(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{margin:e}};r({style:Object(I.a)(t)})},label:Object(j.__)("Margin"),sides:i,units:c,allowReset:!1,splitOnAxis:a})),native:null})}function Ve(e){const t=Object(o.getBlockSupport)(e,We);return!!(!0===t||null!=t&&t.padding)}function Ge(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!Object(S.a)("spacing.padding"),n=!Ze(e,"padding");return!Ve(e)||t||n}function Ue(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(v.__experimentalUseCustomUnits)({availableUnits:Object(S.a)("spacing.units")||["%","px","em","rem","vw"]}),i=Xe(n,"padding"),a=i&&i.some(e=>Ke.includes(e));if(Ge(e))return null;return l.Platform.select({web:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.__experimentalBoxControl,{values:null==o||null===(t=o.spacing)||void 0===t?void 0:t.padding,onChange:e=>{const t={...o,spacing:{...null==o?void 0:o.spacing,padding:e}};r({style:Object(I.a)(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{padding:e}};r({style:Object(I.a)(t)})},label:Object(j.__)("Padding"),sides:i,units:c,allowReset:!1,splitOnAxis:a})),native:null})}const We="spacing",qe=["top","right","bottom","left"],Ke=["vertical","horizontal"];function $e(e){const t=Ae(e),n=Ge(e),r=ze(e),c=Ye(e),i=function(e){if("web"!==l.Platform.OS)return!1;return Me(e)||Ve(e)||Fe(e)}(e.name);if(c||!i)return null;const a=Object(o.getBlockSupport)(e.name,[We,"__experimentalDefaultControls"]),s=e=>t=>{var n;return{...t,style:{...t.style,spacing:{...null===(n=t.style)||void 0===n?void 0:n.spacing,[e]:void 0}}}};return Object(l.createElement)(k.b,{__experimentalGroup:"dimensions"},!n&&Object(l.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t,n;return void 0!==(null===(t=e.attributes.style)||void 0===t||null===(n=t.spacing)||void 0===n?void 0:n.padding)}(e),label:Object(j.__)("Padding"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,spacing:{...null==o?void 0:o.spacing,padding:void 0}})})}(e),resetAllFilter:s("padding"),isShownByDefault:null==a?void 0:a.padding,panelId:e.clientId},Object(l.createElement)(Ue,e)),!r&&Object(l.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t,n;return void 0!==(null===(t=e.attributes.style)||void 0===t||null===(n=t.spacing)||void 0===n?void 0:n.margin)}(e),label:Object(j.__)("Margin"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:Object(I.a)({...o,spacing:{...null==o?void 0:o.spacing,margin:void 0}})})}(e),resetAllFilter:s("margin"),isShownByDefault:null==a?void 0:a.margin,panelId:e.clientId},Object(l.createElement)(He,e)),!t&&Object(l.createElement)(v.__experimentalToolsPanelItem,{hasValue:()=>function(e){var t,n;return void 0!==(null===(t=e.attributes.style)||void 0===t||null===(n=t.spacing)||void 0===n?void 0:n.blockGap)}(e),label:Object(j.__)("Block spacing"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:{...o,spacing:{...null==o?void 0:o.spacing,blockGap:void 0}}})}(e),resetAllFilter:s("blockGap"),isShownByDefault:null==a?void 0:a.blockGap,panelId:e.clientId},Object(l.createElement)(De,e)))}const Ye=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Ae(e),n=Ge(e),o=ze(e);return t&&n&&o};function Xe(e,t){const n=Object(o.getBlockSupport)(e,We);if(n&&"boolean"!=typeof n[t])return n[t]}function Ze(e,t){const n=Xe(e,t);return!(n&&n.some(e=>qe.includes(e))&&n.some(e=>Ke.includes(e)))||(console.warn(`The ${t} support for the "${e}" block can not be configured to support both axial and arbitrary sides.`),!1)}var Qe=n("HgtZ");const Je=[...Re,"__experimentalBorder","color",We],et=e=>Je.some(t=>Object(o.hasBlockSupport)(e,t));function tt(e){if(Object(s.startsWith)(e,"var:")){return`var(--wp--${e.slice("var:".length).split("|").join("--")})`}return e}function nt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={};return Object.keys(o.__EXPERIMENTAL_STYLE_PROPERTY).forEach(n=>{const r=o.__EXPERIMENTAL_STYLE_PROPERTY[n].value,c=o.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;if(Object(s.has)(e,r)&&"elements"!==Object(s.first)(r)){const o=Object(s.get)(e,r);c&&!Object(s.isString)(o)?Object.entries(c).forEach(e=>{const[n,r]=e,c=Object(s.get)(o,[r]);c&&(t[n]=tt(c))}):t[n]=tt(Object(s.get)(e,r))}}),t}const ot={"__experimentalBorder.__experimentalSkipSerialization":["border"],"color.__experimentalSkipSerialization":["color"],"typography.__experimentalSkipSerialization":["typography"],[We+".__experimentalSkipSerialization"]:["spacing"]},rt={...ot,[""+We]:["spacing.blockGap"]};function ct(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rt;if(!et(t))return e;let{style:c}=n;return Object(s.forEach)(r,(e,n)=>{Object(o.getBlockSupport)(t,n)&&(c=Object(s.omit)(c,e))}),e.style={...nt(c),...e.style},e}const lt=Object(u.createHigherOrderComponent)(e=>t=>{const n=Object(Qe.a)();return Object(l.createElement)(l.Fragment,null,n&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(te,t),Object(l.createElement)(Ne,t),Object(l.createElement)(F,t),Object(l.createElement)($e,t)),Object(l.createElement)(e,t))},"withToolbarControls"),it=Object(u.createHigherOrderComponent)(e=>t=>{var n,r;const i=null===(n=t.attributes.style)||void 0===n?void 0:n.elements,d="wp-elements-"+Object(u.useInstanceId)(e),b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.map)(t,(t,n)=>{const r=nt(t);return Object(s.isEmpty)(r)?"":[`.${e} ${o.__EXPERIMENTAL_ELEMENTS[n]}{`,...Object(s.map)(r,(e,t)=>`\t${Object(s.kebabCase)(t)}: ${e};`),"}"].join("\n")}).join("\n")}(d,null===(r=t.attributes.style)||void 0===r?void 0:r.elements),p=Object(l.useContext)(C.c.__unstableElementContext);return Object(l.createElement)(l.Fragment,null,i&&p&&Object(l.createPortal)(Object(l.createElement)("style",{dangerouslySetInnerHTML:{__html:b}}),p),Object(l.createElement)(e,Object(c.a)({},t,{className:i?a()(t.className,d):t.className})))});Object(r.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return et(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",ct),Object(r.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!et(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),ct(o,e,n,ot)},e})),Object(r.addFilter)("editor.BlockEdit","core/style/with-block-controls",lt),Object(r.addFilter)("editor.BlockListBlock","core/editor/with-elements-styles",it);var at=n("fHnH"),st=n("abaT"),ut=n("1uGa");const dt=[];function bt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={r:[],g:[],b:[],a:[]};return e.forEach(e=>{const n=Object(at.a)(e).toRgb();t.r.push(n.r/255),t.g.push(n.g/255),t.b.push(n.b/255),t.a.push(n.a)}),t}function pt(e){let{selector:t,id:n,values:o}=e;const r=`\n${t} {\n\tfilter: url( #${n} );\n}\n`;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.SVG,{xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 0 0",width:"0",height:"0",focusable:"false",role:"none",style:{visibility:"hidden",position:"absolute",left:"-9999px",overflow:"hidden"}},Object(l.createElement)("defs",null,Object(l.createElement)("filter",{id:n},Object(l.createElement)("feColorMatrix",{colorInterpolationFilters:"sRGB",type:"matrix",values:" .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "}),Object(l.createElement)("feComponentTransfer",{colorInterpolationFilters:"sRGB"},Object(l.createElement)("feFuncR",{type:"table",tableValues:o.r.join(" ")}),Object(l.createElement)("feFuncG",{type:"table",tableValues:o.g.join(" ")}),Object(l.createElement)("feFuncB",{type:"table",tableValues:o.b.join(" ")}),Object(l.createElement)("feFuncA",{type:"table",tableValues:o.a.join(" ")})),Object(l.createElement)("feComposite",{in2:"SourceGraphic",operator:"in"})))),Object(l.createElement)("style",{dangerouslySetInnerHTML:{__html:r}}))}function mt(e){var t;let{attributes:n,setAttributes:o}=e;const r=null==n?void 0:n.style,c=null==r||null===(t=r.color)||void 0===t?void 0:t.duotone,i=Object(S.a)("color.duotone")||dt,a=Object(S.a)("color.palette")||dt,s=!Object(S.a)("color.custom"),u=!Object(S.a)("color.customDuotone")||0===(null==a?void 0:a.length)&&s;return 0===(null==i?void 0:i.length)&&u?null:Object(l.createElement)(d.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(l.createElement)(ut.a,{duotonePalette:i,colorPalette:a,disableCustomDuotone:u,disableCustomColors:s,value:c,onChange:e=>{const t={...r,color:{...null==r?void 0:r.color,duotone:e}};o({style:t})}}))}Object(at.b)([st.a]);const ft=Object(u.createHigherOrderComponent)(e=>t=>{const n=Object(o.hasBlockSupport)(t.name,"color.__experimentalDuotone");return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(e,t),n&&Object(l.createElement)(mt,t))},"withDuotoneControls");const ht=Object(u.createHigherOrderComponent)(e=>t=>{var n,r,i;const s=Object(o.getBlockSupport)(t.name,"color.__experimentalDuotone"),d=null==t||null===(n=t.attributes)||void 0===n||null===(r=n.style)||void 0===r||null===(i=r.color)||void 0===i?void 0:i.duotone;if(!s||!d)return Object(l.createElement)(e,t);const b="wp-duotone-"+Object(u.useInstanceId)(e),p=function(e,t){const n=e.split(","),o=t.split(","),r=[];return n.forEach(e=>{o.forEach(t=>{r.push(`${e.trim()} ${t.trim()}`)})}),r.join(", ")}(".editor-styles-wrapper ."+b,s),m=a()(null==t?void 0:t.className,b),f=Object(l.useContext)(C.c.__unstableElementContext);return Object(l.createElement)(l.Fragment,null,f&&Object(l.createPortal)(Object(l.createElement)(pt,{selector:p,id:b,values:bt(d)}),f),Object(l.createElement)(e,Object(c.a)({},t,{className:m})))},"withDuotoneStyles");Object(r.addFilter)("blocks.registerBlockType","core/editor/duotone/add-attributes",(function(e){return Object(o.hasBlockSupport)(e,"color.__experimentalDuotone")?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(r.addFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls",ft),Object(r.addFilter)("editor.BlockListBlock","core/editor/duotone/with-styles",ht);var gt=n("1ZqX"),Ot=n("BhPs"),vt=n("w8sn"),jt=n("PPMp");function kt(e){let{setAttributes:t,attributes:n,name:r}=e;const{layout:c}=n,i=Object(S.a)("layout"),a=Object(gt.useSelect)(e=>{const{getSettings:t}=e(Ot.a);return t().supportsLayout},[]),s=Object(o.getBlockSupport)(r,"__experimentalLayout",{}),{allowSwitching:u,allowEditing:d=!0,allowInheriting:b=!0,default:p}=s;if(!d)return null;const m=c||p||{},{inherit:f=!1,type:h="default"}=m;if("default"===h&&!a)return null;const g=Object(jt.a)(h),O=e=>t({layout:e});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(k.b,null,Object(l.createElement)(v.PanelBody,{title:Object(j.__)("Layout")},b&&!!i&&Object(l.createElement)(v.ToggleControl,{label:Object(j.__)("Inherit default layout"),checked:!!f,onChange:()=>t({layout:{inherit:!f}})}),!f&&u&&Object(l.createElement)(_t,{type:h,onChange:e=>t({layout:{type:e}})}),!f&&g&&Object(l.createElement)(g.inspectorControls,{layout:m,onChange:O,layoutBlockSupport:s}))),!f&&g&&Object(l.createElement)(g.toolBarControls,{layout:m,onChange:O,layoutBlockSupport:s}))}function _t(e){let{type:t,onChange:n}=e;return Object(l.createElement)(v.ButtonGroup,null,Object(jt.b)().map(e=>{let{name:o,label:r}=e;return Object(l.createElement)(v.Button,{key:o,isPressed:t===o,onClick:()=>n(o)},r)}))}const yt=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n}=t;return[Object(o.hasBlockSupport)(n,"__experimentalLayout")&&Object(l.createElement)(kt,Object(c.a)({key:"layout"},t)),Object(l.createElement)(e,Object(c.a)({key:"edit"},t))]},"withInspectorControls"),Et=Object(u.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:r}=t,i=Object(o.hasBlockSupport)(n,"__experimentalLayout"),s=Object(u.useInstanceId)(e),d=Object(S.a)("layout")||{},b=Object(l.useContext)(C.c.__unstableElementContext),{layout:p}=r,{default:m}=Object(o.getBlockSupport)(n,"__experimentalLayout")||{},f=null!=p&&p.inherit?d:p||m||{},h=a()(null==t?void 0:t.className,{["wp-container-"+s]:i});return Object(l.createElement)(l.Fragment,null,i&&b&&Object(l.createPortal)(Object(l.createElement)(vt.b,{selector:".wp-container-"+s,layout:f}),b),Object(l.createElement)(e,Object(c.a)({},t,{className:h})))});Object(r.addFilter)("blocks.registerBlockType","core/layout/addAttribute",(function(e){return Object(s.has)(e.attributes,["layout","type"])||Object(o.hasBlockSupport)(e,"__experimentalLayout")&&(e.attributes={...e.attributes,layout:{type:"object"}}),e})),Object(r.addFilter)("editor.BlockListBlock","core/editor/layout/with-layout-styles",Et),Object(r.addFilter)("editor.BlockEdit","core/editor/layout/with-inspector-controls",yt);const Ct=[];function St(e){var t;let{borderColor:n,style:o}=e;const r=(null==o?void 0:o.border)||{},c=Object(B.a)("border-color",n);return{className:a()({[c]:!!c,"has-border-color":n||(null==o||null===(t=o.border)||void 0===t?void 0:t.color)})||void 0,style:nt({border:r})}}function wt(e){const t=Object(S.a)("color.palette")||Ct,n=St(e);if(e.borderColor){const o=Object(B.b)(t,e.borderColor);n.style.borderColor=o.color}return n}const Bt=[];function It(e){var t,n,o,r,c,l;const{backgroundColor:i,textColor:s,gradient:u,style:d}=e,b=Object(B.a)("background-color",i),p=Object(B.a)("color",s),m=Object(G.a)(u),f=m||(null==d||null===(t=d.color)||void 0===t?void 0:t.gradient);return{className:a()(p,m,{[b]:!f&&!!b,"has-text-color":s||(null==d||null===(n=d.color)||void 0===n?void 0:n.text),"has-background":i||(null==d||null===(o=d.color)||void 0===o?void 0:o.background)||u||(null==d||null===(r=d.color)||void 0===r?void 0:r.gradient),"has-link-color":null==d||null===(c=d.elements)||void 0===c||null===(l=c.link)||void 0===l?void 0:l.color})||void 0,style:nt({color:(null==d?void 0:d.color)||{}})}}function xt(e){const{backgroundColor:t,textColor:n,gradient:o}=e,r=Object(S.a)("color.palette")||Bt,c=Object(S.a)("color.gradients")||Bt,l=It(e);if(t){const e=Object(B.b)(r,t);l.style.backgroundColor=e.color}if(o&&(l.style.background=Object(G.e)(c,o)),n){const e=Object(B.b)(r,n);l.style.color=e.color}return l}function Tt(e){const{style:t}=e;return{style:nt({spacing:(null==t?void 0:t.spacing)||{}})}}function Pt(e){const[t,n]=Object(l.useState)(e);return Object(l.useEffect)(()=>{e&&n(e)},[e]),t}var Rt=n("14PQ"),Nt=n("BCrt"),Lt=n("lJLt")},uoCR:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("GRId");const r=Object(o.createContext)({});function c(e){let{value:t,children:n}=e;const c=Object(o.useContext)(r),l=Object(o.useMemo)(()=>({...c,...t}),[c,t]);return Object(o.createElement)(r.Provider,{value:l,children:n})}t.b=r},ur0x:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return i}));var o=n("GRId");const r={name:"",isSelected:!1},c=Object(o.createContext)(r),{Provider:l}=c;function i(){return Object(o.useContext)(c)}},v5LD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("YLtl"),r=n("1ZqX"),c=n("HSyU"),l=n("ur0x"),i=n("BhPs");const a={"color.palette":e=>void 0===e.colors?void 0:e.colors,"color.gradients":e=>void 0===e.gradients?void 0:e.gradients,"color.custom":e=>void 0===e.disableCustomColors?void 0:!e.disableCustomColors,"color.customGradient":e=>void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>void 0===e.fontSizes?void 0:e.fontSizes,"typography.customFontSize":e=>void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},s={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"};function u(e){const{name:t}=Object(l.c)();return Object(r.useSelect)(n=>{var r;const l=n(i.a).getSettings(),u=(e=>s[e]||e)(e),d="__experimentalFeatures."+u,b=`__experimentalFeatures.blocks.${t}.${u}`,p=null!==(r=Object(o.get)(l,b))&&void 0!==r?r:Object(o.get)(l,d);var m,f;if(void 0!==p)return c.__EXPERIMENTAL_PATHS_WITH_MERGE[u]?null!==(m=null!==(f=p.user)&&void 0!==f?f:p.theme)&&void 0!==m?m:p.core:p;const h=a[u]?a[u](l):void 0;return void 0!==h?h:"typography.dropCap"===u||void 0},[t,e])}},v8Ku:function(e,t){},vIlp:function(e,t,n){"use strict";function o(e,t,n){const o="top"===n||"bottom"===n,{x:r,y:c}=e,l=o?r:c,i=o?c:r,a=o?t.left:t.top,s=o?t.right:t.bottom,u=t[n];let d;return d=l>=a&&l<=s?l:l2&&void 0!==arguments[2]?arguments[2]:["top","bottom","left","right"];return c.forEach(c=>{const l=o(e,t,c);(void 0===n||lt=>{if("declaration"===t.type){const c=function(e){const t=/url\((\s*)(['"]?)(.+?)\2(\s*)\)/g;let n;const o=[];for(;null!==(n=t.exec(e));){const e={source:n[0],before:n[1],quote:n[2],value:n[3],after:n[4]};v(e)&&o.push(e)}return o}(t.value).map((r=e,e=>({...e,newUrl:"url("+e.before+e.quote+j(e.value,r)+e.quote+e.after+")"})));return{...t,value:(n=t.value,o=c,o.forEach(e=>{n=n.replace(e.source,e.newUrl)}),n)}}var n,o,r;return t};const _=/^(body|html|:root).*$/;var y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n=>{const o=n=>t.includes(n.trim())?n:n.match(_)?n.replace(/^(body|html|:root)/,e):e+" "+n;return"rule"===n.type?{...n,selectors:n.selectors.map(o)}:n}};t.a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(o.map)(e,e=>{let{css:n,baseURL:o,__experimentalNoWrapper:c=!1}=e;const l=[];return t&&!c&&l.push(y(t)),o&&l.push(k(o)),l.length?O(n,Object(r.compose)(l)):n})}},vtO0:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return k}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("l3Sj"),a=n("tI+e"),s=n("Tqx9");var u=Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"}));var d=Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"})),b=n("EpZT");var p=Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"})),m=n("beZb"),f=n("XNw2"),h=n("K/rC");const g={none:{icon:u,title:Object(i.__)("None")},left:{icon:d,title:Object(i.__)("Align left")},center:{icon:b.a,title:Object(i.__)("Align center")},right:{icon:p,title:Object(i.__)("Align right")},wide:{icon:m.a,title:Object(i.__)("Wide width")},full:{icon:f.a,title:Object(i.__)("Full width")}},O={isAlternate:!0};var v=function(e){let{value:t,onChange:n,controls:c,isToolbar:s,isCollapsed:u=!0}=e;const d=Object(h.a)(c);if(!!!d.length)return null;function b(e){n([t,"none"].includes(e)?void 0:e)}const p=g[t],m=g.none,f=s?a.ToolbarGroup:a.ToolbarDropdownMenu,v={popoverProps:O,icon:p?p.icon:m.icon,label:Object(i.__)("Align"),toggleProps:{describedBy:Object(i.__)("Change alignment")}},j=s||r.Platform.isNative?{isCollapsed:s?u:void 0,controls:d.map(e=>{let{name:n}=e;return{...g[n],isActive:t===n||!t&&"none"===n,role:u?"menuitemradio":void 0,onClick:()=>b(n)}})}:{children:e=>{let{onClose:n}=e;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.MenuGroup,{className:"block-editor-block-alignment-control__menu-group"},d.map(e=>{let{name:o,info:c}=e;const{icon:i,title:s}=g[o],u=o===t||!t&&"none"===o;return Object(r.createElement)(a.MenuItem,{key:o,icon:i,iconPosition:"left",className:l()("components-dropdown-menu__menu-item",{"is-active":u}),isSelected:u,onClick:()=>{b(o),n()},role:"menuitemradio",info:c},s)})))}};return Object(r.createElement)(f,Object(o.a)({},v,j))};function j(e){return Object(r.createElement)(v,Object(o.a)({},e,{isToolbar:!1}))}function k(e){return Object(r.createElement)(v,Object(o.a)({},e,{isToolbar:!0}))}},w8sn:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return u}));var o=n("wx14"),r=n("GRId"),c=n("PPMp");const l={type:"default"},i=Object(r.createContext)(l),a=i.Provider;function s(){return Object(r.useContext)(i)}function u(e){let{layout:t={},...n}=e;const l=Object(c.a)(t.type);return l?Object(r.createElement)(l.save,Object(o.a)({layout:t},n)):null}},w95h:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=c},wC17:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("HSyU"),c=n("BhPs");function l(e){return Object(o.useSelect)(t=>{if(!e)return null;const{getBlockName:n,getBlockAttributes:o}=t(c.a),{getBlockType:l,getActiveBlockVariation:i}=t(r.store),a=n(e),s=l(a);if(!s)return null;const u=o(e),d=i(a,u),b={title:s.title,icon:s.icon,description:s.description,anchor:null==u?void 0:u.anchor};return d?{title:d.title||s.title,icon:d.icon||s.icon,description:d.description||s.description}:b},[e])}},wJiJ:function(e,t,n){e.exports=n("1K8p")},weEX:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("GRId"),r=n("l3Sj"),c=n("tI+e"),l=n("RxS6");function i(e){let{value:t,onChange:n}=e;const i=function(e){return void 0!==e&&""!==e}(t),a=i?t:"";return Object(o.createElement)("div",{className:"block-editor-line-height-control"},Object(o.createElement)(c.TextControl,{autoComplete:"off",onKeyDown:e=>{const{keyCode:t}=e;t!==l.ZERO||i||(e.preventDefault(),n("0"))},onChange:e=>{if(i)return void n(e);let t=e;switch(e){case"0.1":t=1.6;break;case"0":t=1.4}n(t)},label:Object(r.__)("Line height"),placeholder:1.5,step:.1,type:"number",value:a,min:0}))}},"wiT/":function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("GOly");t.a=function(e){let{children:t}=e;const n=Object(r.__unstableUseCompositeState)({shift:!0,wrap:"horizontal"});return Object(o.createElement)(c.a.Provider,{value:n},t)}},wx14:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t{var o;const{getBlock:r,getBlockIndex:c,hasBlockMovingClientId:l,getBlockListSettings:i}=e(j.a),a=c(t,n),{name:s,attributes:u}=r(t);return{index:a,name:s,attributes:u,blockMovingMode:l(),orientation:null===(o=i(n))||void 0===o?void 0:o.orientation}},[t,n]),{index:d,name:y,attributes:E,blockMovingMode:C,orientation:S}=u,{setNavigationMode:w,removeBlock:B}=Object(s.useDispatch)(j.a),I=Object(o.useRef)(),x=Object(i.getBlockType)(y),T=Object(i.__experimentalGetAccessibleBlockLabel)(x,E,d+1,S);Object(o.useEffect)(()=>{I.current.focus(),Object(h.speak)(T)},[T]);const{hasBlockMovingClientId:P,getBlockIndex:R,getBlockRootClientId:N,getClientIdsOfDescendants:L,getSelectedBlockClientId:M,getMultiSelectedBlocksEndClientId:A,getPreviousBlockClientId:D,getNextBlockClientId:F}=Object(s.useSelect)(j.a),{selectBlock:z,clearSelectedBlock:H,setBlockMovingClientId:V,moveBlockToPosition:G}=Object(s.useDispatch)(j.a),U=l()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!C}),W=Object(g.__)("Drag");return Object(o.createElement)("div",{className:U},Object(o.createElement)(a.Flex,{justify:"center",className:"block-editor-block-list__block-selection-button__content"},Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(v.a,{icon:null==c?void 0:c.icon,showColors:!0})),Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(k.a,{clientIds:[t]},e=>Object(o.createElement)(a.Button,Object(p.a)({icon:m.a,className:"block-selection-button_drag-handle","aria-hidden":"true",label:W,tabIndex:"-1"},e)))),Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(a.Button,{ref:I,onClick:()=>w(!1),onKeyDown:function(e){const{keyCode:n}=e,o=n===f.UP,c=n===f.DOWN,l=n===f.LEFT,i=n===f.RIGHT,a=n===f.TAB,s=n===f.ESCAPE,u=n===f.ENTER,d=n===f.SPACE,p=e.shiftKey;if(n===f.BACKSPACE||n===f.DELETE)return B(t),void e.preventDefault();const m=M(),h=A(),g=D(h||m),O=F(h||m),v=a&&p||o,j=a&&!p||c,k=l,_=i;let y;if(v)y=g;else if(j)y=O;else if(k){var E;y=null!==(E=N(m))&&void 0!==E?E:m}else if(_){var C;y=null!==(C=L([m])[0])&&void 0!==C?C:m}const S=P();if(s&&S&&!e.defaultPrevented&&(V(null),e.preventDefault()),(u||d)&&S){const e=N(S),t=N(m),n=R(S,e);let o=R(m,t);n{const{isBlockInsertionPointVisible:n,getBlockInsertionPoint:o,getBlockOrder:r}=e(j.a);if(!n())return!1;const c=o();return r(c.rootClientId)[c.index]===t},[t]),x=Object(d.useViewportMatch)("medium"),[T,P]=Object(o.useState)(!1),[R,N]=Object(o.useState)(!1),{stopTyping:L}=Object(s.useDispatch)(j.a),M=!g&&!f&&c&&r,A=f,D=!f&&!k&&x&&!M&&!h&&(!g||O),F=!(f||D||k||c);Object(u.useShortcut)("core/block-editor/focus-toolbar",()=>{P(!0),L(!0)},{isDisabled:!F}),Object(o.useEffect)(()=>{D||P(!1)},[D]);const z=Object(o.useRef)(),H=Object(S.a)(t),V=Object(S.a)(_),G=Object(S.a)(i),U=Object(w.a)(m);if(!(A||D||T||M))return null;let W=H;if(!W)return null;i&&(W=G);let q=W;if(v){if(!V)return null;q={top:W,bottom:V}}const K=M?"top left right":"top right left",{ownerDocument:$}=W,Y=M?void 0:$.defaultView.frameElement||Object(b.getScrollContainer)(W)||$.body;return Object(o.createElement)(a.Popover,{ref:U,noArrow:!0,animate:!1,position:K,focusOnMount:!1,anchorRef:q,className:l()("block-editor-block-list__block-popover",{"is-insertion-point-visible":I}),__unstableStickyBoundaryElement:Y,__unstableSlotName:p||null,__unstableBoundaryParent:!0,__unstableObserveElement:W,shouldAnchorIncludePadding:!0,__unstableEditorCanvasWrapper:null==m?void 0:m.current},(D||T)&&Object(o.createElement)("div",{onFocus:function(){N(!0)},onBlur:function(){N(!1)},tabIndex:-1,className:l()("block-editor-block-list__block-popover-inserter",{"is-visible":R})},Object(o.createElement)(C.a,{clientId:t,rootClientId:n,__experimentalIsQuick:!0})),(D||T)&&Object(o.createElement)(E.a,{focusOnMount:T,__experimentalInitialIndex:z.current,__experimentalOnIndexChange:e=>{z.current=e},key:t}),A&&Object(o.createElement)(y,{clientId:t,rootClientId:n,blockElement:W}),M&&Object(o.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(o.createElement)(C.a,{position:"bottom right",rootClientId:n,clientId:t,__experimentalIsQuick:!0})))}function x(e){const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getBlockRootClientId:o,getBlock:c,getBlockParents:l,__experimentalGetBlockListSettingsForBlocks:a}=e(j.a),s=t()||n();if(!s)return;const{name:u,attributes:d={},isValid:b}=c(s)||{},p=l(s),m=a(p),f=Object(r.find)(p,e=>{var t;return null===(t=m[e])||void 0===t?void 0:t.__experimentalCaptureToolbars});return{clientId:s,rootClientId:o(s),name:u,isValid:b,isEmptyDefaultBlock:u&&Object(i.isUnmodifiedDefaultBlock)({name:u,attributes:d}),capturingClientId:f}}function T(e){let{__unstablePopoverSlot:t,__unstableContentRef:n}=e;const r=Object(s.useSelect)(x,[]);if(!r)return null;const{clientId:c,rootClientId:l,name:i,isValid:a,isEmptyDefaultBlock:u,capturingClientId:d}=r;return i?Object(o.createElement)(I,{clientId:c,rootClientId:l,isValid:a,isEmptyDefaultBlock:u,capturingClientId:d,__unstablePopoverSlot:t,__unstableContentRef:n}):null}},"xN+R":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(o.createElement)(r.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));t.a=c},xTGt:function(e,t){e.exports=window.wp.blob},xZzQ:function(e,t,n){"use strict";var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),l=n("1ZqX");const i=[Object(o.createInterpolateElement)(Object(c.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(o.createElement)("kbd",null)}),Object(o.createInterpolateElement)(Object(c.__)("Indent a list by pressing space at the beginning of a line."),{kbd:Object(o.createElement)("kbd",null)}),Object(o.createInterpolateElement)(Object(c.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:Object(o.createElement)("kbd",null)}),Object(c.__)("Drag files into the editor to automatically insert media blocks."),Object(c.__)("Change a block's type by pressing the block icon on the toolbar.")];var a=function(){const[e]=Object(o.useState)(Math.floor(Math.random()*i.length));return Object(o.createElement)(r.Tip,null,i[e])},s=n("HSyU"),u=n("GvwK"),d=n("REKd");var b=function(e){var t,n;let{item:r}=e;const{name:l,title:i,icon:a,description:b,initialAttributes:p}=r,m=Object(s.getBlockType)(l),f=Object(s.isReusableBlock)(r);return Object(o.createElement)("div",{className:"block-editor-inserter__preview-container"},Object(o.createElement)("div",{className:"block-editor-inserter__preview"},f||null!=m&&m.example?Object(o.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(o.createElement)(d.a,{__experimentalPadding:16,viewportWidth:null!==(t=null===(n=m.example)||void 0===n?void 0:n.viewportWidth)&&void 0!==t?t:500,blocks:m.example?Object(s.getBlockFromExample)(r.name,{attributes:{...m.example.attributes,...p},innerBlocks:m.example.innerBlocks}):Object(s.createBlock)(l,p)})):Object(o.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(c.__)("No Preview Available."))),!f&&Object(o.createElement)(u.a,{title:i,icon:a,description:b}))},p=n("YLtl"),m=n("K9lf"),f=n("6ZVF"),h=n("mdLt"),g=n("+G0a"),O=n("wiT/");const v=[];var j=function(e){let{rootClientId:t,onInsert:n,onHover:r,showMostUsedBlocks:l}=e;const[i,a,s,u]=Object(g.a)(t,n),d=Object(o.useMemo)(()=>Object(p.orderBy)(i,["frecency"],["desc"]).slice(0,6),[i]),b=Object(o.useMemo)(()=>i.filter(e=>!e.category),[i]),j=Object(o.useMemo)(()=>Object(p.flow)(e=>e.filter(e=>e.category&&"reusable"!==e.category),e=>Object(p.groupBy)(e,"category"))(i),[i]),k=Object(o.useMemo)(()=>{const e={...s};return Object.keys(s).forEach(t=>{e[t]=i.filter(e=>(e=>e.name.split("/")[0])(e)===t),0===e[t].length&&delete e[t]}),e},[i,s]);Object(o.useEffect)(()=>()=>r(null),[]);const _=Object(m.useAsyncList)(a),y=a.length===_.length,E=Object(o.useMemo)(()=>Object.entries(s),[s]),C=Object(m.useAsyncList)(y?E:v);return Object(o.createElement)(O.a,null,Object(o.createElement)("div",null,l&&!!d.length&&Object(o.createElement)(h.a,{title:Object(c._x)("Most used","blocks")},Object(o.createElement)(f.a,{items:d,onSelect:u,onHover:r,label:Object(c._x)("Most used","blocks")})),Object(p.map)(_,e=>{const t=j[e.slug];return t&&t.length?Object(o.createElement)(h.a,{key:e.slug,title:e.title,icon:e.icon},Object(o.createElement)(f.a,{items:t,onSelect:u,onHover:r,label:e.title})):null}),y&&b.length>0&&Object(o.createElement)(h.a,{className:"block-editor-inserter__uncategorized-blocks-panel",title:Object(c.__)("Uncategorized")},Object(o.createElement)(f.a,{items:b,onSelect:u,onHover:r,label:Object(c.__)("Uncategorized")})),Object(p.map)(C,e=>{let[t,n]=e;const c=k[t];return c&&c.length?Object(o.createElement)(h.a,{key:t,title:n.title,icon:n.icon},Object(o.createElement)(f.a,{items:c,onSelect:u,onHover:r,label:n.title})):null})))},k=n("TSYQ"),_=n.n(k);var y=function(e){let{selectedCategory:t,patternCategories:n,onClickCategory:l,openPatternExplorer:i}=e;const a=Object(m.useViewportMatch)("medium","<"),s=_()("block-editor-inserter__panel-header","block-editor-inserter__panel-header-patterns");return Object(o.createElement)(r.Flex,{justify:"space-between",align:"start",gap:"4",className:s},Object(o.createElement)(r.FlexItem,{isBlock:!0},Object(o.createElement)(r.SelectControl,{className:"block-editor-inserter__panel-dropdown",label:Object(c.__)("Filter patterns"),hideLabelFromVision:!0,value:t.name,onChange:e=>{l(n.find(t=>e===t.name))},onBlur:e=>{null!=e&&e.relatedTarget||e.stopPropagation()},options:(()=>{const e=[];return n.map(t=>e.push({value:t.name,label:t.label})),e})()})),!a&&Object(o.createElement)(r.FlexItem,null,Object(o.createElement)(r.Button,{variant:"secondary",className:"block-editor-inserter__patterns-explorer-expand",label:Object(c.__)("Explore all patterns"),onClick:()=>i()},Object(c._x)("Explore","Label for showing all block patterns"))))},E=n("nQUx"),C=n("Fmc1");function S(e){let{selectedCategory:t,patternCategories:n,onClickCategory:c}=e;const l="block-editor-block-patterns-explorer__sidebar";return Object(o.createElement)("div",{className:l+"__categories-list"},n.map(e=>{let{name:n,label:i}=e;return Object(o.createElement)(r.Button,{key:n,label:i,className:l+"__categories-list__item",isPressed:t===n,onClick:()=>{c(n)}},i)}))}function w(e){let{filterValue:t,setFilterValue:n}=e;return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer__search"},Object(o.createElement)(r.SearchControl,{onChange:n,value:t,label:Object(c.__)("Search for patterns"),placeholder:Object(c.__)("Search")}))}var B=function(e){let{selectedCategory:t,patternCategories:n,onClickCategory:r,filterValue:c,setFilterValue:l}=e;return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer__sidebar"},Object(o.createElement)(w,{filterValue:c,setFilterValue:l}),!c&&Object(o.createElement)(S,{selectedCategory:t,patternCategories:n,onClickCategory:r}))},I=n("gdqT"),x=n("LolH"),T=n("AORF"),P=n("pOGT");function R(e){let{filterValue:t,filteredBlockPatternsLength:n}=e;return t?Object(o.createElement)(r.__experimentalHeading,{level:2,lineHeight:"48px",className:"block-editor-block-patterns-explorer__search-results-count"},Object(c.sprintf)(Object(c._n)('%1$d pattern found for "%2$s"','%1$d patterns found for "%2$s"',n),n,t)):null}var N=function(e){let{filterValue:t,selectedCategory:n,patternCategories:r}=e;const l=Object(m.useDebounce)(I.speak,500),[i,a]=Object(T.a)({shouldFocusBlock:!0}),[s,,u]=Object(E.a)(a,i),d=Object(o.useMemo)(()=>r.map(e=>e.name),[r]),b=Object(o.useMemo)(()=>t?Object(P.b)(s,t):s.filter(e=>{var t,o;return"uncategorized"===n?!(null!==(t=e.categories)&&void 0!==t&&t.length)||e.categories.every(e=>!d.includes(e)):null===(o=e.categories)||void 0===o?void 0:o.includes(n)}),[t,n,s]);Object(o.useEffect)(()=>{if(!t)return;const e=b.length,n=Object(c.sprintf)(Object(c._n)("%d result found.","%d results found.",e),e);l(n)},[t,l]);const p=Object(m.useAsyncList)(b,{step:2}),f=!(null==b||!b.length);return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer__list"},f&&Object(o.createElement)(R,{filterValue:t,filteredBlockPatternsLength:b.length}),Object(o.createElement)(O.a,null,!f&&Object(o.createElement)(x.a,null),f&&Object(o.createElement)(C.a,{shownPatterns:p,blockPatterns:b,onClickPattern:u,isDraggable:!1})))};function L(e){let{initialCategory:t,patternCategories:n}=e;const[r,c]=Object(o.useState)(""),[l,i]=Object(o.useState)(null==t?void 0:t.name);return Object(o.createElement)("div",{className:"block-editor-block-patterns-explorer"},Object(o.createElement)(B,{selectedCategory:l,patternCategories:n,onClickCategory:i,filterValue:r,setFilterValue:c}),Object(o.createElement)(N,{filterValue:r,selectedCategory:l,patternCategories:n}))}var M=function(e){let{onModalClose:t,...n}=e;return Object(o.createElement)(r.Modal,{title:Object(c.__)("Patterns"),closeLabel:Object(c.__)("Close"),onRequestClose:t,isFullScreen:!0},Object(o.createElement)(L,n))};function A(e){let{rootClientId:t,onInsert:n,selectedCategory:r,populatedCategories:c}=e;const[l,,i]=Object(E.a)(n,t),a=Object(o.useCallback)(e=>{var t;if(null===(t=e.categories)||void 0===t||!t.length)return 1/0;const n=c.reduce((e,t,n)=>{let{name:o}=t;return e[o]=n,e},{});return Math.min(...e.categories.map(e=>void 0!==n[e]?n[e]:1/0))},[c]),s=Object(o.useMemo)(()=>l.filter(e=>{var t;return"uncategorized"===r.name?a(e)===1/0:null===(t=e.categories)||void 0===t?void 0:t.includes(r.name)}),[l,r]),u=Object(o.useMemo)(()=>s.sort((e,t)=>a(e)-a(t)),[s,a]),d=Object(m.useAsyncList)(u);return s.length?Object(o.createElement)("div",{className:"block-editor-inserter__panel-content"},Object(o.createElement)(C.a,{shownPatterns:d,blockPatterns:s,onClickPattern:i,label:r.label,orientation:"vertical",isDraggable:!0})):null}var D=function(e){let{rootClientId:t,onInsert:n,onClickCategory:r,selectedCategory:l}=e;const[i,a]=Object(o.useState)(!1),[s,u]=Object(E.a)(),d=Object(o.useCallback)(e=>!(!e.categories||!e.categories.length)&&e.categories.some(e=>u.some(t=>t.name===e)),[u]),b=Object(o.useMemo)(()=>{const e=u.filter(e=>s.some(t=>{var n;return null===(n=t.categories)||void 0===n?void 0:n.includes(e.name)})).sort((e,t)=>{let{name:n}=e,{name:o}=t;return[n,o].includes("featured")?"featured"===n?-1:1:0});return s.some(e=>!d(e))&&!e.find(e=>"uncategorized"===e.name)&&e.push({name:"uncategorized",label:Object(c._x)("Uncategorized")}),e},[s,u]),p=l||b[0];return Object(o.createElement)(o.Fragment,null,!i&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y,{selectedCategory:p,patternCategories:b,onClickCategory:r,openPatternExplorer:()=>a(!0)}),Object(o.createElement)(A,{rootClientId:t,onInsert:n,selectedCategory:p,populatedCategories:b})),i&&Object(o.createElement)(M,{initialCategory:p,patternCategories:b,onModalClose:()=>a(!1)}))},F=n("Mmq9");function z(e){let{onHover:t,onInsert:n,rootClientId:r}=e;const[l,,,i]=Object(g.a)(r,n),a=Object(o.useMemo)(()=>l.filter(e=>{let{category:t}=e;return"reusable"===t}),[l]);return 0===a.length?Object(o.createElement)(x.a,null):Object(o.createElement)(h.a,{title:Object(c.__)("Reusable blocks")},Object(o.createElement)(f.a,{items:a,onSelect:i,onHover:t,label:Object(c.__)("Reusable blocks")}))}var H=function(e){let{rootClientId:t,onInsert:n,onHover:r}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(z,{onHover:r,onInsert:n,rootClientId:t}),Object(o.createElement)("div",{className:"block-editor-inserter__manage-reusable-blocks-container"},Object(o.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(F.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(c.__)("Manage Reusable blocks"))))},V=n("Wg7J");const G={name:"blocks",title:Object(c.__)("Blocks")},U={name:"patterns",title:Object(c.__)("Patterns")},W={name:"reusable",title:Object(c.__)("Reusable")};var q=function(e){let{children:t,showPatterns:n=!1,showReusableBlocks:c=!1,onSelect:l}=e;const i=Object(o.useMemo)(()=>{const e=[G];return n&&e.push(U),c&&e.push(W),e},[G,n,U,c,W]);return Object(o.createElement)(r.TabPanel,{className:"block-editor-inserter__tabs",tabs:i,onSelect:l},t)},K=n("BhPs");t.a=function(e){let{rootClientId:t,clientId:n,isAppender:i,__experimentalInsertionIndex:s,onSelect:u,showInserterHelpPanel:d,showMostUsedBlocks:p,__experimentalFilterValue:m="",shouldFocusBlock:f=!0}=e;const[h,g]=Object(o.useState)(m),[O,v]=Object(o.useState)(null),[k,_]=Object(o.useState)(null),[y,E,C]=Object(T.a)({rootClientId:t,clientId:n,isAppender:i,insertionIndex:s,shouldFocusBlock:f}),{showPatterns:S,hasReusableBlocks:w}=Object(l.useSelect)(e=>{var t;const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(K.a);return{showPatterns:!!n(y).length,hasReusableBlocks:!(null===(t=o().__experimentalReusableBlocks)||void 0===t||!t.length)}},[y]),B=Object(o.useCallback)((e,t,n)=>{E(e,t,n),u()},[E,u]),I=Object(o.useCallback)((e,t)=>{E(e,{patternName:t}),u()},[E,u]),x=Object(o.useCallback)(e=>{C(!!e),v(e)},[C,v]),P=Object(o.useCallback)(e=>{_(e)},[_]),R=Object(o.useMemo)(()=>Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-inserter__block-list"},Object(o.createElement)(j,{rootClientId:y,onInsert:B,onHover:x,showMostUsedBlocks:p})),d&&Object(o.createElement)("div",{className:"block-editor-inserter__tips"},Object(o.createElement)(r.VisuallyHidden,{as:"h2"},Object(c.__)("A tip for using the block editor")),Object(o.createElement)(a,null))),[y,B,x,h,p,d]),N=Object(o.useMemo)(()=>Object(o.createElement)(D,{rootClientId:y,onInsert:I,onClickCategory:P,selectedCategory:k}),[y,I,P,k]),L=Object(o.useMemo)(()=>Object(o.createElement)(H,{rootClientId:y,onInsert:B,onHover:x}),[y,B,x]),M=Object(o.useCallback)(e=>"blocks"===e.name?R:"patterns"===e.name?N:L,[R,N,L]);return Object(o.createElement)("div",{className:"block-editor-inserter__menu"},Object(o.createElement)("div",{className:"block-editor-inserter__main-area"},Object(o.createElement)("div",{className:"block-editor-inserter__content"},Object(o.createElement)(r.SearchControl,{className:"block-editor-inserter__search",onChange:e=>{O&&v(null),g(e)},value:h,label:Object(c.__)("Search for blocks and patterns"),placeholder:Object(c.__)("Search")}),!!h&&Object(o.createElement)(V.a,{filterValue:h,onSelect:u,onHover:x,rootClientId:t,clientId:n,isAppender:i,__experimentalInsertionIndex:s,showBlockDirectory:!0,shouldFocusBlock:f}),!h&&(S||w)&&Object(o.createElement)(q,{showPatterns:S,showReusableBlocks:w},M),!h&&!S&&!w&&R)),d&&O&&Object(o.createElement)(b,{item:O}))}},xkPd:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("l3Sj"),l=n("gdqT");t.a=Object(r.forwardRef)((function(e,t){const[n,i]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{n&&Object(l.speak)(Object(c.__)("Use left and right arrow keys to move through blocks"))},[n]),Object(r.createElement)("div",Object(o.a)({ref:t,role:"listbox","aria-orientation":"horizontal",onFocus:()=>{i(!0)},onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&i(!1)}},e))}))},yU1v:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("YLtl"),a=n("tI+e"),s=n("l3Sj"),u=n("hMaJ"),d=n("bVpQ"),b=n("Cn0l"),p=n("v5LD");const m=Object(s.__)("(%s: color %s)"),f=Object(s.__)("(%s: gradient %s)"),h=["colors","disableCustomColors","gradients","disableCustomGradients"],g=e=>{let{colors:t,gradients:n,settings:o}=e;return o.map((e,o)=>{let c,{colorValue:l,gradientValue:i,label:u,colors:p,gradients:h}=e;if(!l&&!i)return null;if(l){const e=Object(d.c)(p||t,l);c=Object(s.sprintf)(m,u.toLowerCase(),e&&e.name||l)}else{const e=Object(b.b)(h||n,l);c=Object(s.sprintf)(f,u.toLowerCase(),e&&e.name||i)}return Object(r.createElement)(a.ColorIndicator,{key:o,colorValue:l||i,"aria-label":c})})},O=e=>{let{className:t,colors:n,gradients:c,disableCustomColors:s,disableCustomGradients:d,children:b,settings:p,title:m,showTitle:f=!0,__experimentalHasMultipleOrigins:h,...O}=e;if(Object(i.isEmpty)(n)&&Object(i.isEmpty)(c)&&s&&d&&Object(i.every)(p,e=>Object(i.isEmpty)(e.colors)&&Object(i.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)))return null;const v=Object(r.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},m,Object(r.createElement)(g,{colors:n,gradients:c,settings:p}));return Object(r.createElement)(a.PanelBody,Object(o.a)({className:l()("block-editor-panel-color-gradient-settings",t),title:f?v:void 0},O),p.map((e,t)=>Object(r.createElement)(u.a,Object(o.a)({showTitle:f,key:t,colors:n,gradients:c,disableCustomColors:s,disableCustomGradients:d,__experimentalHasMultipleOrigins:h},e))),b)};function v(){return{disableCustomColors:!Object(p.a)("color.custom"),disableCustomGradients:!Object(p.a)("color.customGradient")}}const j=e=>{const t=v();return t.colors=Object(p.a)("color.palette"),t.gradients=Object(p.a)("color.gradients"),Object(r.createElement)(O,Object(o.a)({},t,e))},k=e=>{const t=v(),n=Object(p.a)("color.palette.user"),c=Object(p.a)("color.palette.theme"),l=Object(p.a)("color.palette.core");t.colors=Object(r.useMemo)(()=>{const e=[];return l&&l.length&&e.push({name:Object(s.__)("Core"),colors:l}),c&&c.length&&e.push({name:Object(s.__)("Theme"),colors:c}),n&&n.length&&e.push({name:Object(s.__)("User"),colors:n}),e},[l,c,n]);const i=Object(p.a)("color.gradients.user"),a=Object(p.a)("color.gradients.theme"),u=Object(p.a)("color.gradients.core");return t.gradients=Object(r.useMemo)(()=>{const e=[];return u&&u.length&&e.push({name:Object(s.__)("Core"),gradients:u}),a&&a.length&&e.push({name:Object(s.__)("Theme"),gradients:a}),i&&i.length&&e.push({name:Object(s.__)("User"),gradients:i}),e},[i,a,u]),Object(r.createElement)(O,Object(o.a)({},t,e))};t.a=e=>Object(i.every)(h,t=>e.hasOwnProperty(t))?Object(r.createElement)(O,e):e.__experimentalHasMultipleOrigins?Object(r.createElement)(k,e):Object(r.createElement)(j,e)},ywyh:function(e,t){e.exports=window.wp.apiFetch},"z+q2":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("YLtl"),r=n("GRId"),c=n("1CF3"),l=n("1ZqX"),i=n("OL6h"),a=n("BhPs");function s(e){const t=Object(r.useRef)(),n=function(e){return Object(l.useSelect)(t=>{const{getSelectedBlocksInitialCaretPosition:n,isMultiSelecting:o,isNavigationMode:r,isBlockSelected:c}=t(a.a);if(c(e)&&!o()&&!r())return n()},[e])}(e);return Object(r.useEffect)(()=>{if(null==n)return;if(!t.current)return;const{ownerDocument:e}=t.current;if(t.current.contains(e.activeElement))return;const r=c.focus.tabbable.find(t.current).filter(e=>Object(c.isTextField)(e)),l=-1===n,a=(l?o.last:o.first)(r)||t.current;Object(i.c)(t.current,a)?Object(c.placeCaretAtHorizontalEdge)(a,l):t.current.focus()},[n]),t}},zQI6:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("1ZqX"),l=n("K9lf"),i=n("BhPs");function a(){const{hasSelectedBlock:e,hasMultiSelection:t}=Object(c.useSelect)(i.a),{clearSelectedBlock:n}=Object(c.useDispatch)(i.a);return Object(l.useRefEffect)(o=>{function r(r){(e()||t())&&r.target===o&&n()}return o.addEventListener("mousedown",r),()=>{o.removeEventListener("mousedown",r)}},[e,t,n])}function s(e){return Object(r.createElement)("div",Object(o.a)({ref:a()},e))}},ziDm:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=c},zmSX:function(e,t,n){"use strict";var o=n("Cn0l");n.d(t,"a",(function(){return o.a})),n.d(t,"b",(function(){return o.b})),n.d(t,"c",(function(){return o.c})),n.d(t,"d",(function(){return o.d})),n.d(t,"e",(function(){return o.e}))},zt9T:function(e,t,n){"use strict";var o=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,c=n.onlyScrollIfNeeded,l=n.alignWithTop,i=n.alignWithLeft,a=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var b=o.isWindow(t),p=o.offset(e),m=o.outerHeight(e),f=o.outerWidth(e),h=void 0,g=void 0,O=void 0,v=void 0,j=void 0,k=void 0,_=void 0,y=void 0,E=void 0,C=void 0;b?(_=t,C=o.height(_),E=o.width(_),y={left:o.scrollLeft(_),top:o.scrollTop(_)},j={left:p.left-y.left-s,top:p.top-y.top-a},k={left:p.left+f-(y.left+E)+d,top:p.top+m-(y.top+C)+u},v=y):(h=o.offset(t),g=t.clientHeight,O=t.clientWidth,v={left:t.scrollLeft,top:t.scrollTop},j={left:p.left-(h.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-s,top:p.top-(h.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},k={left:p.left+f-(h.left+O+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:p.top+m-(h.top+g+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),j.top<0||k.top>0?!0===l?o.scrollTop(t,v.top+j.top):!1===l?o.scrollTop(t,v.top+k.top):j.top<0?o.scrollTop(t,v.top+j.top):o.scrollTop(t,v.top+k.top):c||((l=void 0===l||!!l)?o.scrollTop(t,v.top+j.top):o.scrollTop(t,v.top+k.top)),r&&(j.left<0||k.left>0?!0===i?o.scrollLeft(t,v.left+j.left):!1===i?o.scrollLeft(t,v.left+k.left):j.left<0?o.scrollLeft(t,v.left+j.left):o.scrollLeft(t,v.left+k.left):c||((i=void 0===i||!!i)?o.scrollLeft(t,v.left+j.left):o.scrollLeft(t,v.left+k.left)))}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-library.js b/wp-includes/js/dist/block-library.js index 93eb437d8f..56425acab9 100644 --- a/wp-includes/js/dist/block-library.js +++ b/wp-includes/js/dist/block-library.js @@ -1658,10 +1658,11 @@ var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(ex -function ArchivesEdit({ - attributes, - setAttributes -}) { +function ArchivesEdit(_ref) { + let { + attributes, + setAttributes + } = _ref; const { showPostCounts, displayAsDropdown @@ -1790,9 +1791,10 @@ const audio = Object(external_wp_element_["createElement"])(external_wp_primitiv align: true }, - save({ - attributes - }) { + save(_ref) { + let { + attributes + } = _ref; const { autoplay, caption, @@ -1938,9 +1940,12 @@ const { const getEmbedInfoByProvider = provider => { var _getBlockVariations; - return (_getBlockVariations = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations === void 0 ? void 0 : _getBlockVariations.find(({ - name - }) => name === provider); + return (_getBlockVariations = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations === void 0 ? void 0 : _getBlockVariations.find(_ref => { + let { + name + } = _ref; + return name === provider; + }); }; /** * Returns true if any of the regular expressions match the URL. @@ -1950,7 +1955,10 @@ const getEmbedInfoByProvider = provider => { * @return {boolean} True if any of the regular expressions match the URL. */ -const matchesPatterns = (url, patterns = []) => patterns.some(pattern => url.match(pattern)); +const matchesPatterns = function (url) { + let patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + return patterns.some(pattern => url.match(pattern)); +}; /** * Finds the block variation that should be used for the URL, * based on the provided URL and the variation's patterns. @@ -1962,9 +1970,12 @@ const matchesPatterns = (url, patterns = []) => patterns.some(pattern => url.mat const findMoreSuitableBlock = url => { var _getBlockVariations2; - return (_getBlockVariations2 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations2 === void 0 ? void 0 : _getBlockVariations2.find(({ - patterns - }) => matchesPatterns(url, patterns)); + return (_getBlockVariations2 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations2 === void 0 ? void 0 : _getBlockVariations2.find(_ref2 => { + let { + patterns + } = _ref2; + return matchesPatterns(url, patterns); + }); }; const isFromWordPress = html => html && html.includes('class="wp-embedded-content"'); const getPhotoHtml = photo => { @@ -1993,9 +2004,10 @@ const getPhotoHtml = photo => { * @return {Object|undefined} A more suitable embed block if one exists. */ -const createUpgradedEmbedBlock = (props, attributesFromPreview = {}) => { +const createUpgradedEmbedBlock = function (props) { var _getBlockVariations3; + let attributesFromPreview = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; const { preview, attributes = {} @@ -2023,9 +2035,12 @@ const createUpgradedEmbedBlock = (props, attributesFromPreview = {}) => { }); } - const wpVariation = (_getBlockVariations3 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations3 === void 0 ? void 0 : _getBlockVariations3.find(({ - name - }) => name === 'wordpress'); // We can't match the URL for WordPress embeds, we have to check the HTML instead. + const wpVariation = (_getBlockVariations3 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations3 === void 0 ? void 0 : _getBlockVariations3.find(_ref3 => { + let { + name + } = _ref3; + return name === 'wordpress'; + }); // We can't match the URL for WordPress embeds, we have to check the HTML instead. if (!wpVariation || !preview || !isFromWordPress(preview.html) || isCurrentBlockWP) { return; @@ -2061,9 +2076,10 @@ const removeAspectRatioClasses = existingClassNames => { return existingClassNames; } - const aspectRatioClassNames = ASPECT_RATIOS.reduce((accumulator, { - className - }) => { + const aspectRatioClassNames = ASPECT_RATIOS.reduce((accumulator, _ref4) => { + let { + className + } = _ref4; accumulator[className] = false; return accumulator; }, { @@ -2080,7 +2096,9 @@ const removeAspectRatioClasses = existingClassNames => { * @return {string} Deduped class names. */ -function getClassNames(html, existingClassNames, allowResponsive = true) { +function getClassNames(html, existingClassNames) { + let allowResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + if (!allowResponsive) { return removeAspectRatioClasses(existingClassNames); } @@ -2140,7 +2158,9 @@ function util_fallback(url, onReplace) { * @return {Object} Attributes and values. */ -const getAttributesFromPreview = memize_default()((preview, title, currentClassNames, isResponsive, allowResponsive = true) => { +const getAttributesFromPreview = memize_default()(function (preview, title, currentClassNames, isResponsive) { + let allowResponsive = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true; + if (!preview) { return {}; } @@ -2192,15 +2212,16 @@ const getAttributesFromPreview = memize_default()((preview, title, currentClassN const ALLOWED_MEDIA_TYPES = ['audio']; -function AudioEdit({ - attributes, - noticeOperations, - setAttributes, - onReplace, - isSelected, - noticeUI, - insertBlocksAfter -}) { +function AudioEdit(_ref) { + let { + attributes, + noticeOperations, + setAttributes, + onReplace, + isSelected, + noticeUI, + insertBlocksAfter + } = _ref; const { id, autoplay, @@ -2223,10 +2244,11 @@ function AudioEdit({ if (file) { mediaUpload({ filesList: [file], - onFileChange: ([{ - id: mediaId, - url - }]) => { + onFileChange: _ref2 => { + let [{ + id: mediaId, + url + }] = _ref2; setAttributes({ id: mediaId, src: url @@ -2388,9 +2410,10 @@ function AudioEdit({ * WordPress dependencies */ -function save({ - attributes -}) { +function save(_ref) { + let { + attributes + } = _ref; const { autoplay, caption, @@ -2441,46 +2464,50 @@ const transforms_transforms = { attributes: { src: { type: 'string', - shortcode: ({ - named: { - src, - mp3, - m4a, - ogg, - wav, - wma - } - }) => { + shortcode: _ref => { + let { + named: { + src, + mp3, + m4a, + ogg, + wav, + wma + } + } = _ref; return src || mp3 || m4a || ogg || wav || wma; } }, loop: { type: 'string', - shortcode: ({ - named: { - loop - } - }) => { + shortcode: _ref2 => { + let { + named: { + loop + } + } = _ref2; return loop; } }, autoplay: { type: 'string', - shortcode: ({ - named: { - autoplay - } - }) => { + shortcode: _ref3 => { + let { + named: { + autoplay + } + } = _ref3; return autoplay; } }, preload: { type: 'string', - shortcode: ({ - named: { - preload - } - }) => { + shortcode: _ref4 => { + let { + named: { + preload + } + } = _ref4; return preload; } } @@ -2812,12 +2839,13 @@ const v10 = { __experimentalSelector: '.wp-block-button__link' }, - save({ - attributes, - className - }) { + save(_ref) { var _style$border, _style$typography; + let { + attributes, + className + } = _ref; const { fontSize, linkTarget, @@ -2868,11 +2896,12 @@ const v10 = { migrate: migrate_font_family, - isEligible({ - style - }) { + isEligible(_ref2) { var _style$typography2; + let { + style + } = _ref2; return style === null || style === void 0 ? void 0 : (_style$typography2 = style.typography) === null || _style$typography2 === void 0 ? void 0 : _style$typography2.fontFamily; } @@ -2923,20 +2952,22 @@ const deprecated_deprecated = [v10, { } }, - isEligible({ - style - }) { + isEligible(_ref3) { var _style$border2; + let { + style + } = _ref3; return typeof (style === null || style === void 0 ? void 0 : (_style$border2 = style.border) === null || _style$border2 === void 0 ? void 0 : _style$border2.radius) === 'number'; }, - save({ - attributes, - className - }) { + save(_ref4) { var _style$border3, _style$border4, _style$typography3; + let { + attributes, + className + } = _ref4; const { fontSize, linkTarget, @@ -3030,10 +3061,11 @@ const deprecated_deprecated = [v10, { } }, - save({ - attributes, - className - }) { + save(_ref5) { + let { + attributes, + className + } = _ref5; const { borderRadius, linkTarget, @@ -3119,10 +3151,11 @@ const deprecated_deprecated = [v10, { } }, - save({ - attributes, - className - }) { + save(_ref6) { + let { + attributes, + className + } = _ref6; const { borderRadius, linkTarget, @@ -3202,9 +3235,10 @@ const deprecated_deprecated = [v10, { } }, - save({ - attributes - }) { + save(_ref7) { + let { + attributes + } = _ref7; const { borderRadius, linkTarget, @@ -3278,9 +3312,10 @@ const deprecated_deprecated = [v10, { isEligible: attributes => !!attributes.customTextColor || !!attributes.customBackgroundColor || !!attributes.customGradient, migrate: Object(external_wp_compose_["compose"])(migrateBorderRadius, migrateCustomColorsAndGradients), - save({ - attributes - }) { + save(_ref8) { + let { + attributes + } = _ref8; const { backgroundColor, borderRadius, @@ -3381,9 +3416,10 @@ const deprecated_deprecated = [v10, { })); }, - save({ - attributes - }) { + save(_ref9) { + let { + attributes + } = _ref9; const { backgroundColor, customBackgroundColor, @@ -3440,9 +3476,10 @@ const deprecated_deprecated = [v10, { }, migrate: oldColorsMigration, - save({ - attributes - }) { + save(_ref10) { + let { + attributes + } = _ref10; const { url, text, @@ -3488,9 +3525,10 @@ const deprecated_deprecated = [v10, { } }, - save({ - attributes - }) { + save(_ref11) { + let { + attributes + } = _ref11; const { url, text, @@ -3531,9 +3569,10 @@ const deprecated_deprecated = [v10, { } }, - save({ - attributes - }) { + save(_ref12) { + let { + attributes + } = _ref12; const { url, text, @@ -3595,10 +3634,12 @@ var link_off = __webpack_require__("Mp0b"); const NEW_TAB_REL = 'noreferrer noopener'; -function WidthPanel({ - selectedWidth, - setAttributes -}) { +function WidthPanel(_ref) { + let { + selectedWidth, + setAttributes + } = _ref; + function handleChange(newWidth) { // Check if we are toggling the width off const width = selectedWidth === newWidth ? undefined : newWidth; // Update attributes @@ -3772,10 +3813,11 @@ function ButtonEdit(props) { url, opensInNewTab }, - onChange: ({ - url: newURL = '', - opensInNewTab: newOpensInNewTab - }) => { + onChange: _ref2 => { + let { + url: newURL = '', + opensInNewTab: newOpensInNewTab + } = _ref2; setAttributes({ url: newURL }); @@ -3817,12 +3859,13 @@ function ButtonEdit(props) { */ -function save_save({ - attributes, - className -}) { +function save_save(_ref) { var _style$border, _style$typography; + let { + attributes, + className + } = _ref; const { fontSize, linkTarget, @@ -3994,11 +4037,14 @@ const button_settings = { edit: button_edit, save: save_save, deprecated: button_deprecated, - merge: (a, { - text = '' - }) => ({ ...a, - text: (a.text || '') + text - }) + merge: (a, _ref) => { + let { + text = '' + } = _ref; + return { ...a, + text: (a.text || '') + text + }; + } }; // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/buttons.js @@ -4082,18 +4128,22 @@ const buttons_deprecated_deprecated = [{ } } }, - isEligible: ({ - contentJustification, - orientation - }) => !!contentJustification || !!orientation, - migrate: migrateWithLayout, - - save({ - attributes: { + isEligible: _ref => { + let { contentJustification, orientation - } - }) { + } = _ref; + return !!contentJustification || !!orientation; + }, + migrate: migrateWithLayout, + + save(_ref2) { + let { + attributes: { + contentJustification, + orientation + } + } = _ref2; return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({ className: classnames_default()({ [`is-content-justification-${contentJustification}`]: contentJustification, @@ -4112,9 +4162,10 @@ const buttons_deprecated_deprecated = [{ return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)); }, - isEligible({ - align - }) { + isEligible(_ref3) { + let { + align + } = _ref3; return align && ['center', 'left', 'right'].includes(align); }, @@ -4234,11 +4285,12 @@ const buttons_transforms_transforms = { const ALLOWED_BLOCKS = [button_name]; -function ButtonsEdit({ - attributes: { - layout = {} - } -}) { +function ButtonsEdit(_ref) { + let { + attributes: { + layout = {} + } + } = _ref; const blockProps = Object(external_wp_blockEditor_["useBlockProps"])(); const preferredStyle = Object(external_wp_data_["useSelect"])(select => { var _preferredStyleVariat; @@ -4393,9 +4445,10 @@ const getYearMonth = memize_default()(date => { month: momentDate.month() + 1 }; }); -function CalendarEdit({ - attributes -}) { +function CalendarEdit(_ref) { + let { + attributes + } = _ref; const blockProps = Object(external_wp_blockEditor_["useBlockProps"])(); const { date, @@ -4543,15 +4596,16 @@ const pin = Object(external_wp_element_["createElement"])(external_wp_primitives -function CategoriesEdit({ - attributes: { - displayAsDropdown, - showHierarchy, - showPostCounts, - showOnlyTopLevel - }, - setAttributes -}) { +function CategoriesEdit(_ref) { + let { + attributes: { + displayAsDropdown, + showHierarchy, + showPostCounts, + showOnlyTopLevel + }, + setAttributes + } = _ref; const selectId = Object(external_wp_compose_["useInstanceId"])(CategoriesEdit, 'blocks-category-select'); const { categories, @@ -4586,9 +4640,12 @@ function CategoriesEdit({ return categories; } - return categories.filter(({ - parent - }) => parent === parentId); + return categories.filter(_ref2 => { + let { + parent + } = _ref2; + return parent === parentId; + }); }; const getCategoryListClassName = level => { @@ -4757,9 +4814,10 @@ const classic = Object(external_wp_element_["createElement"])(external_wp_primit -const ConvertToBlocksButton = ({ - clientId -}) => { +const ConvertToBlocksButton = _ref => { + let { + clientId + } = _ref; const { replaceBlocks } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]); @@ -4820,14 +4878,15 @@ function isTmceEmpty(editor) { return /^\n?$/.test(body.innerText || body.textContent); } -function ClassicEdit({ - clientId, - attributes: { - content - }, - setAttributes, - onReplace -}) { +function ClassicEdit(_ref) { + let { + clientId, + attributes: { + content + }, + setAttributes, + onReplace + } = _ref; const { getMultiSelectedBlockClientIds } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]); @@ -5021,9 +5080,10 @@ function ClassicEdit({ * WordPress dependencies */ -function freeform_save_save({ - attributes -}) { +function freeform_save_save(_ref) { + let { + attributes + } = _ref; const { content } = attributes; @@ -5082,11 +5142,12 @@ var code = __webpack_require__("1Yn1"); */ -function CodeEdit({ - attributes, - setAttributes, - onRemove -}) { +function CodeEdit(_ref) { + let { + attributes, + setAttributes, + onRemove + } = _ref; const blockProps = Object(external_wp_blockEditor_["useBlockProps"])(); return Object(external_wp_element_["createElement"])("pre", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], { tagName: "code", @@ -5166,9 +5227,10 @@ function escapeProtocolInIsolatedUrls(content) { */ -function code_save_save({ - attributes -}) { +function code_save_save(_ref) { + let { + attributes + } = _ref; return Object(external_wp_element_["createElement"])("pre", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, { tagName: "code", value: utils_escape(attributes.content) @@ -5188,9 +5250,10 @@ const code_transforms_transforms = { }, { type: 'block', blocks: ['core/html'], - transform: ({ - content - }) => { + transform: _ref => { + let { + content + } = _ref; return Object(external_wp_blocks_["createBlock"])('core/code', { content }); @@ -5331,9 +5394,10 @@ const column_deprecated_deprecated = [{ } }, - isEligible({ - width - }) { + isEligible(_ref) { + let { + width + } = _ref; return isFinite(width); }, @@ -5343,9 +5407,10 @@ const column_deprecated_deprecated = [{ }; }, - save({ - attributes - }) { + save(_ref2) { + let { + attributes + } = _ref2; const { verticalAlignment, width @@ -5381,16 +5446,17 @@ const column_deprecated_deprecated = [{ -function ColumnEdit({ - attributes: { - verticalAlignment, - width, - templateLock = false, - allowedBlocks - }, - setAttributes, - clientId -}) { +function ColumnEdit(_ref) { + let { + attributes: { + verticalAlignment, + width, + templateLock = false, + allowedBlocks + }, + setAttributes, + clientId + } = _ref; const classes = classnames_default()('block-core-columns', { [`is-vertically-aligned-${verticalAlignment}`]: verticalAlignment }); @@ -5481,9 +5547,10 @@ function ColumnEdit({ */ -function column_save_save({ - attributes -}) { +function column_save_save(_ref) { + let { + attributes + } = _ref; const { verticalAlignment, width @@ -5680,9 +5747,10 @@ const migrateCustomColors = attributes => { }, migrate: migrateCustomColors, - save({ - attributes - }) { + save(_ref) { + let { + attributes + } = _ref; const { verticalAlignment, backgroundColor, @@ -5757,9 +5825,10 @@ const migrateCustomColors = attributes => { }, migratedInnerBlocks]; }, - save({ - attributes - }) { + save(_ref2) { + let { + attributes + } = _ref2; const { columns } = attributes; @@ -5783,9 +5852,10 @@ const migrateCustomColors = attributes => { return [attributes, innerBlocks]; }, - save({ - attributes - }) { + save(_ref3) { + let { + attributes + } = _ref3; const { verticalAlignment, columns @@ -5844,7 +5914,8 @@ function getEffectiveColumnWidth(block, totalBlockCount) { * @return {number} Total width occupied by blocks. */ -function getTotalColumnsWidth(blocks, totalBlockCount = blocks.length) { +function getTotalColumnsWidth(blocks) { + let totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length; return Object(external_lodash_["sumBy"])(blocks, block => getEffectiveColumnWidth(block, totalBlockCount)); } /** @@ -5857,7 +5928,8 @@ function getTotalColumnsWidth(blocks, totalBlockCount = blocks.length) { * @return {Object} Column widths. */ -function getColumnWidths(blocks, totalBlockCount = blocks.length) { +function getColumnWidths(blocks) { + let totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length; return blocks.reduce((accumulator, block) => { const width = getEffectiveColumnWidth(block, totalBlockCount); return Object.assign(accumulator, { @@ -5878,7 +5950,8 @@ function getColumnWidths(blocks, totalBlockCount = blocks.length) { * @return {Object} Redistributed column widths. */ -function getRedistributedColumnWidths(blocks, availableWidth, totalBlockCount = blocks.length) { +function getRedistributedColumnWidths(blocks, availableWidth) { + let totalBlockCount = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : blocks.length; const totalWidth = getTotalColumnsWidth(blocks, totalBlockCount); return Object(external_lodash_["mapValues"])(getColumnWidths(blocks, totalBlockCount), width => { const newWidth = availableWidth * width / totalWidth; @@ -5928,7 +6001,8 @@ function getMappedColumnWidths(blocks, widths) { * @return {Array} Column widths. */ -function getWidths(blocks, withParsing = true) { +function getWidths(blocks) { + let withParsing = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; return blocks.map(innerColumn => { const innerColumnWidth = innerColumn.attributes.width || 100 / blocks.length; return withParsing ? parseFloat(innerColumnWidth) : innerColumnWidth; @@ -5998,13 +6072,14 @@ function isPercentageUnit(unit) { const edit_ALLOWED_BLOCKS = ['core/column']; -function ColumnsEditContainer({ - attributes, - setAttributes, - updateAlignment, - updateColumns, - clientId -}) { +function ColumnsEditContainer(_ref) { + let { + attributes, + setAttributes, + updateAlignment, + updateColumns, + clientId + } = _ref; const { isStackedOnMobile, verticalAlignment @@ -6135,11 +6210,12 @@ const ColumnsEditContainerWrapper = Object(external_wp_data_["withDispatch"])((d }))(ColumnsEditContainer); -function Placeholder({ - clientId, - name, - setAttributes -}) { +function Placeholder(_ref2) { + let { + clientId, + name, + setAttributes + } = _ref2; const { blockType, defaultVariation, @@ -6164,7 +6240,9 @@ function Placeholder({ icon: Object(external_lodash_["get"])(blockType, ['icon', 'src']), label: Object(external_lodash_["get"])(blockType, ['title']), variations: variations, - onSelect: (nextVariation = defaultVariation) => { + onSelect: function () { + let nextVariation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultVariation; + if (nextVariation.attributes) { setAttributes(nextVariation.attributes); } @@ -6200,9 +6278,10 @@ const ColumnsEdit = props => { */ -function columns_save_save({ - attributes -}) { +function columns_save_save(_ref) { + let { + attributes + } = _ref; const { isStackedOnMobile, verticalAlignment @@ -6359,19 +6438,25 @@ const columns_transforms_transforms = { blocks: ['*'], __experimentalConvert: blocks => { const columnWidth = +(100 / blocks.length).toFixed(2); - const innerBlocksTemplate = blocks.map(({ - name, - attributes, - innerBlocks - }) => ['core/column', { - width: `${columnWidth}%` - }, [[name, { ...attributes - }, innerBlocks]]]); + const innerBlocksTemplate = blocks.map(_ref => { + let { + name, + attributes, + innerBlocks + } = _ref; + return ['core/column', { + width: `${columnWidth}%` + }, [[name, { ...attributes + }, innerBlocks]]]; + }); return Object(external_wp_blocks_["createBlock"])('core/columns', {}, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(innerBlocksTemplate)); }, - isMatch: ({ - length: selectedBlocksLength - }) => selectedBlocksLength && selectedBlocksLength <= MAXIMUM_SELECTED_BLOCKS + isMatch: _ref2 => { + let { + length: selectedBlocksLength + } = _ref2; + return selectedBlocksLength && selectedBlocksLength <= MAXIMUM_SELECTED_BLOCKS; + } }, { type: 'block', blocks: ['core/media-text'], @@ -6775,9 +6860,10 @@ const v7 = { } }, - save({ - attributes - }) { + save(_ref) { + let { + attributes + } = _ref; const { backgroundType, gradient, @@ -6881,9 +6967,10 @@ const v6 = { align: true }, - save({ - attributes - }) { + save(_ref2) { + let { + attributes + } = _ref2; const { backgroundType, gradient, @@ -6980,9 +7067,10 @@ const v5 = { align: true }, - save({ - attributes - }) { + save(_ref3) { + let { + attributes + } = _ref3; const { backgroundType, gradient, @@ -7058,9 +7146,10 @@ const v4 = { align: true }, - save({ - attributes - }) { + save(_ref4) { + let { + attributes + } = _ref4; const { backgroundType, gradient, @@ -7136,9 +7225,10 @@ const v3 = { align: true }, - save({ - attributes - }) { + save(_ref5) { + let { + attributes + } = _ref5; const { backgroundType, contentAlign, @@ -7214,9 +7304,10 @@ const v2 = { className: false }, - save({ - attributes - }) { + save(_ref6) { + let { + attributes + } = _ref6; const { url, title, @@ -7281,9 +7372,10 @@ const v1 = { className: false }, - save({ - attributes - }) { + save(_ref7) { + let { + attributes + } = _ref7; const { url, title, @@ -7379,12 +7471,13 @@ function retrieveFastAverageColor() { return retrieveFastAverageColor.fastAverageColor; } -function CoverHeightInput({ - onChange, - onUnitChange, - unit = 'px', - value = '' -}) { +function CoverHeightInput(_ref) { + let { + onChange, + onUnitChange, + unit = 'px', + value = '' + } = _ref; const [temporaryInput, setTemporaryInput] = Object(external_wp_element_["useState"])(null); const instanceId = Object(external_wp_compose_["useInstanceId"])(external_wp_blockEditor_["__experimentalUnitControl"]); const inputId = `block-cover-height-input-${instanceId}`; @@ -7454,13 +7547,14 @@ const RESIZABLE_BOX_ENABLE_OPTION = { topLeft: false }; -function ResizableCover({ - className, - onResizeStart, - onResize, - onResizeStop, - ...props -}) { +function ResizableCover(_ref2) { + let { + className, + onResizeStart, + onResize, + onResizeStop, + ...props + } = _ref2; const [isResizing, setIsResizing] = Object(external_wp_element_["useState"])(false); return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({ className: classnames_default()(className, { @@ -7500,7 +7594,10 @@ function ResizableCover({ */ -function useCoverIsDark(url, dimRatio = 50, overlayColor, elementRef) { +function useCoverIsDark(url) { + let dimRatio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50; + let overlayColor = arguments.length > 2 ? arguments[2] : undefined; + let elementRef = arguments.length > 3 ? arguments[3] : undefined; const [isDark, setIsDark] = Object(external_wp_element_["useState"])(false); Object(external_wp_element_["useEffect"])(() => { // If opacity is lower than 50 the dominant color is the image or video color, @@ -7533,10 +7630,11 @@ function useCoverIsDark(url, dimRatio = 50, overlayColor, elementRef) { return isDark; } -function edit_mediaPosition({ - x, - y -}) { +function edit_mediaPosition(_ref3) { + let { + x, + y + } = _ref3; return `${Math.round(x * 100)}% ${Math.round(y * 100)}%`; } /** @@ -7552,14 +7650,15 @@ function edit_mediaPosition({ const edit_isTemporaryMedia = (id, url) => !id && Object(external_wp_blob_["isBlobURL"])(url); -function CoverPlaceholder({ - disableMediaButtons = false, - children, - noticeUI, - noticeOperations, - onSelectMedia, - style -}) { +function CoverPlaceholder(_ref4) { + let { + disableMediaButtons = false, + children, + noticeUI, + noticeOperations, + onSelectMedia, + style + } = _ref4; const { removeAllNotices, createErrorNotice @@ -7585,19 +7684,20 @@ function CoverPlaceholder({ }, children); } -function CoverEdit({ - attributes, - clientId, - isSelected, - noticeUI, - noticeOperations, - overlayColor, - setAttributes, - setOverlayColor, - toggleSelection -}) { +function CoverEdit(_ref5) { var _useSetting, _styleAttribute$spaci, _styleAttribute$visua; + let { + attributes, + clientId, + isSelected, + noticeUI, + noticeOperations, + overlayColor, + setAttributes, + setOverlayColor, + toggleSelection + } = _ref5; const { contentPosition, id, @@ -7959,9 +8059,10 @@ function CoverEdit({ */ -function cover_save_save({ - attributes -}) { +function cover_save_save(_ref) { + let { + attributes + } = _ref; const { backgroundType, gradient, @@ -8054,17 +8155,18 @@ const cover_transforms_transforms = { from: [{ type: 'block', blocks: ['core/image'], - transform: ({ - caption, - url, - alt, - align, - id, - anchor, - style - }) => { + transform: _ref => { var _style$color; + let { + caption, + url, + alt, + align, + id, + anchor, + style + } = _ref; return Object(external_wp_blocks_["createBlock"])('core/cover', { url, alt, @@ -8084,32 +8186,37 @@ const cover_transforms_transforms = { }, { type: 'block', blocks: ['core/video'], - transform: ({ - caption, - src, - align, - id, - anchor - }) => Object(external_wp_blocks_["createBlock"])('core/cover', { - url: src, - align, - id, - backgroundType: VIDEO_BACKGROUND_TYPE, - anchor - }, [Object(external_wp_blocks_["createBlock"])('core/paragraph', { - content: caption, - fontSize: 'large' - })]) + transform: _ref2 => { + let { + caption, + src, + align, + id, + anchor + } = _ref2; + return Object(external_wp_blocks_["createBlock"])('core/cover', { + url: src, + align, + id, + backgroundType: VIDEO_BACKGROUND_TYPE, + anchor + }, [Object(external_wp_blocks_["createBlock"])('core/paragraph', { + content: caption, + fontSize: 'large' + })]); + } }, { type: 'block', blocks: ['core/group'], - isMatch: ({ - backgroundColor, - gradient, - style - }) => { + isMatch: _ref3 => { var _style$color2, _style$color3; + let { + backgroundColor, + gradient, + style + } = _ref3; + /* * Make this transformation available only if the Group has background * or gradient set, because otherwise `Cover` block displays a Placeholder. @@ -8119,15 +8226,16 @@ const cover_transforms_transforms = { */ return backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.background) || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.gradient) || gradient; }, - transform: ({ - align, - anchor, - backgroundColor, - gradient, - style - }, innerBlocks) => { + transform: (_ref4, innerBlocks) => { var _style$color4, _style$color5; + let { + align, + anchor, + backgroundColor, + gradient, + style + } = _ref4; return Object(external_wp_blocks_["createBlock"])('core/cover', { align, anchor, @@ -8141,14 +8249,16 @@ const cover_transforms_transforms = { to: [{ type: 'block', blocks: ['core/image'], - isMatch: ({ - backgroundType, - url, - overlayColor, - customOverlayColor, - gradient, - customGradient - }) => { + isMatch: _ref5 => { + let { + backgroundType, + url, + overlayColor, + customOverlayColor, + gradient, + customGradient + } = _ref5; + if (url) { // If a url exists the transform could happen if that URL represents an image background. return backgroundType === IMAGE_BACKGROUND_TYPE; @@ -8157,17 +8267,18 @@ const cover_transforms_transforms = { return !overlayColor && !customOverlayColor && !gradient && !customGradient; }, - transform: ({ - title, - url, - alt, - align, - id, - anchor, - style - }) => { + transform: _ref6 => { var _style$color6; + let { + title, + url, + alt, + align, + id, + anchor, + style + } = _ref6; return Object(external_wp_blocks_["createBlock"])('core/image', { caption: title, url, @@ -8185,14 +8296,16 @@ const cover_transforms_transforms = { }, { type: 'block', blocks: ['core/video'], - isMatch: ({ - backgroundType, - url, - overlayColor, - customOverlayColor, - gradient, - customGradient - }) => { + isMatch: _ref7 => { + let { + backgroundType, + url, + overlayColor, + customOverlayColor, + gradient, + customGradient + } = _ref7; + if (url) { // If a url exists the transform could happen if that URL represents a video background. return backgroundType === VIDEO_BACKGROUND_TYPE; @@ -8201,19 +8314,22 @@ const cover_transforms_transforms = { return !overlayColor && !customOverlayColor && !gradient && !customGradient; }, - transform: ({ - title, - url, - align, - id, - anchor - }) => Object(external_wp_blocks_["createBlock"])('core/video', { - caption: title, - src: url, - id, - align, - anchor - }) + transform: _ref8 => { + let { + title, + url, + align, + id, + anchor + } = _ref8; + return Object(external_wp_blocks_["createBlock"])('core/video', { + caption: title, + src: url, + id, + align, + anchor + }); + } }] }; /* harmony default export */ var cover_transforms = (cover_transforms_transforms); @@ -8369,27 +8485,30 @@ function getResponsiveHelp(checked) { return checked ? Object(external_wp_i18n_["__"])('This embed will preserve its aspect ratio when the browser is resized.') : Object(external_wp_i18n_["__"])('This embed may not preserve its aspect ratio when the browser is resized.'); } -const EmbedControls = ({ - blockSupportsResponsive, - showEditButton, - themeSupportsResponsive, - allowResponsive, - toggleResponsive, - switchBackToURLInput -}) => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { - className: "components-toolbar__control", - label: Object(external_wp_i18n_["__"])('Edit URL'), - icon: library_edit["a" /* default */], - onClick: switchBackToURLInput -}))), themeSupportsResponsive && blockSupportsResponsive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], { - title: Object(external_wp_i18n_["__"])('Media settings'), - className: "blocks-responsive" -}, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], { - label: Object(external_wp_i18n_["__"])('Resize for smaller devices'), - checked: allowResponsive, - help: getResponsiveHelp, - onChange: toggleResponsive -})))); +const EmbedControls = _ref => { + let { + blockSupportsResponsive, + showEditButton, + themeSupportsResponsive, + allowResponsive, + toggleResponsive, + switchBackToURLInput + } = _ref; + return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], { + className: "components-toolbar__control", + label: Object(external_wp_i18n_["__"])('Edit URL'), + icon: library_edit["a" /* default */], + onClick: switchBackToURLInput + }))), themeSupportsResponsive && blockSupportsResponsive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], { + title: Object(external_wp_i18n_["__"])('Media settings'), + className: "blocks-responsive" + }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], { + label: Object(external_wp_i18n_["__"])('Resize for smaller devices'), + checked: allowResponsive, + help: getResponsiveHelp, + onChange: toggleResponsive + })))); +}; /* harmony default export */ var embed_controls = (EmbedControls); @@ -8572,16 +8691,17 @@ const EmbedLoading = () => Object(external_wp_element_["createElement"])("div", -const EmbedPlaceholder = ({ - icon, - label, - value, - onSubmit, - onChange, - cannotEmbed, - fallback, - tryAgain -}) => { +const EmbedPlaceholder = _ref => { + let { + icon, + label, + value, + onSubmit, + onChange, + cannotEmbed, + fallback, + tryAgain + } = _ref; return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], { icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], { icon: icon, @@ -8638,19 +8758,21 @@ const attributeMap = { marginheight: 'marginHeight', marginwidth: 'marginWidth' }; -function WpEmbedPreview({ - html -}) { +function WpEmbedPreview(_ref) { + let { + html + } = _ref; const ref = Object(external_wp_element_["useRef"])(); const props = Object(external_wp_element_["useMemo"])(() => { const doc = new window.DOMParser().parseFromString(html, 'text/html'); const iframe = doc.querySelector('iframe'); const iframeProps = {}; if (!iframe) return iframeProps; - Array.from(iframe.attributes).forEach(({ - name, - value - }) => { + Array.from(iframe.attributes).forEach(_ref2 => { + let { + name, + value + } = _ref2; if (name === 'style') return; iframeProps[attributeMap[name] || name] = value; }); @@ -8679,13 +8801,15 @@ function WpEmbedPreview({ * @param {MessageEvent} event Message event. */ - function resizeWPembeds({ - data: { - secret, - message, - value - } = {} - }) { + function resizeWPembeds(_ref3) { + let { + data: { + secret, + message, + value + } = {} + } = _ref3; + if (message !== 'height' || secret !== props['data-secret']) { return; } @@ -9093,9 +9217,10 @@ const EmbedEdit = props => { */ -function embed_save_save({ - attributes -}) { +function embed_save_save(_ref) { + let { + attributes + } = _ref; const { url, caption, @@ -9198,13 +9323,17 @@ const embed_transforms_transforms = { to: [{ type: 'block', blocks: ['core/paragraph'], - isMatch: ({ - url - }) => !!url, - transform: ({ - url, - caption - }) => { + isMatch: _ref => { + let { + url + } = _ref; + return !!url; + }, + transform: _ref2 => { + let { + url, + caption + } = _ref2; let value = `${url}`; if (caption !== null && caption !== void 0 && caption.trim()) { @@ -9667,14 +9796,16 @@ const { const embed_deprecated_deprecated = [{ attributes: embed_deprecated_blockAttributes, - save({ - attributes: { - url, - caption, - type, - providerNameSlug - } - }) { + save(_ref) { + let { + attributes: { + url, + caption, + type, + providerNameSlug + } + } = _ref; + if (!url) { return null; } @@ -9831,9 +9962,10 @@ const file_deprecated_deprecated = [{ align: true }, - save({ - attributes - }) { + save(_ref) { + let { + attributes + } = _ref; const { href, fileName, @@ -9891,18 +10023,19 @@ var external_wp_notices_ = __webpack_require__("onLe"); */ -function FileBlockInspector({ - hrefs, - openInNewWindow, - showDownloadButton, - changeLinkDestinationOption, - changeOpenInNewWindow, - changeShowDownloadButton, - displayPreview, - changeDisplayPreview, - previewHeight, - changePreviewHeight -}) { +function FileBlockInspector(_ref) { + let { + hrefs, + openInNewWindow, + showDownloadButton, + changeLinkDestinationOption, + changeOpenInNewWindow, + changeShowDownloadButton, + displayPreview, + changeDisplayPreview, + previewHeight, + changePreviewHeight + } = _ref; const { href, textLinkHref, @@ -10050,10 +10183,11 @@ const hidePdfEmbedsOnUnsupportedBrowsers = () => { const MIN_PREVIEW_HEIGHT = 200; const MAX_PREVIEW_HEIGHT = 2000; -function ClipboardToolbarButton({ - text, - disabled -}) { +function ClipboardToolbarButton(_ref) { + let { + text, + disabled + } = _ref; const { createNotice } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]); @@ -10070,14 +10204,15 @@ function ClipboardToolbarButton({ }, Object(external_wp_i18n_["__"])('Copy URL')); } -function FileEdit({ - attributes, - isSelected, - setAttributes, - noticeUI, - noticeOperations, - clientId -}) { +function FileEdit(_ref2) { + let { + attributes, + isSelected, + setAttributes, + noticeUI, + noticeOperations, + clientId + } = _ref2; const { id, fileName, @@ -10106,7 +10241,10 @@ function FileEdit({ const file = Object(external_wp_blob_["getBlobByURL"])(href); mediaUpload({ filesList: [file], - onFileChange: ([newMedia]) => onSelectFile(newMedia), + onFileChange: _ref3 => { + let [newMedia] = _ref3; + return onSelectFile(newMedia); + }, onError: message => { setHasError(true); noticeOperations.createErrorNotice(message); @@ -10309,9 +10447,10 @@ function FileEdit({ */ -function file_save_save({ - attributes -}) { +function file_save_save(_ref) { + let { + attributes + } = _ref; const { href, fileId, @@ -10433,9 +10572,11 @@ const file_transforms_transforms = { to: [{ type: 'block', blocks: ['core/audio'], - isMatch: ({ - id - }) => { + isMatch: _ref => { + let { + id + } = _ref; + if (!id) { return false; } @@ -10457,9 +10598,11 @@ const file_transforms_transforms = { }, { type: 'block', blocks: ['core/video'], - isMatch: ({ - id - }) => { + isMatch: _ref2 => { + let { + id + } = _ref2; + if (!id) { return false; } @@ -10481,9 +10624,11 @@ const file_transforms_transforms = { }, { type: 'block', blocks: ['core/image'], - isMatch: ({ - id - }) => { + isMatch: _ref3 => { + let { + id + } = _ref3; + if (!id) { return false; } @@ -10722,9 +10867,10 @@ const gallery_deprecated_deprecated = [{ align: true }, - isEligible({ - linkTo - }) { + isEligible(_ref) { + let { + linkTo + } = _ref; return !linkTo || linkTo === 'attachment' || linkTo === 'media'; }, @@ -10744,9 +10890,10 @@ const gallery_deprecated_deprecated = [{ }; }, - save({ - attributes - }) { + save(_ref2) { + let { + attributes + } = _ref2; const { images, columns = defaultColumnsNumberV1(attributes), @@ -10862,9 +11009,10 @@ const gallery_deprecated_deprecated = [{ align: true }, - isEligible({ - ids - }) { + isEligible(_ref3) { + let { + ids + } = _ref3; return ids && ids.some(id => typeof id === 'string'); }, @@ -10877,9 +11025,10 @@ const gallery_deprecated_deprecated = [{ }; }, - save({ - attributes - }) { + save(_ref4) { + let { + attributes + } = _ref4; const { images, columns = defaultColumnsNumberV1(attributes), @@ -10990,9 +11139,10 @@ const gallery_deprecated_deprecated = [{ align: true }, - save({ - attributes - }) { + save(_ref5) { + let { + attributes + } = _ref5; const { images, columns = defaultColumnsNumberV1(attributes), @@ -11083,10 +11233,11 @@ const gallery_deprecated_deprecated = [{ } }, - isEligible({ - images, - ids - }) { + isEligible(_ref6) { + let { + images, + ids + } = _ref6; return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || Object(external_lodash_["some"])(images, (id, index) => { if (!id && ids[index] !== null) { return true; @@ -11098,9 +11249,11 @@ const gallery_deprecated_deprecated = [{ migrate(attributes) { return { ...attributes, - ids: Object(external_lodash_["map"])(attributes.images, ({ - id - }) => { + ids: Object(external_lodash_["map"])(attributes.images, _ref7 => { + let { + id + } = _ref7; + if (!id) { return null; } @@ -11114,9 +11267,10 @@ const gallery_deprecated_deprecated = [{ align: true }, - save({ - attributes - }) { + save(_ref8) { + let { + attributes + } = _ref8; const { images, columns = defaultColumnsNumberV1(attributes), @@ -11200,9 +11354,10 @@ const gallery_deprecated_deprecated = [{ align: true }, - save({ - attributes - }) { + save(_ref9) { + let { + attributes + } = _ref9; const { images, columns = defaultColumnsNumberV1(attributes), @@ -11269,7 +11424,8 @@ const sharedIcon = Object(external_wp_element_["createElement"])(external_wp_blo function defaultColumnsNumber(imageCount) { return imageCount ? Math.min(3, imageCount) : 3; } -const pickRelevantMediaFiles = (image, sizeSlug = 'large') => { +const pickRelevantMediaFiles = function (image) { + let sizeSlug = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large'; const imageProps = Object(external_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']); imageProps.url = Object(external_lodash_["get"])(image, ['sizes', sizeSlug, 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url; const fullUrl = Object(external_lodash_["get"])(image, ['sizes', 'full', 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', 'full', 'source_url']); @@ -11381,9 +11537,10 @@ function removeNewTabRel(currentRel) { * @return {Object} Updated link target settings. */ -function getUpdatedLinkTargetSettings(value, { - rel -}) { +function getUpdatedLinkTargetSettings(value, _ref) { + let { + rel + } = _ref; const linkTarget = value ? '_blank' : undefined; let updatedRel; @@ -11512,17 +11669,19 @@ const Gallery = props => { })); }; -function RichTextVisibilityHelper({ - isHidden, - captionFocused, - onFocusCaption, - className, - value, - placeholder, - tagName, - captionRef, - ...richTextProps -}) { +function RichTextVisibilityHelper(_ref) { + let { + isHidden, + captionFocused, + onFocusCaption, + className, + value, + placeholder, + tagName, + captionRef, + ...richTextProps + } = _ref; + if (isHidden) { return Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], Object(esm_extends["a" /* default */])({ as: external_wp_blockEditor_["RichText"] @@ -11595,15 +11754,21 @@ function useImageSizes(images, isSelected, getSettings) { }, {}); } - return imageSizes.filter(({ - slug - }) => Object(external_lodash_["some"])(resizedImages, sizes => sizes[slug])).map(({ - name, - slug - }) => ({ - value: slug, - label: name - })); + return imageSizes.filter(_ref => { + let { + slug + } = _ref; + return Object(external_lodash_["some"])(resizedImages, sizes => sizes[slug]); + }).map(_ref2 => { + let { + name, + slug + } = _ref2; + return { + value: slug, + label: name + }; + }); } } @@ -12202,7 +12367,8 @@ function GalleryEdit(props) { * External dependencies */ -const shared_pickRelevantMediaFiles = (image, sizeSlug = 'large') => { +const shared_pickRelevantMediaFiles = function (image) { + let sizeSlug = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large'; const imageProps = Object(external_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']); imageProps.url = Object(external_lodash_["get"])(image, ['sizes', sizeSlug, 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url; const fullUrl = Object(external_lodash_["get"])(image, ['sizes', 'full', 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', 'full', 'source_url']); @@ -12607,10 +12773,11 @@ const gallery_Gallery = props => { })); }; -function gallery_RichTextVisibilityHelper({ - isHidden, - ...richTextProps -}) { +function gallery_RichTextVisibilityHelper(_ref) { + let { + isHidden, + ...richTextProps + } = _ref; return isHidden ? Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], Object(esm_extends["a" /* default */])({ as: external_wp_blockEditor_["RichText"] }, richTextProps)) : Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], richTextProps); @@ -12634,52 +12801,56 @@ function gallery_RichTextVisibilityHelper({ */ -const updateGallery = ({ - clientId, - getBlock, - replaceBlocks -}) => () => { - let link; - const { - attributes: { - sizeSlug, - linkTo, - images, - caption +const updateGallery = _ref => { + let { + clientId, + getBlock, + replaceBlocks + } = _ref; + return () => { + let link; + const { + attributes: { + sizeSlug, + linkTo, + images, + caption + } + } = getBlock(clientId); + + switch (linkTo) { + case 'post': + link = v1_constants_LINK_DESTINATION_ATTACHMENT; + break; + + case 'file': + link = v1_constants_LINK_DESTINATION_MEDIA; + break; + + default: + link = v1_constants_LINK_DESTINATION_NONE; + break; } - } = getBlock(clientId); - switch (linkTo) { - case 'post': - link = v1_constants_LINK_DESTINATION_ATTACHMENT; - break; - - case 'file': - link = v1_constants_LINK_DESTINATION_MEDIA; - break; - - default: - link = v1_constants_LINK_DESTINATION_NONE; - break; - } - - const innerBlocks = images.map(image => Object(external_wp_blocks_["createBlock"])('core/image', { - id: parseInt(image.id, 10), - url: image.url, - alt: image.alt, - caption: image.caption, - linkDestination: link - })); - replaceBlocks(clientId, Object(external_wp_blocks_["createBlock"])('core/gallery', { - sizeSlug, - linkTo: link, - caption - }, innerBlocks)); + const innerBlocks = images.map(image => Object(external_wp_blocks_["createBlock"])('core/image', { + id: parseInt(image.id, 10), + url: image.url, + alt: image.alt, + caption: image.caption, + linkDestination: link + })); + replaceBlocks(clientId, Object(external_wp_blocks_["createBlock"])('core/gallery', { + sizeSlug, + linkTo: link, + caption + }, innerBlocks)); + }; }; -function UpdateGalleryModal({ - onClose, - clientId -}) { +function UpdateGalleryModal(_ref2) { + let { + onClose, + clientId + } = _ref2; const { getBlock } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]); @@ -12841,9 +13012,12 @@ function edit_GalleryEdit(props) { newAttrs = { ...newAttrs, // Unlike images[ n ].id which is a string, always ensure the // ids array contains numbers as per its attribute type. - ids: Object(external_lodash_["map"])(newAttrs.images, ({ - id - }) => parseInt(id, 10)) + ids: Object(external_lodash_["map"])(newAttrs.images, _ref => { + let { + id + } = _ref; + return parseInt(id, 10); + }) }; } @@ -12987,15 +13161,21 @@ function edit_GalleryEdit(props) { } function getImagesSizeOptions() { - return Object(external_lodash_["map"])(Object(external_lodash_["filter"])(imageSizes, ({ - slug - }) => Object(external_lodash_["some"])(resizedImages, sizes => sizes[slug])), ({ - name, - slug - }) => ({ - value: slug, - label: name - })); + return Object(external_lodash_["map"])(Object(external_lodash_["filter"])(imageSizes, _ref2 => { + let { + slug + } = _ref2; + return Object(external_lodash_["some"])(resizedImages, sizes => sizes[slug]); + }), _ref3 => { + let { + name, + slug + } = _ref3; + return { + value: slug, + label: name + }; + }); } function updateImagesSize(newSizeSlug) { @@ -13018,15 +13198,24 @@ function edit_GalleryEdit(props) { } Object(external_wp_element_["useEffect"])(() => { - if (external_wp_element_["Platform"].OS === 'web' && images && images.length > 0 && Object(external_lodash_["every"])(images, ({ - url - }) => Object(external_wp_blob_["isBlobURL"])(url))) { - const filesList = Object(external_lodash_["map"])(images, ({ + if (external_wp_element_["Platform"].OS === 'web' && images && images.length > 0 && Object(external_lodash_["every"])(images, _ref4 => { + let { url - }) => Object(external_wp_blob_["getBlobByURL"])(url)); - Object(external_lodash_["forEach"])(images, ({ - url - }) => Object(external_wp_blob_["revokeBlobURL"])(url)); + } = _ref4; + return Object(external_wp_blob_["isBlobURL"])(url); + })) { + const filesList = Object(external_lodash_["map"])(images, _ref5 => { + let { + url + } = _ref5; + return Object(external_wp_blob_["getBlobByURL"])(url); + }); + Object(external_lodash_["forEach"])(images, _ref6 => { + let { + url + } = _ref6; + return Object(external_wp_blob_["revokeBlobURL"])(url); + }); mediaUpload({ filesList, onFileChange: onSelectImages, @@ -13207,9 +13396,10 @@ function GalleryEditWrapper(props) { -function saveV1({ - attributes -}) { +function saveV1(_ref) { + let { + attributes + } = _ref; const { images, columns = defaultColumnsNumberV1(attributes), @@ -13277,11 +13467,13 @@ function saveV1({ */ -function saveWithInnerBlocks({ - attributes -}) { +function saveWithInnerBlocks(_ref) { var _attributes$ids, _attributes$images; + let { + attributes + } = _ref; + if ((attributes === null || attributes === void 0 ? void 0 : (_attributes$ids = attributes.ids) === null || _attributes$ids === void 0 ? void 0 : _attributes$ids.length) > 0 || (attributes === null || attributes === void 0 ? void 0 : (_attributes$images = attributes.images) === null || _attributes$images === void 0 ? void 0 : _attributes$images.length) > 0) { return saveV1({ attributes @@ -13363,11 +13555,12 @@ function updateThirdPartyTransformToGallery(block) { const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (settings.__unstableGalleryWithImageBlocks && block.name === 'core/gallery' && ((_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.images.length) > 0) { - const innerBlocks = block.attributes.images.map(({ - url, - id, - alt - }) => { + const innerBlocks = block.attributes.images.map(_ref => { + let { + url, + id, + alt + } = _ref; return Object(external_wp_blocks_["createBlock"])('core/image', { url, id: id ? parseInt(id, 10) : null, @@ -13410,20 +13603,26 @@ function updateThirdPartyTransformFromGallery(toBlock, fromBlocks) { }); if (galleryBlock) { - const images = galleryBlock.innerBlocks.map(({ - attributes: { + const images = galleryBlock.innerBlocks.map(_ref2 => { + let { + attributes: { + url, + id, + alt + } + } = _ref2; + return { url, - id, + id: id ? parseInt(id, 10) : null, alt - } - }) => ({ - url, - id: id ? parseInt(id, 10) : null, - alt - })); - const ids = images.map(({ - id - }) => id); + }; + }); + const ids = images.map(_ref3 => { + let { + id + } = _ref3; + return id; + }); galleryBlock.attributes.images = images; galleryBlock.attributes.ids = ids; } @@ -13446,9 +13645,12 @@ const gallery_transforms_transforms = { align = Object(external_lodash_["every"])(attributes, ['align', align]) ? align : undefined; sizeSlug = Object(external_lodash_["every"])(attributes, ['sizeSlug', sizeSlug]) ? sizeSlug : undefined; - const validImages = Object(external_lodash_["filter"])(attributes, ({ - url - }) => url); + const validImages = Object(external_lodash_["filter"])(attributes, _ref4 => { + let { + url + } = _ref4; + return url; + }); const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (settings.__unstableGalleryWithImageBlocks) { @@ -13462,20 +13664,26 @@ const gallery_transforms_transforms = { } return Object(external_wp_blocks_["createBlock"])('core/gallery', { - images: validImages.map(({ - id, - url, - alt, - caption - }) => ({ - id: Object(external_lodash_["toString"])(id), - url, - alt, - caption - })), - ids: validImages.map(({ - id - }) => parseInt(id, 10)), + images: validImages.map(_ref5 => { + let { + id, + url, + alt, + caption + } = _ref5; + return { + id: Object(external_lodash_["toString"])(id), + url, + alt, + caption + }; + }), + ids: validImages.map(_ref6 => { + let { + id + } = _ref6; + return parseInt(id, 10); + }), align, sizeSlug }); @@ -13486,11 +13694,12 @@ const gallery_transforms_transforms = { attributes: { images: { type: 'array', - shortcode: ({ - named: { - ids - } - }) => { + shortcode: _ref7 => { + let { + named: { + ids + } + } = _ref7; const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (!settings.__unstableGalleryWithImageBlocks) { @@ -13502,11 +13711,12 @@ const gallery_transforms_transforms = { }, ids: { type: 'array', - shortcode: ({ - named: { - ids - } - }) => { + shortcode: _ref8 => { + let { + named: { + ids + } + } = _ref8; const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (!settings.__unstableGalleryWithImageBlocks) { @@ -13516,11 +13726,12 @@ const gallery_transforms_transforms = { }, shortCodeTransforms: { type: 'array', - shortcode: ({ - named: { - ids - } - }) => { + shortcode: _ref9 => { + let { + named: { + ids + } + } = _ref9; const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (settings.__unstableGalleryWithImageBlocks) { @@ -13532,21 +13743,23 @@ const gallery_transforms_transforms = { }, columns: { type: 'number', - shortcode: ({ - named: { - columns = '3' - } - }) => { + shortcode: _ref10 => { + let { + named: { + columns = '3' + } + } = _ref10; return parseInt(columns, 10); } }, linkTo: { type: 'string', - shortcode: ({ - named: { - link - } - }) => { + shortcode: _ref11 => { + let { + named: { + link + } + } = _ref11; const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (!settings.__unstableGalleryWithImageBlocks) { @@ -13576,9 +13789,10 @@ const gallery_transforms_transforms = { } }, - isMatch({ - named - }) { + isMatch(_ref12) { + let { + named + } = _ref12; return undefined !== named.ids; } @@ -13617,32 +13831,36 @@ const gallery_transforms_transforms = { to: [{ type: 'block', blocks: ['core/image'], - transform: ({ - align, - images, - ids, - sizeSlug - }, innerBlocks) => { + transform: (_ref13, innerBlocks) => { + let { + align, + images, + ids, + sizeSlug + } = _ref13; const settings = Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(); if (settings.__unstableGalleryWithImageBlocks) { if (innerBlocks.length > 0) { - return innerBlocks.map(({ - attributes: { + return innerBlocks.map(_ref14 => { + let { + attributes: { + id, + url, + alt, + caption, + imageSizeSlug + } + } = _ref14; + return Object(external_wp_blocks_["createBlock"])('core/image', { id, url, alt, caption, - imageSizeSlug - } - }) => Object(external_wp_blocks_["createBlock"])('core/image', { - id, - url, - alt, - caption, - sizeSlug: imageSizeSlug, - align - })); + sizeSlug: imageSizeSlug, + align + }); + }); } return Object(external_wp_blocks_["createBlock"])('core/image', { @@ -13651,18 +13869,21 @@ const gallery_transforms_transforms = { } if (images.length > 0) { - return images.map(({ - url, - alt, - caption - }, index) => Object(external_wp_blocks_["createBlock"])('core/image', { - id: ids[index], - url, - alt, - caption, - align, - sizeSlug - })); + return images.map((_ref15, index) => { + let { + url, + alt, + caption + } = _ref15; + return Object(external_wp_blocks_["createBlock"])('core/image', { + id: ids[index], + url, + alt, + caption, + align, + sizeSlug + }); + }); } return Object(external_wp_blocks_["createBlock"])('core/image', { @@ -13897,9 +14118,10 @@ const group_deprecated_deprecated = [// Version of the block with the double div } }, - save({ - attributes - }) { + save(_ref) { + let { + attributes + } = _ref; const { tagName: Tag } = attributes; @@ -13931,9 +14153,10 @@ const group_deprecated_deprecated = [// Version of the block with the double div }, migrate: migrateAttributes, - save({ - attributes - }) { + save(_ref2) { + let { + attributes + } = _ref2; const { backgroundColor, customBackgroundColor, @@ -13981,9 +14204,10 @@ const group_deprecated_deprecated = [// Version of the block with the double div html: false }, - save({ - attributes - }) { + save(_ref3) { + let { + attributes + } = _ref3; const { backgroundColor, customBackgroundColor, @@ -14025,9 +14249,10 @@ const group_deprecated_deprecated = [// Version of the block with the double div }, migrate: migrateAttributes, - save({ - attributes - }) { + save(_ref4) { + let { + attributes + } = _ref4; const { backgroundColor, customBackgroundColor @@ -14067,11 +14292,12 @@ const htmlElementMessages = { footer: Object(external_wp_i18n_["__"])('The